Actualiser Jenkinsfile
This commit is contained in:
parent
e406e1979c
commit
51a2b01258
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -14,18 +14,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Run Ansible Playbook') {
|
||||
steps {
|
||||
script {
|
||||
// Construction de la commande Ansible
|
||||
def ansibleCommand = "ansible-playbook -i ${ANSIBLE_INVENTORY} ${ANSIBLE_PLAYBOOK}"
|
||||
// Exécution de la commande Ansible
|
||||
sh ansibleCommand
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
always {
|
||||
// Nettoyage de l'espace de travail
|
||||
|
Loading…
x
Reference in New Issue
Block a user