Test on Debian and Alpine, opt out of FreeBSD for now
This commit is contained in:
parent
1e8863ee5c
commit
3eb0e72c5d
|
@ -15,7 +15,19 @@ def call(String platform) {
|
|||
stage('Test') {
|
||||
failFast true
|
||||
parallel {
|
||||
stage('Linux') {
|
||||
stage('Debian Linux') {
|
||||
agent { docker 'maven:3-slim' }
|
||||
steps {
|
||||
sh 'mvn test -B'
|
||||
}
|
||||
post {
|
||||
always {
|
||||
junit testResults: '**/surefire-reports/**/*.xml', allowEmptyResults: true
|
||||
archiveArtifacts artifacts: '**/*.jar', fingerprint: true
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Alpine Linux') {
|
||||
agent { docker 'maven:3-alpine' }
|
||||
steps {
|
||||
sh 'mvn test -B'
|
||||
|
@ -30,13 +42,7 @@ def call(String platform) {
|
|||
stage('FreeBSD 11') {
|
||||
agent { label 'freebsd' }
|
||||
steps {
|
||||
sh 'mvn test -B'
|
||||
}
|
||||
post {
|
||||
always {
|
||||
junit testResults: '**/surefire-reports/**/*.xml', allowEmptyResults: true
|
||||
archiveArtifacts artifacts: '**/*.jar', fingerprint: true
|
||||
}
|
||||
echo 'Code Valet does not currently support Maven on FreeBSD'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue