Remote trigger is not starting the build process Edited

I want to trigger a build whenever Docker Hub gets a new image of my application. Not sure if I'm doing it the right way, but I have setup a remote trigger in my build plan. When I hit the API using Postman (or a browser), I get a success response saying

"A build of DEV-DU was triggered by remote http call".

However no builds are kicked off.


The API I am hitting is

https://<bamboo URL>/api/rest/updateAndBuild.action?buildKey=DEV-DU


Is this the best way to start a build once Docker Hub gets a new image?

When I hit the API and get a success, why is my build not starting?

1 answer

0 vote

Use the /queue/{projectKey}-{buildKey} API to add builds to the queue.

Check out

How do I setup the auth so I can call the api from docker hub? I get this error when trying to access the api "Client must be authenticated to access this resource." IF I login, I also get this error when trying to call the api from the browser "XSRF check failed". Turning off XSRF checks in security settings doesn't seem to work either

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

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...

1,316 views 0 5
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you