Skip to content

Commit

Permalink
Fix release deploy job running commands on a wrong directory (#2091)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigonull authored Aug 26, 2024
1 parent 1731cef commit 4dfd20f
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .ci/jenkins/Jenkinsfile.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -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()
)
}
}
}
Expand Down

0 comments on commit 4dfd20f

Please sign in to comment.