Update Jenkinsfile

This commit is contained in:
2025-05-22 16:56:14 +03:00
parent 3f985562c4
commit 23f6e68460

2
Jenkinsfile vendored
View File

@@ -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|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'
}
}
}