mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 11:23:21 +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:
parent
bd18951db1
commit
158eed669a
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -52,6 +52,9 @@ node {
|
|||||||
// 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"
|
||||||
|
|
||||||
|
// Try to rebase to origin/master; if this fails, fail the CI
|
||||||
|
sh "git rebase origin/master"
|
||||||
|
|
||||||
stash name: "source", useDefaultExcludes: false
|
stash name: "source", useDefaultExcludes: false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user