Skip to content

Commit

Permalink
Collect JUnit test reports
Browse files Browse the repository at this point in the history
  • Loading branch information
fwaibel committed Oct 22, 2023
1 parent a37e976 commit 1eca608
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,28 +48,32 @@ spec:
stage('Build') {
steps {
container('maven') {
sh 'mvn verify'
sh 'mvn verify -Dmaven.test.failure.ignore=true'
junit '**/target/surefire-reports/*.xml'
}
}
}
stage('Build with Equinox profile') {
steps {
container('maven') {
sh 'mvn verify -P it,equinox'
sh 'mvn verify -P it,equinox -Dmaven.test.failure.ignore=true'
junit '**/target/surefire-reports/*.xml'
}
}
}
stage('Build with Felix profile') {
steps {
container('maven') {
sh 'mvn verify -P it,felix'
sh 'mvn verify -P it,felix -Dmaven.test.failure.ignore=true'
junit '**/target/surefire-reports/*.xml'
}
}
}
stage('Build with Knopflerfish profile') {
steps {
container('maven') {
sh 'mvn verify -P it,knopflerfish'
sh 'mvn verify -P it,knopflerfish -Dmaven.test.failure.ignore=true'
junit '**/target/surefire-reports/*.xml'
}
}
}
Expand Down

0 comments on commit 1eca608

Please sign in to comment.