From cc8272a3a18c24736625675fb0edd64622fff689 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Thu, 14 Dec 2017 13:48:48 -0800 Subject: [PATCH] Don't do parallel by default until JENKINS-48571 is fixed https://issues.jenkins-ci.org/browse/JENKINS-48571 --- vars/defaultsFor.groovy | 61 +++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 33 deletions(-) diff --git a/vars/defaultsFor.groovy b/vars/defaultsFor.groovy index f0de987..788204f 100644 --- a/vars/defaultsFor.groovy +++ b/vars/defaultsFor.groovy @@ -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