[15.02.20] String issues
This commit is contained in:
parent
93de25756c
commit
c12b2016f1
@ -23,7 +23,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: db-gateway
|
||||
image: REPOSITORY_IMAGE
|
||||
image: REPOSITORY/IMAGE
|
||||
env:
|
||||
- name: KUBERNETES_NAMESPACE
|
||||
valueFrom:
|
||||
|
||||
@ -83,7 +83,9 @@ try {
|
||||
stage('Build Image') {
|
||||
mvn 'clean package -DskipTests'
|
||||
|
||||
sh "sed -i 's/REPOSITORY_IMAGE/${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:${env.APPLICATION_VERSION}/g' configuration/kubernetes/deploy-config.yaml"
|
||||
sh "sed -i 's/REPOSITORY/${env.DOCKER_REPOSITORY}/g' configuration/kubernetes/deploy-config.yaml"
|
||||
sh "sed -i 's/IMAGE/${env.APPLICATION_NAME}:${env.APPLICATION_VERSION}/g' configuration/kubernetes/deploy-config.yaml"
|
||||
|
||||
|
||||
sh "cat configuration/kubernetes/deploy-config.yaml"
|
||||
// Update build config for kubernetes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user