Update Jenkinsfile
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -76,7 +76,7 @@ spec:
|
|||||||
stage('Change values.yaml to nexus') {
|
stage('Change values.yaml to nexus') {
|
||||||
steps {
|
steps {
|
||||||
container('maven') {
|
container('maven') {
|
||||||
sh 'sed -i "s|docker.io/root/example-app:1.0.0-SNAPSHOT|localhost:5000/my-docker-repo/example-app:latest|g" target/helm/kubernetes/example-app/values.yaml'
|
sh 'sed -i "s|docker.io/root/example-app:1.0.0-SNAPSHOT|$NEXUS_DOCKER_URL/my-docker-repo/example-app:latest|g" target/helm/kubernetes/example-app/values.yaml'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user