Skip to content

Commit 8a88826

Browse files
committed
added else to properly separate V1 and V2
1 parent eeb2ee2 commit 8a88826

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Jenkinsfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,13 @@ pipeline {
2929
steps {
3030
script {
3131
git branch:'5.6_homer', credentialsId: 'jenkins-aws-user', url: 'https://github.com/LearnWithHomer/squidex'
32-
if (params.namespace == "content-v1"){
32+
if (params.namespace == "content-v1") {
3333
full_image_name = "${upstream_image_name}:${upstream_image_tag}"
3434
}
35-
full_image_name = "${homer_image_name}:${tag}"
35+
else {
36+
// For V2
37+
full_image_name = "${homer_image_name}:${tag}"
38+
}
3639
cluster = params.cluster
3740
namespace = params.namespace
3841
helm_data_file = "${cluster}/${namespace}.yaml"

0 commit comments

Comments
 (0)