mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 00:42:34 +01:00
Jenkins fix
This commit is contained in:
parent
8081c27cc0
commit
00861d0a5e
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -1,6 +1,13 @@
|
||||
def agentLabel
|
||||
if (BRANCH_NAME == "master") {
|
||||
agentLabel = "master"
|
||||
} else {
|
||||
agentLabel = "papermario"
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'papermario'
|
||||
label agentLabel
|
||||
}
|
||||
|
||||
stages {
|
||||
|
Loading…
Reference in New Issue
Block a user