Commit 887f9c36 authored by Khady Diagne's avatar Khady Diagne

Update Jenkinsfileargo

parent b6f08fab
pipeline {
environment {
imagename = "khadydiagne/odoo-app" // Nom de l'image Docker
imagename = 'khadydiagne/odoo-app' // Nom de l'image Docker
registryCredential = 'dockerhub' // Identifiants Docker Hub stockés dans Jenkins
}
......@@ -34,12 +34,12 @@ pipeline {
}
}
}
}
stage('ArgoCD Deployment') {
steps {
script {
bat 'kubectl apply -f argocd_deploy.yaml --validate=false '
// Appliquer le fichier YAML pour le déploiement avec ArgoCD
bat 'kubectl apply -f argocd_deploy.yaml --validate=false'
}
}
}
......@@ -52,7 +52,6 @@ pipeline {
bat 'kubectl get pv'
bat 'kubectl get pvc'
bat 'kubectl get hpa'
}
}
}
......@@ -66,3 +65,4 @@ pipeline {
echo 'Le pipeline a échoué.'
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment