Skip to content

Commit

Permalink
Fix release deploy job running commands on a wrong directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigonull committed Aug 26, 2024
1 parent 1731cef commit 96a73eb
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 96a73eb

Please sign in to comment.