Skip to content

Commit cb54668

Browse files
committed
update
1 parent 4e4c69d commit cb54668

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Jenkinsfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@ pipeline {
1919
stage('test project and serve') {
2020
steps {
2121
sh "docker-compose run --rm test"
22-
step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml'])
23-
step([$class: 'ArtifactArchiver', artifacts: '**/target/*.jar', fingerprint: true])
2422
sh "docker-compose up -d server"
2523
}
24+
post {
25+
always {
26+
archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true
27+
junit '**/target/surefire-reports/TEST-*.xml'
28+
}
29+
}
2630
}
2731
stage('wait for confirm') {
2832
input {

0 commit comments

Comments
 (0)