I am evaluating bamboo, and I want to know how I can see a failure of a task in bamboo? Actually how to I indicate from the test to Bamboo that a failure has occurred? Most of the tests I have are script based and can be modified to indicate a failure. Currently they indicate a failure by different exit codes. I found this page (https://developer.atlassian.com/display/BAMBOODEV/Test+Collection+and+Reporting). which seems to indicate I need to make some sort of custom handler. But I wanted to make sure that was the case, or if there is a standard results handler that I could just modify my test scripts to use?
Failures occur on exit > 0. If your test returns an exit value > 0 it will fail the build. The page you linked to is in regards to actually writing a Bamboo task. Bamboo tasks are like the source code checkout task, or the scp task or the command or script task. If you are using an existing Bamboo task like one of the aforementioned or JUnit or NUnit then you don't need to do anything special for a failed test to register as a failure. I know if it returns exit > 0 it will turn red as a failure, It may also Fail if it sees "ERROR" or "FAIL" though those may also be returning > 0 and therefore actually be registering based on the exit code.
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot