From 856cfb1bbb41b34f5d66ae29bc0a7da23c93c9c6 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Thu, 30 Nov 2023 14:38:38 +0100
Subject: [PATCH] OZG-4624 adjust gitops repo; fix naming

---
 Jenkinsfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 99b530a..2946f72 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -259,7 +259,7 @@ Void setNewTestVersion() {
 
 Void setNewOzgOperatorVersion(String environment) {
     dir("gitops") {
-        def envFile = "${environment}/application/values/ozg-operator-values.yaml"
+        def envFile = "${environment}/application/values/ozgcloud-keycloak-operator-values.yaml"
         def envVersions = readYaml file: envFile
 
         envVersions.ozg_operator.image.tag = IMAGE_TAG
@@ -287,7 +287,7 @@ Void pushNewGitopsVersion(String environment) {
             sh "git add ${environment}/application/values/ozg-operator-values.yaml"
 
             sh "git commit -m 'jenkins rollout ${environment} ozg-operator version ${IMAGE_TAG}'"
-            sh 'git push https://${USER}:${TOKEN}@git.ozg-sh.de/ozgcloud-gitops/gitops.git'
+            sh 'git push https://${USER}:${TOKEN}@git.ozg-sh.de/ozgcloud-devops/gitops.git'
         }
     }
 }
@@ -308,7 +308,7 @@ Void configureGit() {
 
 Void cloneGitopsRepo() {
     withCredentials([usernamePassword(credentialsId: 'jenkins-gitea-access-token', passwordVariable: 'TOKEN', usernameVariable: 'USER')]) {
-        sh 'git clone https://${USER}:${TOKEN}@git.ozg-sh.de/ozgcloud-gitops/gitops.git'
+        sh 'git clone https://${USER}:${TOKEN}@git.ozg-sh.de/ozgcloud-devops/gitops.git'
     }
 
     configureGit()
-- 
GitLab