diff --git a/Jenkinsfile b/Jenkinsfile index 8505488..9e8335f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -76,9 +76,7 @@ echo "Configured dynamic stages: ${dynamicStages.inspect()}" pipeline { // see https://jenkins.io/doc/book/pipeline/syntax/#agent - agent { - label 'pipeline-agent' - } + agent any // see https://jenkins.io/doc/book/pipeline/syntax/#environment environment { JOB_OPTIONS = "${options}" diff --git a/examples/dynamic_parallel_nested b/examples/dynamic_parallel_nested index 1ee5609..54da9f3 100644 --- a/examples/dynamic_parallel_nested +++ b/examples/dynamic_parallel_nested @@ -1,4 +1,4 @@ -def apps = "job1,job2,job3,job4" +def apps = "maven-parent,gcube-bom,gx-rest" def applications = apps.split(",").findAll { it }.collect { it.trim() } def environment = env.ENVIRONMENT def version = env.VERSION @@ -20,7 +20,7 @@ for (int i = 0; i < applications.size(); i++) { } pipeline { - agent none + agent any stages { stage('Build apps(s)') { steps {