Description/Features

A simple BAMBOO plugin that removes all previous xml files in the test results directory.
Use this feature for a maven multi modules project.
Why is it usefull ?
For example : With a builder that is configured with goals "clean install". If a compilation fails and breaks the build, the previous test results in other modules are not removed, so Bamboo index them. And the Bamboo tests number that is displayed is wrong.

Usage

  1. Copy the bamboo-clean-test-plugin-1.0.jar file into your <BAMBOO_HOME>/webapp/WEB-INF/lib directory and restart Bamboo
  2. In the configuration of your plan, there should be a new Clean Test section on the 'Builder Configuration' tab. Here you can specify whether your plan can remove the previous test result.

Version Compatibility

Compatibility of Clean Test Plugin versions (side) versus Bamboo versions (top).

 

before 2.0

2.0-2.2.x

1.0

(error)

(tick)

Unknown macro: {roundrect}

= compatible
= not compatible
= compatibility unknown

Version History

Version

Date

Description

1.0

Jully 4th 2008

initial version

1.0

Initial version

type key summary priority status

Data cannot be retrieved due to an unexpected error.

View these issues in Jira

Possible Future Changes

Unscheduled

type key summary priority status

Data cannot be retrieved due to an unexpected error.

View these issues in Jira

Screenshots

  • No labels

1 Comment

  1. Seems like it has problems with Bamboo 2.4.0.

     java.lang.NoSuchMethodError: com.atlassian.bamboo.v2.build.BuildPlanDefinition.getBuilder()Lcom/atlassian/bamboo/v2/build/BuilderV2;
     at fr.calitech.bamboo.plugins.CleanTestPreBuildAction.cleanTestResults(CleanTestPreBuildAction.java:65)