Skip to content

Stylesheet for the xUnit plugin for Jenkins to handle CTest test results.

License

Notifications You must be signed in to change notification settings

damienmg/jenkins-ctest-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jenkins-ctest-plugin + xUnit-plugin = test reports for Jenkins-CI

Installation

  1. Make sure you've installed the xUnit Plugin
  2. Get the ctest-to-junit.xsl file onto your Jenkins server(s) - I tend to use a Git Submodule to pull this repo into other projects

Usage

  1. When configuring your Job, enable the xUnit Plugin and select the Custom Tool option
  2. Specify a pattern for ctest files to transform
  3. Specify the path to the ctest-to-junit.xsl stylesheet
  4. GO!

You might want to look at run-test-and-save.sh to see one way of prompting CTest to generate XML output and then moving it. You can execute that script as a build step from your build directory, and then your "pattern" will be BUILDDIR/CTestResults.xml.

License

jenkins-ctest-plugin is covered under the MIT License. See LICENSE for more information.

Based on WebUI-plugin

About

Stylesheet for the xUnit plugin for Jenkins to handle CTest test results.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%