GoCD plugin to convert test reports to XUnit format
Switch branches/tags
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
screenshots Updating the readme.md based on my use and trouble using this plugin May 13, 2015
src/main Migrate to new communication format Jul 20, 2016
.gitignore getting rid of dist/ Dec 22, 2014
LICENSE Add some legal text Dec 21, 2015
README.md Improve README Jun 13, 2017
pom.xml Migrate to new communication format Jul 20, 2016



GoCD plugin to convert test reports to XUnit format.

Supported Formats:

  • Nose
  • JSUnit
  • MsTest


  1. Download jar from releases & place it in <go-server-location>/plugins/external & restart Go Server

  2. The converter will now be available in the task selector drop down menu

Alt text


Add and configure new task "XUnit Converter" to any job where tests are being run and outputted in any of the supported formats:

Alt text

Converter Type

The type of test to try and convert from

Input Directory

Path (relative to pipeline) where the report files are located. The converter task will look for files in this directory with an extension of .xml for Nose & JSUnit tests and .trx for MsTests

Alt text

Output Directory

The destination folder to place the converted tests. This folder will get created during the run. I usually place the new "converted" directory in the same folder as my input directory.

Alt text

Notice that the output file name is the same name as the input file, including the extension ".trx"

Make sure you select 'RunIf Conditions' to 'Any', so the plugin converts reports even if tests fail!

Add the ouput directory of plugin as 'Test Artifact' in Artifacts tab

Alt text

Project Contribution


  • Java - JDK version 1.8+
  • JAVA_HOME environment variable correctly setup
  • Maven 3.x - Maven 3.3.3 should work
  • xunit-converter
  • xunit-converter & xunit-converter-task repos must be in the same directory
cd xunit-converter
mvn clean install -DskipTests
cd ..
cd xunit-converter-task
mvn clean install -DskipTests


We encourage you to contribute to GoCD. For information on contributing to this project, please see our contributor's guide. A lot of useful information like links to user documentation, design documentation, mailing lists etc. can be found in the resources section.


Copyright 2017 ThoughtWorks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.