Fix pipeline delegation context
This commit is contained in:
2
.ci/Jenkinsfile
vendored
2
.ci/Jenkinsfile
vendored
@@ -78,6 +78,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
steps {
|
steps {
|
||||||
|
script {
|
||||||
["${env.JOB_BASE_NAME}2"].each {
|
["${env.JOB_BASE_NAME}2"].each {
|
||||||
/* Set next build number for this job. */
|
/* Set next build number for this job. */
|
||||||
def job = Jenkins.instance.getItem(it)
|
def job = Jenkins.instance.getItem(it)
|
||||||
@@ -97,3 +98,4 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user