stash-jenkins-postreceive-webhook icon indicating copy to clipboard operation
stash-jenkins-postreceive-webhook copied to clipboard

build trigger

Open rbonthond opened this issue 10 years ago • 2 comments

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.

rbonthond avatar Mar 24 '15 18:03 rbonthond

Try enabling ignorePostcommitTriggers 24. mars 2015 19:48 skrev "Robbin Bonthond" [email protected]:

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 .

davidkarlsen avatar Mar 24 '15 20:03 davidkarlsen

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.

rbonthond avatar Mar 25 '15 13:03 rbonthond