简体   繁体   中英

Regex for 'rec-01-' to select jobs in Jenkins view

I am setting up a Jenkins view and want to use Regex to automatically select matched jobs. The jobs to be selected all have a prefix like 'rec-01-', 'rec-24-', 'rec-98-', etc. The only difference is the two digits.

I tried with this regex ^(rec-[0-9]+-) and many similar ones but no luck.

Jenkins 尝试将正则表达式与作业名称进行完全匹配,因此以下内容应该有效:

rec-[0-9]+-.*

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM