jobs/updateSrcRev: fixed java isse with german umlaut and variable name

german umlauts caused an issue and let the job crash. Thus the
umlaut is escaped with the unicode pattern. Additionally there was
a residual of an old variable name due to a refactoring.

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmüller 2023-09-11 11:59:19 +02:00
parent b93c05ff47
commit 00aa79a537
1 changed files with 3 additions and 3 deletions

View File

@ -158,13 +158,13 @@ def commitAndPushTheChanges(commonHelpers, repoDir, origBranch) {
// active directory. // active directory.
sh(label: "Commit and push changes", returnStdout: true, script: """ sh(label: "Commit and push changes", returnStdout: true, script: """
git config --global user.email "marc.mattmueller@netmodule.com" git config --global user.email "marc.mattmueller@netmodule.com"
git config --global user.name "Marc Mattmueller" git config --global user.name "Marc Mattm\u00fcller"
git commit -m "${commitMsg}" git commit -m "${commitMsg}"
git push -u origin ${theNewBranch} git push -u origin ${nightlyBranch}
""") """)
} }
createPR("${nightlyBranch}")
usedBranch = "${nightlyBranch}" usedBranch = "${nightlyBranch}"
createPR("${nightlyBranch}")
} }
} // if changes available } // if changes available
} }