質問

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

役に立ちましたか?

解決

Under Source Code Management you can set the Branches to build field to your desired branch.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top