Build only on agents labeled as 'pipeline-agent'.
This commit is contained in:
parent
7aae11e022
commit
804f285b82
|
@ -32,7 +32,7 @@ echo "Use local repo at ${maven_local_repo_path}"
|
|||
|
||||
pipeline {
|
||||
// see https://jenkins.io/doc/book/pipeline/syntax/#agent
|
||||
agent any
|
||||
agent { label 'pipeline-agent' }
|
||||
|
||||
// see https://jenkins.io/doc/book/pipeline/syntax/#environment
|
||||
environment {
|
||||
|
|
Loading…
Reference in New Issue