Skip to content
Snippets Groups Projects
Commit ea335bf4 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4183 adjust gitops repo

parent 25c0ba55
Branches
Tags
No related merge requests found
...@@ -343,7 +343,7 @@ Void configureGit() { ...@@ -343,7 +343,7 @@ Void configureGit() {
Void cloneGitopsRepo() { Void cloneGitopsRepo() {
withCredentials([usernamePassword(credentialsId: 'jenkins-gitea-access-token', passwordVariable: 'TOKEN', usernameVariable: 'USER')]) { 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() configureGit()
...@@ -367,7 +367,7 @@ Void pushNewGitopsVersion(String environment) { ...@@ -367,7 +367,7 @@ Void pushNewGitopsVersion(String environment) {
sh "git add ${environment}/application/values/user-manager-values.yaml" sh "git add ${environment}/application/values/user-manager-values.yaml"
sh "git commit -m 'jenkins rollout ${environment} user-manager version ${IMAGE_TAG}'" sh "git commit -m 'jenkins rollout ${environment} user-manager version ${IMAGE_TAG}'"
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'
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment