Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to deploy on a scheduled trigger only if there is a new build?

I want to schedule a nightly deployment only if there is a new build. Is there a way to do this? 

We tried this, but the release plan ends-up redeploying the latest build. Not exactly what we want-- if the build is not new, then don't deploy. Is this possible? 

1 answer

1 vote
Rafael Pinto Sperafico
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jul 11, 2019

Hi @Richard Flores ,

Thank you for your inquire.

I want to schedule a nightly deployment only if there is a new build. Is there a way to do this?

Yes, it is possible by running a build nightly that will automatically trigger the deployment. If your build is consuming a repository (Source Code Checkout task) you can add a trigger to your plan that will Poll the repository for changes based on a schedule.

If Bamboo detects a change in the source code, a build of your plan is triggered. In this way you may end-up with what you called as a new build.

Once you have that in place, you can go to your Deployment Environment and setup Triggers for deployment environments.

You could also work with REST API calls and scripting, automating the way Bamboo will run builds and deployments. Those scripts could then be called from Jira, Bitbucket Server, Terminal/Command Prompt or any other.

However, getting back to your initial inquire, there is - Scheduled deployments should only run if the latest version is different than what is actually deployed in that environment in Atlassian Bamboo's issue tracker.

Please, feel free to add any comments and/or become a watcher so you can get its latest updates.

Kind regards,


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events