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
Post a Comment