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

ppalaga pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 14b4bfd851c Fixup Workaround INFRA-24713 in the deploy script rather 
than for all possible builds
14b4bfd851c is described below

commit 14b4bfd851cdcf83d55f90e97bd419d8dac8a447
Author: Peter Palaga <ppal...@redhat.com>
AuthorDate: Fri Jun 23 20:59:30 2023 +0200

    Fixup Workaround INFRA-24713 in the deploy script rather than for all
    possible builds
---
 Jenkinsfile.deploy | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile.deploy b/Jenkinsfile.deploy
index 376a5ba63a7..e0dfa3d3693 100644
--- a/Jenkinsfile.deploy
+++ b/Jenkinsfile.deploy
@@ -66,9 +66,11 @@ pipeline {
                 }
             }
             steps {
-                // Workaround https://issues.apache.org/jira/browse/INFRA-24713
-                def text = readFile ".mvn/wrapper/maven-wrapper.properties"
-                text.replaceAll("distributionUrl=.*", 
"https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.8/apache-maven-3.8.8-bin.zip";)
+                script {
+                    // Workaround 
https://issues.apache.org/jira/browse/INFRA-24713
+                    def text = readFile ".mvn/wrapper/maven-wrapper.properties"
+                    text.replaceAll("distributionUrl=.*", 
"https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.8/apache-maven-3.8.8-bin.zip";)
+                }
 
                 sh "./mvnw $MAVEN_PARAMS -Pdeploy,apache-snapshots 
-Dmaven.test.skip.exec=true clean deploy"
             }

Reply via email to