From 00aa79a537866a712443a5854f5ed5751ec8d577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Mattm=C3=BCller?= Date: Mon, 11 Sep 2023 11:59:19 +0200 Subject: [PATCH] jobs/updateSrcRev: fixed java isse with german umlaut and variable name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- jobs/Jenkinsfile_UpdateSrcRevisions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jobs/Jenkinsfile_UpdateSrcRevisions b/jobs/Jenkinsfile_UpdateSrcRevisions index c5d68e2..423bc7b 100644 --- a/jobs/Jenkinsfile_UpdateSrcRevisions +++ b/jobs/Jenkinsfile_UpdateSrcRevisions @@ -158,13 +158,13 @@ def commitAndPushTheChanges(commonHelpers, repoDir, origBranch) { // active directory. sh(label: "Commit and push changes", returnStdout: true, script: """ 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 push -u origin ${theNewBranch} + git push -u origin ${nightlyBranch} """) } - createPR("${nightlyBranch}") usedBranch = "${nightlyBranch}" + createPR("${nightlyBranch}") } } // if changes available }