Commit 1686c730 authored by Mariama Tambedou's avatar Mariama Tambedou

jenkinsfile dock

parent 16a2d30e
......@@ -37,6 +37,16 @@ pipeline {
}
}
stage('Deploy to ArgoCD') {
steps {
script {
bat """
argocd app sync demo-app --kubeconfig %KUBECONFIG%
"""
}
}
}
/*stage('Deploy to ArgoCD') {
steps {
script {
withCredentials([file(credentialsId: 'Kubeconfig', variable: 'KUBECONFIG')]) {
......@@ -50,7 +60,7 @@ pipeline {
}
}
}
}
}*/
post {
always {
echo "Pipeline complete."
......
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