The Stash PR git ref spec is already different than the regular Git build ref spec you can't have all in 1 job/build.
From: <[email protected]<mailto:[email protected]>> on behalf of John <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Friday, October 21, 2016 at 8:40 AM To: Jenkins Users <[email protected]<mailto:[email protected]>> Subject: JIRA/Stash (bitbucket server)/Jenkins setup - build kicking off unnecessarily Hey everyone: I have Stash (bitbucket server)/Jira integreated setup using Jenkins for CI. I want to kick off my builds on "push to feature branch" only. The issue I have is that the builds are kicking off on these 3 actions as well: * create branch directly in stash * create pull request in stash * approval of pull request (merge to master) I have this in branch specifier to prevent starting build on push to master :^(?!.*master).*$ Would appreciate any help in how to prevent this. Thanks John -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/98cbbed9-5e94-4586-bfa0-c24ba8a88351%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/98cbbed9-5e94-4586-bfa0-c24ba8a88351%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/D42FDE19.5ECFD%25ingunawa%40cisco.com. For more options, visit https://groups.google.com/d/optout.
