Skip to content

Commit

Permalink
Aggiunta archiviazione e pubblicazione dei risultati dei test
Browse files Browse the repository at this point in the history
  • Loading branch information
nardil committed Sep 2, 2019
1 parent cbea257 commit e2d7026
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ pipeline {
stage('test') {
steps {
sh '''cd ./integration-test; /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.1/bin/mvn clean test'''
sh 'tar -czvf ./integration-test/target/surefire-reports.tar.gz ./integration-test/target/surefire-reports/'
}
post {
always {
junit 'integration-test/target/surefire-reports/*.xml'
archiveArtifacts './integration-test/target/surefire-reports.tar.gz'
}
}
}
Expand Down

0 comments on commit e2d7026

Please sign in to comment.