update Jenkinsfile for Gitops Workflow

This commit is contained in:
Syifa 2025-10-23 18:03:34 +07:00
parent d2b6391742
commit 642ab59f5e
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -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."