You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2025/12/16 16:46:50 UTC
(sling-tooling-jenkins) 01/01: SLING-13034 - Show Maven details when building on Jenkins
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch issue/SLING-13034
in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git
commit dd4c329f7ed44255e73deb2ef2c94fe8eb37e452
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Tue Dec 16 17:45:14 2025 +0100
SLING-13034 - Show Maven details when building on Jenkins
---
vars/slingOsgiBundleBuild.groovy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index d26b6f9..0393d3d 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -109,7 +109,7 @@ def call(Map params = [:]) {
withMaven(maven: globalConfig.mvnVersion,
jdk: jenkinsJdkLabel(referenceJdkVersion, globalConfig),
publisherStrategy: 'EXPLICIT') {
- String mvnCommand = "mvn -U -B -e clean compile ${additionalMavenParams(jobConfig)}"
+ String mvnCommand = "mvn --show-version -U -B -e clean compile ${additionalMavenParams(jobConfig)}"
if (isUnix()) {
sh mvnCommand
} else {
@@ -204,7 +204,7 @@ def defineStage(def globalConfig, def jobConfig, def jdkVersion, def operatingSy
openTasksPublisher(disabled: !isReferenceStage),
dependenciesFingerprintPublisher(disabled: !isReferenceStage)
] ) {
- String mvnCommand = "mvn -U -B -e clean ${goal} ${additionalMavenParams} -Dci"
+ String mvnCommand = "mvn --show-version -U -B -e clean ${goal} ${additionalMavenParams} -Dci"
if (isUnix()) {
sh mvnCommand
} else {