Don't do parallel by default until JENKINS-48571 is fixed
https://issues.jenkins-ci.org/browse/JENKINS-48571
This commit is contained in:
parent
fecdabab95
commit
cc8272a3a1
|
@ -12,43 +12,38 @@ def call(String platform) {
|
||||||
timeout(time: 1, unit: 'HOURS')
|
timeout(time: 1, unit: 'HOURS')
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Test') {
|
stage('Debian Linux') {
|
||||||
failFast true
|
agent { docker 'maven:slim' }
|
||||||
parallel {
|
steps {
|
||||||
stage('Debian Linux') {
|
checkout scm
|
||||||
agent { docker 'maven:slim' }
|
sh 'mvn test -B'
|
||||||
steps {
|
}
|
||||||
checkout scm
|
post {
|
||||||
sh 'mvn test -B'
|
always {
|
||||||
}
|
junit testResults: '**/surefire-reports/**/*.xml', allowEmptyResults: true
|
||||||
post {
|
archiveArtifacts artifacts: '**/*.jar', fingerprint: true
|
||||||
always {
|
|
||||||
junit testResults: '**/surefire-reports/**/*.xml', allowEmptyResults: true
|
|
||||||
archiveArtifacts artifacts: '**/*.jar', fingerprint: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
stage('Alpine Linux') {
|
}
|
||||||
agent { docker 'maven:3-alpine' }
|
}
|
||||||
steps {
|
stage('Alpine Linux') {
|
||||||
checkout scm
|
agent { docker 'maven:3-alpine' }
|
||||||
sh 'mvn test -B'
|
steps {
|
||||||
}
|
checkout scm
|
||||||
post {
|
sh 'mvn test -B'
|
||||||
always {
|
}
|
||||||
junit testResults: '**/surefire-reports/**/*.xml', allowEmptyResults: true
|
post {
|
||||||
archiveArtifacts artifacts: '**/*.jar', fingerprint: true
|
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('FreeBSD 11') {
|
||||||
|
agent { label 'freebsd' }
|
||||||
|
steps {
|
||||||
|
echo 'Code Valet does not currently support Maven on FreeBSD'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue