mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 20:42:41 +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 {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
label 'papermario'
|
label agentLabel
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
Loading…
Reference in New Issue
Block a user