regex - Branch specified by RE cannot work in Gerrit Trigger plugin of Jenkins -


in order monitor changes uploaded gerrit in jenkins, used gerrit trigger plugin accomplish it. , setting project , branch information, can monitor specific branch within specific project.

however, have unusual demand. example:
1. project has 3 branch named master, dev/feature-one , dev/feature-two.
2. now, need monitor changes these branches except dev/feature-two.

so used regexp type specify branch pattern value ^(?!(dev/feature-two)).* filter out dev/feature-two branch, however, didn't work , gerrit trigger plugin can capture changes under 3 branches.

if used value ".*" monitor these branches testing of regexp, works time.

confused regexp checking of gerrit trigger plugin, , doubt if there no support lookahead regular expression.

if familiar gerrit trigger plugin, offer me help.
thank advance.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -