How can I make a job conditional to depend on some plan variable?
I am currently using the Conditional Tasks app and it works fine. I can use this as a workaround by to skip all tasks of a job by making each task conditional, but this is tedious and error prone. Furthermore, this workaround requires a free build agent to pick up the job and process it, only to find out it potentially can skip all the tasks.
I cannot use job capability requirements for this purpose, as the condition is based on plan variables.
I imagine such functionality would require a the creation of a new "Conditional Jobs" app, where the server itself would be responsible for evaluating the condition?
There's no possibility to mark Job conditional but Conditional Tasks app contains special Task Stop job which can be ... conditional. It was designed exactly for your usecase. Put it as first task of your job and let condition decide if you need to run rest of it.
It still requires agent to run it :(
We’re preparing for Bamboo 8.0, which will be our first Data Center release. To make sure our app vendors and customers with written in-house apps are prepared, we’re launching Bamboo 8.0 Early Acces...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events