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
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