Under Source Code Management
you can set the Branches to build
field to your desired branch.
Jenkins Build when a particular git branch changes
-
23-03-2022 - |
Frage
I am using the git plugin for jenkins. It works well, except that it rebuilds my targets any time ANY of the branches are changed on the given project. What I need it to do is rebuild ONLY IF a particular branch has been changed. Is there a way to do this? Right now I am using git hooks and the notifyCommit option with the plugin. Thanks
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow