Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
2.0.11
-
None
-
None
Description
For activating a profile it would be nice, in addition or as a seperate feature to MNG-3328, to match a property not against a specific value but against a regex. In our case, we need to set some properties for some hudson builds. Not only is that setup fragile against job name changes, but also doesn't scale for multiple jobs. IMHO adding a regex matcher would be a nice feature for multiple purposes.
Old:
<activation> <property> <name>env.JOB_NAME</name> <value>xyz-abc-foo/label=robotframework,maven.browser-profile=firefox,maven.env-profile=dev</value> </property> </activation>
New:
<activation> <property> <name>env.JOB_NAME</name> <regex>xyz-abc-foo/.*</regex> </property> </activation>