mohamicorp / stash-jenkins-postreceive-webhook

Webhook used to notify Jenkins when commits are made to Stash
Other
138 stars 98 forks source link

build trigger #114

Open rbonthond opened 9 years ago

rbonthond commented 9 years ago

We're using stash(3.3.1)+jenkins(1.602) to trigger our builds. Stash is using the jenkins-plugin(2.6.0) and jenkins has the git-plugin(2.3.5). For some reason jobs that have "build periodically" instead of "poll scm" under the jenkins build triggers are still being executed when stash recieves a commit.

davidkarlsen commented 9 years ago

Try enabling ignorePostcommitTriggers

  1. mars 2015 19:48 skrev "Robbin Bonthond" notifications@github.com:

We're using stash(3.3.1)+jenkins(1.602) to trigger our builds. Stash is using the jenkins-plugin(2.6.0) and jenkins has the git-plugin(2.3.5). For some reason jobs that have "build periodically" instead of "poll scm" under the jenkins build triggers are still being executed when stash recieves a commit.

— Reply to this email directly or view it on GitHub https://github.com/Nerdwin15/stash-jenkins-postreceive-webhook/issues/114 .

rbonthond commented 9 years ago

if I enable "poll scm" with no schedule, and enable "ignore post-commit hooks", then it seems the jobs aren't triggered by stash. As workaround that works great, thanks! still working why the poll scm jobs gets triggered it it isn't enabled though.