I'm using Bamboo to do automation build on Win 7. The trigger method is "Repository triggers the build when changes are commited".
If I use a Git server deployed in cygwin with ssh protocol. I can modify "post-receive" to make the trigger work well.
However, Stash does not support cygwin. And stash has its own Git server. Now I can't trigger Bamboo to build if new codes are checked in. Is there a way to make the auto-build happen?
You can do this by installing the Stash Web Post Hooks Plugin (free and from Atlassian).
On each repository you can then configure this webhook to trigger a build using the REST API of Bamboo.
An example REST url for triggering a build:
We bought Stash since we assumed that staying in the Atlassian family of products would be beneficial.
It's weak that you don't support Stash as a native trigger in Bamboo. Its your products after all!?
Should have rather hosted my code at Github or BitBucket instead.
This does not solve the issue of triggering builds for your plan's branch builds though. I'm considering to wrap curl in a script and accordingly fire a post to the relevant URIs depending on the commit. Will post a followup message here if I make progress on this.
Just a pointer for the external hooks plugin, each param should be on a new line.
A template to use:
--user <username>:<password> -X POST -d JOB1&ExecuteAllStages https://<bamboo url>/rest/api/latest/queue/<Project>-<Plan>
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs