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 06:55:06 UTC

[maven-jenkins-lib] branch master updated: this one can deploy as well

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 a18c65b  this one can deploy as well
a18c65b is described below

commit a18c65b0f16e6d25250bfdd24810ca5faae81aa6
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Fri Jun 28 16:55:02 2019 +1000

    this one can deploy as well
---
 vars/asfMavenTlpStdBuild.groovy | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index b24b436..f609a71 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -66,13 +66,11 @@ def call(Map params = [:]) {
         }
         cmd += 'clean'
         def branchName = "${env.BRANCH_NAME}"
-        //if(branchName == "master") {
-        //  cmd += 'deploy'
-        //  cmd += "-DdeployAtEnd=true"
-        //} else {
-        //  cmd += 'verify'
-        cmd += 'verify'
-        //} 
+	if (branchName == 'master' && jdk == '8' && maven == '3.6.x' && os == 'linux' ) {
+          cmd += 'deploy'
+        } else {
+          cmd += 'verify'
+        } 
         def disablePublishers = !first
         first = false
         String stageId = "${os}-jdk${jdk}"