Bamboo
Bamboo Integration in Avo Assure
Last updated
Bamboo Integration in Avo Assure
Last updated
Log in to (Atlassian) Bamboo. The version used here is 7.1.1.
If a build plan is already created, then skip this step and navigate to the plan configuration screen. Follow these steps to create a build plan:
Click on the ‘Create’ button present on the header. Select ‘Create Plan’.
Select an existing Project or select ‘New Project’. If such an option is not present, then that means there are 0 existing Projects.
If creating a new Project, then give a desired ‘Project Name’ and a ‘Project Key’ will be auto-populated. The key can be changed but it has to unique.
Give a desired ‘Plan Name’. The plan key will be auto-populated and the key can be changed but it has to be unique.
Link any repository if needed. If not needed or unsure, then select ‘None’.
Click on ‘Configure Plan’ and click on ‘Save and continue’ on the next page.
3. Click on the Variables tab in the Plan Configuration screen and add the following variables: Variable name: AvoAssureUri Variable value: https://< AvoAssure URL > Variable name: AvoAssureExecutionRequestData Variable value: Paste Execution request data prepared above.
4. Click on desired stage and job (from the left-hand side panel) from where execution has to be triggered in Avo Assure. If a new plan is created without configuring stages, click on ‘Default Job’. Then click on the ‘Tasks’ tab.
5. Click on ‘Add Task’. Configuration for the task should look like this:
Select Task Type as ‘Script'.
Set the Task description as desired.
Set Interpreter as ‘Windows PowerShell’.
Select Script location as ‘Inline’.
Paste below code snippet in Script body.
6. Leave Argument, Environment Variables, and Working subdirectory fields empty.
7. Click on ‘Save’.
6. Configuration is completed. Click on ‘Run Plan’ to start the execution.
7. Before starting the execution, make sure that ICE is connected.
8. Once the execution is completed, reports will be generated and can be viewed in the Avo Assure Reports plugin.
9. Bamboo will also have response data that looks like the below image. This data is available in the logs tab of the build summary.