From 3cf2cc848d6d2d53ac293f4753b2a27b58463bf9 Mon Sep 17 00:00:00 2001 From: andyjk15 Date: Sat, 15 Feb 2020 21:31:03 +0000 Subject: [PATCH] [15.02.20] Missing Strings --- configuration/pipelines/build.groovy | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/configuration/pipelines/build.groovy b/configuration/pipelines/build.groovy index fdfbb35..f7e5d2a 100644 --- a/configuration/pipelines/build.groovy +++ b/configuration/pipelines/build.groovy @@ -77,18 +77,13 @@ try { sh "sed -i 's/RESOURCE_NAME/${env.APPLICATION_NAME}/g' configuration/kubernetes/deploy-config.yaml" sh "sed -i 's/LABEL/${env.APPLICATION_LABEL}/g' configuration/kubernetes/deploy-config.yaml" - sh "sed -it s/RESOURCE_NAME/${env.APPLICATION_NAME}/g' configuration/kubernetes/servive.yaml" - sh "sed -it s/LABEL/${env.APPLICATION_LABEL}/g' configuration/kubernetes/servive.yaml" - sh "cat configuration/kubernetes/service.yaml" - // Update build config for kubernetes - // Update Service yaml for kubernetes - // Update route yaml for kubernetes + sh "sed -it 's/RESOURCE_NAME/${env.APPLICATION_NAME}/g' configuration/kubernetes/servive.yaml" + sh "sed -it 's/LABEL/${env.APPLICATION_LABEL}/g' configuration/kubernetes/servive.yaml" // Run kubernetes start-build } stage('Deploy') { - // Update/map secret.yaml if needed deploy( 1 )