Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,749
Community Members
 
Community Events
168
Community Groups

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

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

Atlassian Community Events