From 9281cc307042674fffb345c629d049941ed24334 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Thu, 30 Nov 2023 13:22:18 +0100
Subject: [PATCH] OZG-4561 rename mgm/gitops -> ozgcloud-devops/gitops;
 mgm/dokumentation -> ozgcloud-doc/dokumentation

---
 Jenkinsfile                                  | 4 ++--
 alfa-client/README.md                        | 4 ++--
 alfa-client/apps/alfa-e2e/Jenkinsfile        | 4 ++--
 alfa-client/apps/alfa-e2e/Jenkinsfile-static | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index fc9b6ef316..80a5f2282b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -287,7 +287,7 @@ String generateImageTag() {
 
 Void cloneGitopsRepo() {
     withCredentials([usernamePassword(credentialsId: 'jenkins-gitea-access-token', passwordVariable: 'TOKEN', usernameVariable: 'USER')]) {
-        sh 'git clone https://${USER}:${TOKEN}@git.ozg-sh.de/mgm/gitops.git'
+        sh 'git clone https://${USER}:${TOKEN}@git.ozg-sh.de/ozgcloud-devops/gitops.git'
     }
     configureGit()
 }
@@ -296,7 +296,7 @@ Void pushGitopsRepo() {
     withCredentials([usernamePassword(credentialsId: 'jenkins-gitea-access-token', passwordVariable: 'TOKEN', usernameVariable: 'USER')]) {
         dir("gitops") {
             if (hasUnpushedCommits()) {
-                sh 'git push https://${USER}:${TOKEN}@git.ozg-sh.de/mgm/gitops.git'
+                sh 'git push https://${USER}:${TOKEN}@git.ozg-sh.de/ozgcloud-devops/gitops.git'
             }
         }
     }
diff --git a/alfa-client/README.md b/alfa-client/README.md
index 099024e787..82815d3f01 100644
--- a/alfa-client/README.md
+++ b/alfa-client/README.md
@@ -1,8 +1,8 @@
 # Alfa Frontend
 
-Informationen zur lokalen Installation sind unter [dokumentation/Entwicklungsumgebung/README.md](./https://git.ozg-sh.de/mgm/dokumentation/src/branch/master/Entwicklungsumgebung/README.md#angular-frontend) abgelegt.
+Informationen zur lokalen Installation sind unter [dokumentation/Entwicklungsumgebung/README.md](./https://git.ozg-sh.de/ozgcloud-doc/dokumentation/src/branch/master/Entwicklungsumgebung/README.md#angular-frontend) abgelegt.
 
-Befehle und Tipps zum Umgang mit der Codebasis und zur Testerstellung liegen in [dokumentation/Entwicklung/Angular.md](./https://git.ozg-sh.de/mgm/dokumentation/src/branch/master/Entwicklung/Angular.md).
+Befehle und Tipps zum Umgang mit der Codebasis und zur Testerstellung liegen in [dokumentation/Entwicklung/Angular.md](./https://git.ozg-sh.de/ozgcloud-doc/dokumentation/src/branch/master/Entwicklung/Angular.md).
 
 ## Alfa Frontend starten
 
diff --git a/alfa-client/apps/alfa-e2e/Jenkinsfile b/alfa-client/apps/alfa-e2e/Jenkinsfile
index be41a581ad..b7f3ca932d 100644
--- a/alfa-client/apps/alfa-e2e/Jenkinsfile
+++ b/alfa-client/apps/alfa-e2e/Jenkinsfile
@@ -312,7 +312,7 @@ def cloneGitopsRepo() {
     final name = "jenkins"
 
     withCredentials([usernamePassword(credentialsId: 'jenkins-gitea-access-token', passwordVariable: 'TOKEN', usernameVariable: 'USER')]) {
-        sh 'git clone https://${USER}:${TOKEN}@git.ozg-sh.de/mgm/gitops.git'
+        sh 'git clone https://${USER}:${TOKEN}@git.ozg-sh.de/ozgcloud-devops/gitops.git'
 
         dir("gitops") {
             sh "git config user.email '${email}'"
@@ -414,7 +414,7 @@ Void pushGitopsRepo() {
         dir('gitops') {
             if (hasUnpushedCommits()) {
                 sh 'git pull'
-                sh 'git push https://${USER}:${TOKEN}@git.ozg-sh.de/mgm/gitops.git'
+                sh 'git push https://${USER}:${TOKEN}@git.ozg-sh.de/ozgcloud-devops/gitops.git'
             }
         }
     }
diff --git a/alfa-client/apps/alfa-e2e/Jenkinsfile-static b/alfa-client/apps/alfa-e2e/Jenkinsfile-static
index 519c8fdb1a..d22140c0a0 100644
--- a/alfa-client/apps/alfa-e2e/Jenkinsfile-static
+++ b/alfa-client/apps/alfa-e2e/Jenkinsfile-static
@@ -247,7 +247,7 @@ def cloneGitopsRepo() {
     final name = "jenkins"
 
     withCredentials([usernamePassword(credentialsId: 'jenkins-gitea-access-token', passwordVariable: 'TOKEN', usernameVariable: 'USER')]) {
-        sh 'git clone https://${USER}:${TOKEN}@git.ozg-sh.de/mgm/gitops.git'
+        sh 'git clone https://${USER}:${TOKEN}@git.ozg-sh.de/ozgcloud-devops/gitops.git'
 
         dir("gitops") {
             sh "git config user.email '${email}'"
@@ -304,7 +304,7 @@ Void pushGitopsRepo() {
         dir("gitops") {
             if (hasUnpushedCommits()) {
                 sh 'git pull'
-                sh 'git push https://${USER}:${TOKEN}@git.ozg-sh.de/mgm/gitops.git'
+                sh 'git push https://${USER}:${TOKEN}@git.ozg-sh.de/ozgcloud-devops/gitops.git'
             }
         }
     }
-- 
GitLab