1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-26 07:59:09 +00:00

Change: [Jenkinsfile] Set a git user.email and user.name before rebase (#6728)

Rebase demands both are set, otherwise it refuses to work
This commit is contained in:
Patric Stout
2018-04-15 22:22:32 +02:00
committed by GitHub
parent 079f774fd7
commit ce6761a6de

4
Jenkinsfile vendored
View File

@@ -49,6 +49,10 @@ node {
stage("Checkout") {
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
sh "git fetch --no-tags origin master:refs/remotes/origin/master"