diff --git a/Jenkinsfile b/Jenkinsfile index 9bc48d2..ebdc453 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,9 +1,10 @@ pipeline { - agent none - node { - ansiblePlaybook( - playbook: 'main.yaml', - credentialsId: 'onedrop-vetinari' - ) + agent { + node { + ansiblePlaybook( + playbook: 'main.yaml', + credentialsId: 'onedrop-vetinari' + ) + } } }