From dae197fdfe1bc36599ba9b80097151dd14b21ffe Mon Sep 17 00:00:00 2001 From: andyjk15 Date: Sat, 15 Feb 2020 17:01:21 +0000 Subject: [PATCH] [15.02.20] More config testing for pipeline --- configuration/{templates => kubernetes}/deploy-config.yaml | 0 configuration/pipelines/build.groovy | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename configuration/{templates => kubernetes}/deploy-config.yaml (100%) diff --git a/configuration/templates/deploy-config.yaml b/configuration/kubernetes/deploy-config.yaml similarity index 100% rename from configuration/templates/deploy-config.yaml rename to configuration/kubernetes/deploy-config.yaml diff --git a/configuration/pipelines/build.groovy b/configuration/pipelines/build.groovy index 7fae6ef..499fa94 100644 --- a/configuration/pipelines/build.groovy +++ b/configuration/pipelines/build.groovy @@ -83,7 +83,9 @@ try { stage('Build Image') { mvn 'clean package -DskipTests' - sh "sed -i 's/BUILD_NUMBER/${env.APPLICATION_VERSION}/g' configuration/deploy-config.yaml" + sh "sed -i 's/BUILD_NUMBER/${env.APPLICATION_VERSION}/g' configuration/kubernetes/deploy-config.yaml" + + sh "cat configuration/kubernetes/deploy-config.yaml" // Update build config for kubernetes // Update Service yaml for kubernetes // Update route yaml for kubernetes