It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way to schedule a build only if content is changed?

Hi All,

Can we trigger a Bamboo build at a particular time only if the content is changed?

 

I cannot schedule all the jobs as there are hundreds of services which cannot be triggered daily. Services cannot be deployed everytime the content is changed because the environment is a controlled environment. Hence, looking for a way to deploy the applications at a particular time only if the content is changed. Any suggestions would be really helpful.

1 answer

0 votes

Create a special plan or a cron job in a machine that will perform the following REST call:

curl -u bamboo_admin:password -X POST http://bambooURL:8085/rest/triggers/1.0/remote/changeDetection?planKey=PLAN-KEY&skipBranches=false

Configure Remote Trigger in the target plan.

This remote trigger will trigger the target plan if there is any new commit in the repository.

Triggering a Bamboo build from Bitbucket Cloud using Webhooks

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Using Bamboo with new Bitbucket Cloud authentication

...roperties: -Dbamboo.bitbucket.cloud.use.workspace.api=true There are patches available for Bamboo versions 6.8.3, 6.9.2, and 6.10.5 on the bug report that add support for the System Property. T...

237 views 0 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you