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

Add: [Jenkinsfile] rebase the pull-request on top of master (#6720)

This allows PRs to be a bit older, but still validate the correct result
This commit is contained in:
Patric Stout
2018-04-14 22:14:10 +02:00
committed by GitHub
parent bd18951db1
commit 158eed669a

3
Jenkinsfile vendored
View File

@@ -52,6 +52,9 @@ node {
// Ensure we also have origin/master available
sh "git fetch --no-tags origin master:refs/remotes/origin/master"
// Try to rebase to origin/master; if this fails, fail the CI
sh "git rebase origin/master"
stash name: "source", useDefaultExcludes: false
}