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

OZG-6513 update jenkinsfile

parent 45405708
No related branches found
No related tags found
No related merge requests found
......@@ -433,7 +433,7 @@ Void setNewTestVersion() {
Void setNewGitopsVersion(String environment) {
def envFile = "${environment}/application/values/alfa-values.yaml"
def commitMessage = "jenkins rollout ${environment} alfa version ${IMAGE_TAG}";
setNewGitopsVersion(envFile, commitMessage);
setNewAlfaGitopsVersion(envFile, commitMessage);
envFile = "${environment}/application/values/alfa-client-values.yaml"
commitMessage = "jenkins rollout ${environment} alfa-client version ${IMAGE_TAG}";
......@@ -443,10 +443,10 @@ Void setNewGitopsVersion(String environment) {
Void setNewBarrierefreiheitVersion() {
def envFile = "dev/namespace/namespaces/by-barrierefreiheit-dev.yaml"
def commitMessage = "jenkins rollout ${IMAGE_TAG} for Barrierefreiheit Dev"
setNewGitopsVersion(envFile, commitMessage);
setNewAlfaGitopsVersion(envFile, commitMessage);
}
Void setNewGitopsVersion(String envFile, String commitMessage) {
Void setNewAlfaGitopsVersion(String envFile, String commitMessage) {
dir("gitops") {
def envVersions = readYaml file: envFile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment