Hi,
I do have a post-process job defined in a plan in which I also tag the current commit.
This works fine so far.
My question: is it possible (and if so how) to disable this job (or the tasks inside that job) for branch-plans to avoid lots of tags being generated?
Hi Paul,
Welcome to the Atlassian Community.
If you are looking to disable a particular job only for plan branches, then there is no way.
But we have an option to restrict the execution of task by using the Conditional Tasks based on the branch name.
For example, your default branch is 'main' and you want to execute the specific task only at the default branch ('main') and not in any other plan branches, then you can add a condition with the variable name 'bamboo.repository.branch.name' equals to 'main'. That way the conditional task will not fulfil when it is getting executed as plan branch and the task execution will be skipped.
Regards,
Venkata Sateesh Pentela
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.