update Jenkinsfile for Gitops Workflow
This commit is contained in:
parent
d2b6391742
commit
642ab59f5e
|
|
@ -60,7 +60,7 @@ pipeline {
|
|||
def branches = [
|
||||
[name: "dev", overlay: "overlays/dev"],
|
||||
[name: "staging", overlay: "overlays/staging"],
|
||||
[name: "production", overlay: "overlays/production"]
|
||||
[name: "prod", overlay: "overlays/production"]
|
||||
]
|
||||
|
||||
withCredentials([usernamePassword(credentialsId: 'gitea-token-gitops', usernameVariable: 'GITEA_USER', passwordVariable: 'GITEA_PASS')]) {
|
||||
|
|
@ -106,7 +106,7 @@ pipeline {
|
|||
|
||||
post {
|
||||
success {
|
||||
echo "✅ GitOps update successful — all branches (dev, staging, production) updated!"
|
||||
echo "✅ GitOps update successful — all branches (dev, staging, prod) updated!"
|
||||
}
|
||||
failure {
|
||||
echo "❌ Pipeline failed, check Jenkins logs for details."
|
||||
|
|
|
|||
Loading…
Reference in New Issue