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 <[email protected]> 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 {
