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-redback-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 4579c8c  add junit record for jdk11
4579c8c is described below

commit 4579c8cbcde57055331d9047c4f1a8212d5198d6
Author: olivier lamy <[email protected]>
AuthorDate: Fri Dec 14 12:08:31 2018 +1000

    add junit record for jdk11
    
    Signed-off-by: olivier lamy <[email protected]>
---
 Jenkinsfile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 41b999c..8f0f5ee 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -43,7 +43,7 @@ pipeline {
                 stage('BuildAndDeploy-JDK8') {
                     steps {
                         timeout(120) {
-                            mavenBuild(buildJdk,"mvn clean deploy -B -U -e 
-fae -T2",
+                            mavenBuild(buildJdk,"clean deploy -U -fae",
                                        [artifactsPublisher(disabled: false),
                                         junitPublisher(disabled: false, 
ignoreAttachments: false),
                                         pipelineGraphPublisher(disabled: 
false)])
@@ -61,7 +61,8 @@ pipeline {
                         ws("${env.JOB_NAME}-JDK11") {
                             checkout scm
                             timeout(120) {
-                                mavenBuild(buildJdk11,"mvn clean install -B -U 
-e -fae -T2", [])
+                                mavenBuild(buildJdk11,"clean install -U -fae",
+                                           [junitPublisher(disabled: false, 
ignoreAttachments: false)])
                             }
                         }
                     }
@@ -101,7 +102,7 @@ def mavenBuild(jdk, cmdline, options) {
               options: options
     )
         {
-            sh "$cmdline"
+            sh "mvn -V -B -T3 -e -Dmaven.test.failure.ignore=true $cmdline"
         }
 }
 

Reply via email to