diff --git a/Jenkinsfile b/Jenkinsfile index 58b1c2313..877033679 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -321,7 +321,7 @@ void applyCustomizations() { doVersionBump = { isDevRelease, newVersion -> // Bump the poms first sh "mvn versions:set -DnewVersion=${newVersion} -DgenerateBackupPoms=false" - sh 'git add -A' + sh 'git add -u' // Then bump everything else and commit (note we need to allow dirty because of the updated poms) originalDoVersionBump(isDevRelease, newVersion, true) }