Allow dynamic configuration of branch to pull executable from.
This commit is contained in:
parent
7b52f10b15
commit
a3385a8d6c
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -85,7 +85,7 @@ def getIW4xExecutable() {
|
|||||||
$class: 'CopyArtifact',
|
$class: 'CopyArtifact',
|
||||||
filter: '*',
|
filter: '*',
|
||||||
fingerprintArtifacts: true,
|
fingerprintArtifacts: true,
|
||||||
projectName: 'iw4x/iw4x-executable/master',
|
projectName: 'iw4x/iw4x-executable/' + iw4xExecutableBranch,
|
||||||
selector: [
|
selector: [
|
||||||
$class: 'TriggeredBuildSelector',
|
$class: 'TriggeredBuildSelector',
|
||||||
allowUpstreamDependencies: false,
|
allowUpstreamDependencies: false,
|
||||||
@ -175,6 +175,7 @@ properties([
|
|||||||
[$class: "GitLabConnectionProperty", gitLabConnection: "sr0"]
|
[$class: "GitLabConnectionProperty", gitLabConnection: "sr0"]
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
gitlabBuilds(builds: ["Checkout & Versioning", "Build", "Testing", "Archiving"]) {
|
gitlabBuilds(builds: ["Checkout & Versioning", "Build", "Testing", "Archiving"]) {
|
||||||
// First though let's give this build a proper name
|
// First though let's give this build a proper name
|
||||||
stage("Checkout & Versioning") {
|
stage("Checkout & Versioning") {
|
||||||
|
Loading…
Reference in New Issue
Block a user