You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2021/05/29 09:27:09 UTC

[maven-jenkins-lib] branch master updated: Skip pgpverify if it is not the deploying branch (plugin has defined Maven 3.5.0 as prerequisite)

This is an automated email from the ASF dual-hosted git repository.

rfscholte 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 e03c307  Skip pgpverify if it is not the deploying branch (plugin has defined Maven 3.5.0 as prerequisite)
e03c307 is described below

commit e03c307f2350ffa919a022fd48d974d1b9a19958
Author: rfscholte <rf...@apache.org>
AuthorDate: Sat May 29 11:26:53 2021 +0200

    Skip pgpverify if it is not the deploying branch (plugin has defined Maven 3.5.0 as prerequisite)
---
 vars/asfMavenTlpPlgnBuild.groovy | 2 +-
 vars/asfMavenTlpStdBuild.groovy  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index 2a48432..f9fa08f 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -134,7 +134,7 @@ def doCreateTask( os, jdk, maven, tasks, first, plan, taskContext )
       if (env.BRANCH_NAME == 'master' && jdk == '8' && maven == '3.6.x' && os == 'linux' ) {
         cmd += 'deploy'		      
       } else {
-	cmd += 'verify'      
+        cmd += 'verify -Dpgpverify.skip'      
       }	      
   }
   else if (plan == 'site') {
diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index 5262774..9dbae62 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -67,7 +67,7 @@ def call(Map params = [:]) {
         if (env.BRANCH_NAME == 'master' && jdk == '8' && os == 'linux' ) {
           cmd += 'deploy'
         } else {
-          cmd += 'verify'
+          cmd += 'verify -Dpgpverify.skip'
         } 
         def disablePublishers = !first
         first = false