Issue Type: Improvement Improvement
Affects Versions: current
Assignee: Daniel Petisme
Components: role-strategy
Created: 19/Nov/12 10:50 AM
Description:

Sometimes we need to define several unrelated projects to a team, each project having several jobs.

One solution is to duplicate the groups which we want to avoid, and the other is to have a single group with a slightly more complex regexp.

Another solution could be multiple patterns:

^build_my_first_project_.*
^test_my_first_project_.*
^build_the_second_one_.*
^test_the_second_one_.*

Instead of:

^(build|test)_(my_first_project_|the_second_one_).*

Not everyone in the team is comfortable with (even simple) regular expressions, so we could trade a bit of duplication for readability.

I stole the idea from this plugin:
https://wiki.jenkins-ci.org/display/JENKINS/Build+Blocker+Plugin#BuildBlockerPlugin-Howtouse

Environment: jenkins 1.466.1
role-strategy 1.1.2
Project: Jenkins
Labels: role multiple pattern
Priority: Major Major
Reporter: Dridi Boukelmoune
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to