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 )