[15.02.20] Missing Strings

This commit is contained in:
andyjk15 2020-02-15 21:31:03 +00:00
parent 27607c793a
commit 3cf2cc848d

View File

@ -77,18 +77,13 @@ try {
sh "sed -i 's/RESOURCE_NAME/${env.APPLICATION_NAME}/g' configuration/kubernetes/deploy-config.yaml" 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 -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/RESOURCE_NAME/${env.APPLICATION_NAME}/g' configuration/kubernetes/servive.yaml"
sh "sed -it s/LABEL/${env.APPLICATION_LABEL}/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
// Run kubernetes start-build // Run kubernetes start-build
} }
stage('Deploy') { stage('Deploy') {
// Update/map secret.yaml if needed
deploy( 1 ) deploy( 1 )