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:24:46 UTC

[maven-jenkins-lib] branch master updated: deploy SNAPSHOT only if (env.BRANCH_NAME == 'master' && jdk == '8' && maven == '3.5.x')

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 f663bbd  deploy SNAPSHOT only if  (env.BRANCH_NAME == 'master' && jdk == '8' && maven == '3.5.x')
f663bbd is described below

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

    deploy SNAPSHOT only if  (env.BRANCH_NAME == 'master' && jdk == '8' && maven == '3.5.x')
---
 vars/asfMavenTlpPlgnBuild.groovy | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index 5a6cc66..396bf34 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -133,6 +133,9 @@ 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') {
+        cmd += 'deploy'		      
+      } 	      
   }
   else if (plan == 'site') {
       cmd += 'site'