Use pipeline-agent
This commit is contained in:
parent
8c6b79ac97
commit
0e63817065
|
@ -76,8 +76,9 @@ echo "Configured dynamic stages: ${dynamicStages.inspect()}"
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
// see https://jenkins.io/doc/book/pipeline/syntax/#agent
|
// see https://jenkins.io/doc/book/pipeline/syntax/#agent
|
||||||
agent any
|
agent {
|
||||||
|
label 'pipeline-agent'
|
||||||
|
}
|
||||||
// see https://jenkins.io/doc/book/pipeline/syntax/#environment
|
// see https://jenkins.io/doc/book/pipeline/syntax/#environment
|
||||||
environment {
|
environment {
|
||||||
JOB_OPTIONS = "${options}"
|
JOB_OPTIONS = "${options}"
|
||||||
|
|
Loading…
Reference in New Issue