Inspiration

Many teams wanted to have an ability to run tests in deployment plans to pass or fail the deployments. We are also inspired by many improvement requests in Atlassian JIRA to provide deployment REST API's. Following JIRA issues are the inspiration: BAM-13276, BAM-14458, BAM-15349, BAM-16299, BAM-17631, BAM-14185, BAM-13604, BAM-13501, BAM-14994, BAM-14079, BAM-13356, BAM-14946, BAM-13604

What it does

This add on adds tasks to build and deployment plans.

Following are the tasks available to be used:

Trigger any build plan from build as well as deployment plan.

Execute tests from build as well as deployment plans.

Create new releases from build plan.

Promote releases between environments from build plan.

Rollback releases from build plan.

Rerun deployments with selected version from build plan.

All tasks has input condition which can use Bamboo variables to determine whether to execute or skip the task.

All the tasks update the provided Bamboo variable with execution status.

The add on also provides REST API to perform all above tasks.

The add on enables testing capability to deployment plans using existing build plans to be used as integration tests plans and also supports meachanism to mark deployment as pass or fail based on tests status.

How we built it

Used JAVA and Atlassian SDK

Challenges we ran into

It was a challenge to convert plans to task.

Built With

Share this project:

Updates