Getting Started with ScriptRunner for Bamboo
Scriptable Tasks allow you to dynamically create and execute tasks with different parameters depending on build variables, files changed, etc, using the Bamboo Specs API. For example, you might use different maven goals depending on the branch, or scp files to different hosts for different staging environments.
Condition Tasks allow you put logic into your build, which can help in avoiding a proliferation of plans, or wrapping everything with script tasks. The principle of Condition Tasks, is that if the condition evaluates to true, the tasks following it in the job will be executed, if false they will be skipped.
More ways to create and run automations
Have questions? Visit the Atlassian Community to connect, share, and learn with other Atlassian users and experts, including Adaptavist staff.
Want to learn more? Check out courses on Adaptavist Learn, an online platform to onboard and train new users for Atlassian solutions.