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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3449ef2  simplify as we are only deploying a parent pom
3449ef2 is described below

commit 3449ef22f3a06c4e853d47b81f5f879394d25c4f
Author: olivier lamy <ol...@apache.org>
AuthorDate: Fri Dec 14 13:01:13 2018 +1000

    simplify as we are only deploying a parent pom
    
    Signed-off-by: olivier lamy <ol...@apache.org>
---
 Jenkinsfile | 62 ++-----------------------------------------------------------
 1 file changed, 2 insertions(+), 60 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 54fcbad..ccb81f6 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,7 +1,5 @@
 LABEL = 'ubuntu'
 buildJdk = 'JDK 1.8 (latest)'
-buildJdk9 = 'JDK 1.9 (latest)'
-buildJdk10 = 'JDK 10 (latest)'
 buildMvn = 'Maven 3.5.2'
 deploySettings = 'archiva-uid-jenkins'
 
@@ -16,19 +14,14 @@ pipeline {
                 timeout(20) {
                     withMaven(maven: buildMvn, jdk: buildJdk,
                             mavenSettingsConfig: deploySettings,
+                              publisherStrategy: 'EXPLICIT',
                             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)]
+                            options: [pipelineGraphPublisher(disabled: false)]
                     )
                             {
                                 // Run test phase / ignore test failures
                                 sh "mvn -B -U -e -fae clean deploy"
                             }
-                    // Report failures in the jenkins UI
-                    //step([$class: 'JUnitResultArchiver', testResults: 
'**/target/surefire-reports/TEST-*.xml'])
                 }
             }
             post {
@@ -40,57 +33,6 @@ pipeline {
                 }
             }
         }
-
-        stage('OtherJdks') {
-            parallel {
-                stage('JDK9') {
-                    steps {
-                        ws("${env.JOB_NAME}-JDK9") {
-                            checkout scm
-                            timeout(20) {
-                                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)]
-                                )
-                                        {
-                                            // Run test phase / ignore test 
failures
-                                            sh "mvn -B -U -e -fae clean 
install"
-                                        }
-                            }
-                        }
-                    }
-                }
-                stage('JDK10') {
-                    steps {
-                        ws("${env.JOB_NAME}-JDK10") {
-                            checkout scm
-                            timeout(20) {
-                                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)]
-                                )
-                                        {
-                                            // Run test phase / ignore test 
failures
-                                            sh "mvn -B -U -e -fae clean 
install"
-                                        }
-
-                            }
-                        }
-                    }
-                }
-
-            }
-        }
     }
     post {
         unstable {

Reply via email to