Don't do parallel by default until JENKINS-48571 is fixed

https://issues.jenkins-ci.org/browse/JENKINS-48571
This commit is contained in:
R. Tyler Croy 2017-12-14 13:48:48 -08:00
parent fecdabab95
commit cc8272a3a1
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 28 additions and 33 deletions

View File

@ -12,43 +12,38 @@ def call(String platform) {
timeout(time: 1, unit: 'HOURS')
}
stages {
stage('Test') {
failFast true
parallel {
stage('Debian Linux') {
agent { docker 'maven:slim' }
steps {
checkout scm
sh 'mvn test -B'
}
post {
always {
junit testResults: '**/surefire-reports/**/*.xml', allowEmptyResults: true
archiveArtifacts artifacts: '**/*.jar', fingerprint: true
}
}
stage('Debian Linux') {
agent { docker 'maven:slim' }
steps {
checkout scm
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 {
checkout scm
sh 'mvn test -B'
}
post {
always {
junit testResults: '**/surefire-reports/**/*.xml', allowEmptyResults: true
archiveArtifacts artifacts: '**/*.jar', fingerprint: true
}
}
}
stage('FreeBSD 11') {
agent { label 'freebsd' }
steps {
echo 'Code Valet does not currently support Maven on FreeBSD'
}
}
}
stage('Alpine Linux') {
agent { docker 'maven:3-alpine' }
steps {
checkout scm
sh 'mvn test -B'
}
post {
always {
junit testResults: '**/surefire-reports/**/*.xml', allowEmptyResults: true
archiveArtifacts artifacts: '**/*.jar', fingerprint: true
}
}
}
stage('FreeBSD 11') {
agent { label 'freebsd' }
steps {
echo 'Code Valet does not currently support Maven on FreeBSD'
}
}
}
}
return