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:
parent
b93c05ff47
commit
00aa79a537
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue