diff options
author | Martin Stockhammer <martin_s@apache.org> | 2018-05-19 19:51:17 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2018-05-19 19:51:17 +0200 |
commit | 3053e005cd81b98be142aaacce2faae16378a6f1 (patch) | |
tree | 67e134ed31d6529e910601df9d08505489bff550 /Jenkinsfile | |
parent | c87933a4a65667dd47e2643b37070a1e0f6d767a (diff) | |
download | archiva-3053e005cd81b98be142aaacce2faae16378a6f1.tar.gz archiva-3053e005cd81b98be142aaacce2faae16378a6f1.zip |
Fixing Jenkinsfile syntax
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 78 |
1 files changed, 40 insertions, 38 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 88887bc75..97aa62226 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -90,53 +90,55 @@ pipeline { build(job: "${INTEGRATION_PIPELINE}/archiva/${env.BRANCH_NAME}", propagate: false, quietPeriod: 10) } } - } - stage('JDKs') { - parallel { - stage('JDK9') { - steps { - ws("${env.JOB_NAME}-JDK9") { - checkout scm - timeout(120) { - withMaven(maven: buildMvn, jdk: buildJdk9, - mavenSettingsConfig: deploySettings, - mavenLocalRepo: ".repository", - options: [concordionPublisher(disabled: true), dependenciesFingerprintPublisher(disabled: true), - findbugsPublisher(disabled: true), artifactsPublisher(disabled: true), - invokerPublisher(disabled: true), jgivenPublisher(disabled: true), - junitPublisher(disabled: true, ignoreAttachments: false), - openTasksPublisher(disabled: true), pipelineGraphPublisher(disabled: true)] - ) - { - sh "mvn clean install -B -U -e -fae -T2" - } + + stage('JDKs') { + parallel { + stage('JDK9') { + steps { + ws("${env.JOB_NAME}-JDK9") { + checkout scm + timeout(120) { + withMaven(maven: buildMvn, jdk: buildJdk9, + mavenSettingsConfig: deploySettings, + mavenLocalRepo: ".repository", + options: [concordionPublisher(disabled: true), dependenciesFingerprintPublisher(disabled: true), + findbugsPublisher(disabled: true), artifactsPublisher(disabled: true), + invokerPublisher(disabled: true), jgivenPublisher(disabled: true), + junitPublisher(disabled: true, ignoreAttachments: false), + openTasksPublisher(disabled: true), pipelineGraphPublisher(disabled: true)] + ) + { + sh "mvn clean install -B -U -e -fae -T2" + } + } } } } - } - stage('JDK10') { - steps { - ws("${env.JOB_NAME}-JDK10") { - checkout scm - timeout(120) { - withMaven(maven: buildMvn, jdk: buildJdk10, - mavenSettingsConfig: deploySettings, - mavenLocalRepo: ".repository", - options: [concordionPublisher(disabled: true), dependenciesFingerprintPublisher(disabled: true), - findbugsPublisher(disabled: true), artifactsPublisher(disabled: true), - invokerPublisher(disabled: true), jgivenPublisher(disabled: true), - junitPublisher(disabled: true, ignoreAttachments: false), - openTasksPublisher(disabled: true), pipelineGraphPublisher(disabled: true)] - ) - { - sh "mvn clean install -B -U -e -fae -T2" - } + stage('JDK10') { + steps { + ws("${env.JOB_NAME}-JDK10") { + checkout scm + timeout(120) { + withMaven(maven: buildMvn, jdk: buildJdk10, + mavenSettingsConfig: deploySettings, + mavenLocalRepo: ".repository", + options: [concordionPublisher(disabled: true), dependenciesFingerprintPublisher(disabled: true), + findbugsPublisher(disabled: true), artifactsPublisher(disabled: true), + invokerPublisher(disabled: true), jgivenPublisher(disabled: true), + junitPublisher(disabled: true, ignoreAttachments: false), + openTasksPublisher(disabled: true), pipelineGraphPublisher(disabled: true)] + ) + { + sh "mvn clean install -B -U -e -fae -T2" + } + } } } } } } + } post { |