rollback
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -8,6 +8,14 @@ pipeline {
|
|||||||
ANSIBLE_PLAYBOOK_REBOOT = 'jenkins-update/reboot_backup.yml'
|
ANSIBLE_PLAYBOOK_REBOOT = 'jenkins-update/reboot_backup.yml'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('Clone git') {
|
||||||
|
steps {
|
||||||
|
// Clonage du dépôt Git
|
||||||
|
sh "git clone https://git.zestes.fr/jules/jenkins-update.git"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Mise à jour des machines Debian') {
|
stage('Mise à jour des machines Debian') {
|
||||||
steps {
|
steps {
|
||||||
// Construction et exécution de la commande Ansible
|
// Construction et exécution de la commande Ansible
|
||||||
|
|||||||
Reference in New Issue
Block a user