jenkinsci / ghprb-plugin

github pull requests builder plugin for Jenkins
https://plugins.jenkins.io/ghprb/
MIT License
507 stars 612 forks source link

How to trigger the build jenkins if master branch has changed? #737

Closed xitrumm closed 5 years ago

xitrumm commented 5 years ago

I have a freestyle job with Gitea scm. I setup webhook on Gitea but when others branch change, jenkins will rebuilds once. How can I trigger the build on pushed to master branch only and pushed to others branch do nothing?

andrew-garland commented 5 years ago

Is this the same as https://github.com/jenkinsci/ghprb-plugin/issues/658

bjoernhaeuser commented 5 years ago

Yet it is! Thanks.