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:05:07 UTC

[maven-jenkins-lib] branch master updated: no need to execute tests twice..

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 57ecfeb  no need to execute tests twice..
57ecfeb is described below

commit 57ecfeb883ab505e061dae1f1198af59299132bd
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Fri Jun 28 16:05:04 2019 +1000

    no need to execute tests twice..
---
 vars/asfMavenTlpPlgnBuild.groovy | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index 092d9f9..eff183f 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -132,10 +132,11 @@ 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.6.x' && os == 'linux' ) {
         cmd += 'deploy'		      
-      } 	      
+      } else {
+	cmd += 'verify'      
+      }	      
   }
   else if (plan == 'site') {
       cmd += 'site'