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

Will Bamboo scheduled builds not run if the plan is failing?

Joseph Allen November 25, 2015

My ultimate goal is to trigger a build that creates a branch in our repository every other wednesday. There is nothing in a cron entry to do that, so I created 2 build plans to achieve this. Both plans are scheduled to run every wednesday. One of them is the plan that creates the branch and is dependent on the other build being successful. The other one is just a flip flopping build with a script that takes a variable that is incrementing every build and causes the build to fail on 1 run and pass on the next. So on the off wednesday, it fails, but the following wednesday it should pass. My problem, is the scheduled job to make it run again after a failure doesn't seem to be working. Which brings me to my question, do failed build jobs not get triggered off a scheduled build?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
rverschoor
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.
November 30, 2015

There is indeed no Cron expression to achieve this.
Can't you stick to just 1 plan, which starts with s Script Task that determines if it's a Wednesday that the build should run or not?
 

Joseph Allen December 11, 2015

Yeah, your right I can stick to 1 plan. I made that change and it does simplify things, but I am still running into the same problem. One week it runs, the next week the script fails and the build stops as intended with the build marked as failed. The next week, the script doesn't even start. I'm thinking that failed builds won't run on a scheduled trigger, which is weird because I know they work on a SVN pulling trigger.

TAGS
AUG Leaders

Atlassian Community Events