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 2022/08/05 09:01:29 UTC

[sling-tooling-jenkins] 01/01: SLING-11512 - Sanity check should check for updated releases/snapshots

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

rombert pushed a commit to branch feature/SLING-11512
in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git

commit 9b5d75739091e67b64b5a4e666f33d25fdd8b23b
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Aug 5 12:01:10 2022 +0300

    SLING-11512 - Sanity check should check for updated releases/snapshots
---
 vars/slingOsgiBundleBuild.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index bda30b3..10720d8 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -91,7 +91,7 @@ def call(Map params = [:]) {
                         withMaven(maven: globalConfig.mvnVersion,
                             jdk: jenkinsJdkLabel(referenceJdkVersion, globalConfig),
                             publisherStrategy: 'EXPLICIT') {
-                                sh "mvn clean compile ${additionalMavenParams(jobConfig)}"
+                                sh "mvn -U clean compile ${additionalMavenParams(jobConfig)}"
                         }
                     }
                 }