Skip to content
Permalink
Browse files

#1104 Report and Visualize integration test results on Jenkins

- Use JUnit Plugin to capture test reports used for reporting and
visualization of the test results in Jenkins
  • Loading branch information...
helkv committed Aug 26, 2019
1 parent 5884a4e commit ca5a6616d52abb5ff1d93b8b64dfd10604cd1db2
Showing with 8 additions and 2 deletions.
  1. +8 −2 Jenkinsfile
@@ -12,8 +12,14 @@ node {
}

stage ('Build'){
// Build with maven
sh("${mvnHome}/bin/mvn clean install -P env-testing")
try {
// Build with maven
sh("${mvnHome}/bin/mvn clean install -P env-testing")
}
finally {
// Capture test reports
junit '**/target/surefire-reports/*.xml'
}
}

stage ('Deploy'){

0 comments on commit ca5a661

Please sign in to comment.
You can’t perform that action at this time.