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