Update Jenkinsfile

This commit is contained in:
2025-05-22 17:02:38 +03:00
parent 23f6e68460
commit 363bb3815c

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|$NEXUS_DOCKER_URL/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-repo-nexus-repository-manager.default.svc.cluster.local:5000/my-docker-repo/example-app:latest|g" target/helm/kubernetes/example-app/values.yaml'
}
}
}