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

rantunes pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-apps.git


The following commit(s) were added to refs/heads/10.0.x by this push:
     new 4dfd20f76 Fix release deploy job running commands on a wrong directory 
(#2091)
4dfd20f76 is described below

commit 4dfd20f764bd9c2126dde4a077d0f4d6c80e4d1c
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Mon Aug 26 15:09:02 2024 -0300

    Fix release deploy job running commands on a wrong directory (#2091)
---
 .ci/jenkins/Jenkinsfile.deploy | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy
index cd1568864..f29d52ca9 100644
--- a/.ci/jenkins/Jenkinsfile.deploy
+++ b/.ci/jenkins/Jenkinsfile.deploy
@@ -88,14 +88,12 @@ pipeline {
             }
             steps {
                 script {
-                    dir(getRepoName()) {
-                        configFileProvider([configFile(fileId: 
env.MAVEN_SETTINGS_CONFIG_FILE_ID, variable: 'MAVEN_SETTINGS_FILE')]){
-                            maven.mvnVersionsUpdateParentAndChildModules(
-                                
getMavenCommand().withSettingsXmlFile(MAVEN_SETTINGS_FILE),
-                                getProjectVersion(),
-                                !isRelease()
-                            )
-                        }
+                    configFileProvider([configFile(fileId: 
env.MAVEN_SETTINGS_CONFIG_FILE_ID, variable: 'MAVEN_SETTINGS_FILE')]){
+                        maven.mvnVersionsUpdateParentAndChildModules(
+                            
getMavenCommand().withSettingsXmlFile(MAVEN_SETTINGS_FILE),
+                            getProjectVersion(),
+                            !isRelease()
+                        )
                     }
                 }
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to