2025-05-17 22:01:35 +00:00

24 lines
465 B
Groovy

pipeline {
agent any
environment {
ANSIBLE_INVENTORY = 'inventory.ini'
ANSIBLE_PLAYBOOK = 'update_debian.yml'
}
stages {
stage('Clone git') {
steps {
// Clonage du dépôt Git
sh "git clone https://git.zestes.fr/garfi/jenkins-update.git"
}
}
post {
always {
// Nettoyage de l'espace de travail
cleanWs()
}
}
}