diff --git a/Jenkinsfile b/Jenkinsfile index ef04934..fc2df3c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,16 +6,16 @@ * Roberto Cirillo (ISTI-CNR) */ -def agent_root_folder = '/var/lib/jenkins/.m2' + def agent_root_folder = '/var/lib/jenkins/.m2' //locate the deploy file -def agent_deploy_file = // "${action_root}/${action_file}" + def agent_deploy_file = // "${action_root}/${action_file}" //locate the ansible home //def agent_ansible_home= '${agent_root_folder}/path/to/ansible'; //println "Querying ${actionURL}" -pipeline { + pipeline { agent { label 'CD' @@ -134,5 +134,5 @@ pipeline { } } -} + }