You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have a conditional task for which i have used a plan variable isRCBuild to trigger.
When isRCBuild=0 it should run otherwise no.
When the isRCBuild=1 the condition is not met but the whole builds stops, why is that? shouldn't it just be skipped??
If it's the only task then build fails because there were no tasks for execution. Add dummy Script task "echo hi" to avoid it
If it's only task then it should go to next job. I think this qualifies as a bug.
@Alexey Chystoprudov Do you think this should qualify as a bug?
For the workaround, i now check the bamboo variable from the script itself and EXIT if required. Bamboo conditional tasks are not that robust from my POV.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Chitrarth Sahai , it's existing behaviour. When you create job without task Bamboo fails it as we decided it's not a good situation.
The same when all tasks are skipped, it means job had no executable tasks and its state is unknown.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well then it would be nice if there was a conditional Job and not just conditional tasks :)
Right now the only way to get a conditional job, is to set the same condition on each task in the job, except a final dummy task that always runs. That seems like a bad way to have something change in the future, but forget to change it everywhere.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.