You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ma...@apache.org on 2018/05/19 17:51:21 UTC

[archiva] branch master updated: Fixing Jenkinsfile syntax

This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva.git


The following commit(s) were added to refs/heads/master by this push:
     new 3053e00  Fixing Jenkinsfile syntax
3053e00 is described below

commit 3053e005cd81b98be142aaacce2faae16378a6f1
Author: Martin Stockhammer <ma...@apache.org>
AuthorDate: Sat May 19 19:51:17 2018 +0200

    Fixing Jenkinsfile syntax
---
 Jenkinsfile | 78 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 40 insertions(+), 38 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 88887bc..97aa622 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 {

-- 
To stop receiving notification emails like this one, please contact
martin_s@apache.org.