Skip to content

cxbrooks/ansible-junitxml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ansible-junitxml

ansible-junitxml is a shell script that reads Ansible IT automation playbook output from a file and generates JUnit XML results on standard out for use in the Jenkins continuous integration system.

To use this in Jenkins, in the Build section of the configuration, add a "Execute Shell" section with a command that invokes the script on the Ansible output.

mkdir -p $WORKSPACE/reports
~/src/swarmboxadmin/ansible/bin/ansible2JUnixXML $JENKINS_HOME/jobs/swarmboxadmin/builds/$BUILD_NUMBER/log > $WORKSPACE/reports/ansibleJUnit.xml

About

Ansible plugin that outputs JUnit XML results for ansible playbooks to use with Jenkins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%