Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do i move on to the Next task based on the result of my previous task

Saifuddin_Raj June 11, 2020

Requirement : Create a Test Automation pipeline and automatically create Jira tickets on failure 

Setup : A maven based test automation project

TASK 1 : Check out repository - OK

Task 2 : Script --> Maven commands 

    mvn test 

$bamboo_testResults=$?

line 2 throws an error. I know this is an existing issue/lack of feature on bamboo while working with variables. I do not also have access to inject variable plug in on our cloud.

Question : How do I ascertain the test results and pass it on to next task ?

 

TASK 3 : Script --> To create jira tickets based on $bamboo_testResults

But since the variable doesn't get the value assigned this is always executed as a default '0' case

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events