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
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
I have a release build plan which is manually executed when we want to create a release. There is one parent project and a bunch of child projects.
The plan build each child project if required and then builds the parent project using the latest available version of the child projects.
To make this work I need to conditionally skip the remaining tasks of a child project build if there are no changes. I do not want to fail the build, as no action is required.
I have setup a script task to compare svn revisions and if the same I want to skip all other tasks without failing the build.
thanks Justin for asking this question and thanks Przemek for answering it.
we have run into similar situation. We have to create 2 plans for the same repository, one for build only, the other one for build and deployment. The reason behind is that we have a delicate build server and we can't flood it with too many build packages.
It looks to me a legitimate requirement to have conditional build tasks, i.e. skip a job/task when a certain condition holds true. I believe there are enormous use cases for this feature. However, as Przemek mentioned, it's not currently supported.
Is there any particular reason why Bamboo doesn't want to do this, or, it's just a feature nice to have, but the engineer team doesn't have time.
Also , we try to avoid having duplicated build plans for different deployment settings (there is a maintenance overhead to syn those duplicated plans). if you any suggestions, please let us know. thanks!
Use this plugin to conditionally skip tasks.
You can skip tasks based on a Variable or Username
This plugin works only on bamboo 6.7.0 or higher.