Index![]()
Downloads (PDF, HTML & XML formats)
[Bamboo Knowledge Base Home]
Documentation for Bamboo 4.0.x. Documentation for earlier versions of Bamboo is available too. 
![]()
There may be times when you want to prevent a failing test from causing the whole build to fail.
Possible scenarios where this may be useful include:
In Bamboo, you can temporarily disconnect any test's results from the plan build results by quarantining the test. The test is still run whenever the plan is built, but the test's results do not affect the plan's build results.
You can always restore a test's results to the build results when required, for example if the test is now passing.
All the quarantined tests for a plan are displayed on the Quarantined Tests tab of the plan summary. The status bar for each test shows the recent build history of the test.
You need plan administrator permission to quarantine a test.
You need plan administrator permission to restore a test.
Screenshot: The quarantined tests for a plan, showing the Status bar.
1 Comment
Quinton McCombs
Jun 26, 2012If you have one or more quarantined tests, the outcome of the task will be changed to success if there are no unquarantined tests failing. This can be a problem because if there is a compilation failure, the task will still be reported as a success! This is currently a bug in Bamboo.
Fortunately, there is a work around to this issue. Instead of using a single task to perform your build and parse the test results, use the JUnit parser task to parse the test results. This will ensure that compilation failures will still fail your build.