You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2019/06/28 04:28:16 UTC

[maven-jenkins-lib] branch master updated: deploy only os == linux

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/maven-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
     new a726d6e  deploy only os == linux
a726d6e is described below

commit a726d6e8266ce6bb47c6fab8f44c904307befeef
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Fri Jun 28 14:28:12 2019 +1000

    deploy only os == linux
---
 vars/asfMavenTlpPlgnBuild.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index 396bf34..9eb98a1 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -36,7 +36,7 @@ def call(Map params = [:]) {
 	// minimum, LTS, current and next ea
     def jdks = params.containsKey('jdks') ? params.jdks : params.containsKey('jdk') ? params.jdk : ['7','8','11','12','13']
     def jdkMin = jdks[0];
-    def mavens = params.containsKey('maven') ? params.maven : ['3.2.x','3.3.x','3.5.x']
+    def mavens = params.containsKey('maven') ? params.maven : ['3.2.x','3.3.x','3.5.x','3.6.x']
     // def failFast = params.containsKey('failFast') ? params.failFast : true
     // Just temporarily
     def failFast = false;
@@ -133,7 +133,7 @@ def doCreateTask( os, jdk, maven, tasks, first, plan, taskContext )
   if (plan == 'build') {
       cmd += 'clean'
       cmd += 'verify'
-      if (env.BRANCH_NAME == 'master' && jdk == '8' && maven == '3.5.x') {
+      if (env.BRANCH_NAME == 'master' && jdk == '8' && maven == '3.5.x' && os == 'linux' ) {
         cmd += 'deploy'		      
       } 	      
   }