-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins ver. 1.617
Gerrit Trigger 2.14.0
Job DSL 1.37
I am trying to set gerrit trigger branches to be
"path" type, with "**" value.
Using code below i get branches of
"plain" type, with "path:*" as value
And that seems like bug, since online documentation provides this usage example:
project('reg_exp:myProject', ['ant:feature-branch', 'plain:origin/refs/mybranch'])
here is my code:
triggers {
gerrit {
events {
patchsetCreated()
draftPublished()
}
project(current_project_name, ['path:**'])
}
}
Attached are 2 files: actual capture, and the desired view, file names are self explanatory.