Dynamic Plans, DSL & Pipeline for Bamboo

for Bamboo Server 9.0.0 - 9.2.12 and more
28 installs

We no longer offer sales and support for server apps. You can stay connected by exploring the migration options to either the cloud or Data Center version of this app.

groovy scripted task management and calculated variables

Groovy Scripted Variables

script: if (repository_git_branch_0.equalsIgnoreCase("master")) return "true";

Conditioned scripted jobs

Dynamic Tasks De-Activation

Dynamic Tasks Switcher

Switch tasks on or off, you decide which

More details

Dynamic scripted variables:

  • any variable containing the following pattern will be calculated

    script: if (repository_git_branch_0.equalsIgnoreCase("master")) return "true";

Conditioned scripted jobs

Dynamic Tasks De-Activation

On each job you can enter a groovy that will be evaluated.

If return is "true" some tasks having a description matching a configurable regular expression will be disabled.

Dynamic Tasks Switcher

On each job you can enter a groovy that will be evaluated and should return a regular expression

Any task having a description matching this regular expression will be set accordingly to your request.

Eg: Assuming we have 2 tasks in our plan: master, feature

We can use the following groovy script that will return expressions to match the tasks based on which is the current branch.

if (repository_git_branch_0.equalsIgnoreCase("master")) return "master";

return "feature";

If in the settings we have placed Desired state as Enabled the plugin will enable each task

Privacy and security

Privacy policy

Atlassian's privacy policy is not applicable to the use of this app. Please refer to the privacy policy provided by this app's partner.

Partner privacy policy

Resources

Gallery

Add DSL Tasks to your jobs in order to create other tasks on the fly