jenkinsci / gogs-webhook-plugin

Jenkins Gogs Webhook
https://plugins.jenkins.io/gogs-webhook/
MIT License
79 stars 42 forks source link

The branch is ignored #9

Closed marcopiraccini closed 7 years ago

marcopiraccini commented 7 years ago

I setup gogs + jenkins + this plugin. I have a job that builds master. Currently, when I push a commit in test branch, jenkins build is triggered, and master branch is build. There's a way to have a more "smarter" trigger, that specify the branch to avoid that?

sanderv32 commented 7 years ago

You can specify which branch you want to checkout in your job. If this is not what you're looking for then you probably experiencing issue #8