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 877c104 fix
877c104 is described below
commit 877c104fb8194fe8211accac023885f334230c93
Author: Olivier Lamy <[email protected]>
AuthorDate: Mon Mar 2 21:12:02 2026 +1000
fix
Signed-off-by: Olivier Lamy <[email protected]>
---
vars/asfMavenTlpPlgnBuild.groovy | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index ca9fd7d..80dda1e 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -54,6 +54,7 @@ def call(Map params = [:]) {
taskContext['tmpWs'] = tmpWs;
taskContext['archives'] = params.archives
taskContext['siteWithPackage'] = params.containsKey('siteWithPackage') ?
params.siteWithPackage : false // workaround for MNG-7289
+ taskContext['shouldDeploy'] = shouldDeploy
Map tasks = [failFast: failFast]
boolean first = true
@@ -137,7 +138,7 @@ def doCreateTask( os, jdk, maven, tasks, first, plan,
taskContext )
if (plan == 'build') {
cmd += 'clean'
- if (shouldDeploy && jdk == '21' && maven == '3.9.x' && os == 'linux' ) {
+ if (taskContext.shouldDeploy && jdk == '21' && maven == '3.9.x' && os ==
'linux' ) {
cmd += 'deploy'
} else {
cmd += 'verify -Dpgpverify.skip'