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

This widget could not be displayed.

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

Check out https://docs.atlassian.com/atlassian-bamboo/REST/6.0.0/#d2e2150

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

156 views 1 3
Join discussion

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