mirror of https://github.com/OpenTTD/OpenTTD
Change: [Jenkinsfile] Set a git user.email and user.name before rebase (#6728)
Rebase demands both are set, otherwise it refuses to workpull/6727/head
parent
079f774fd7
commit
ce6761a6de
|
@ -49,6 +49,10 @@ node {
|
||||||
stage("Checkout") {
|
stage("Checkout") {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
|
||||||
|
// Ensure user.email and user.name is set, otherwise rebase cannot work
|
||||||
|
sh "git config user.email 'info@openttd.org'"
|
||||||
|
sh "git config user.name 'OpenTTD CI'"
|
||||||
|
|
||||||
// Ensure we also have origin/master available
|
// Ensure we also have origin/master available
|
||||||
sh "git fetch --no-tags origin master:refs/remotes/origin/master"
|
sh "git fetch --no-tags origin master:refs/remotes/origin/master"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue