-
Suggestion
-
Resolution: Duplicate
-
None
-
None
-
None
We'd like to add a deploy to Artifactory job that only runs when a bamboo variable has a certain value. Is this possible?
If not, is there a way that we can populate to "snapshot" when a bamboo variable has a certain value and the "release" repository otherwise?
- duplicates
-
BAM-11257 Conditional build step depending on value (or existence) of variable
- Closed
I agree with Mariusz and Wojciech. This ticket was wrongly closed as a duplicate of another, as this ticket specifically asks for conditional jobs, not tasks.
Currently we need to add conditions to every single task in a job if we want to disable it entirely. This is cumbersome and you have to remember to add it when adding new tasks. It would be a lot easier if we could disable a job based on conditions evaluated in previous stages of the build.