From 547149502b17b3df55f1a2d6bb19e3b15d32ec05 Mon Sep 17 00:00:00 2001 From: konsthol Date: Mon, 26 May 2025 11:08:56 +0300 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 50afda3..58e18a9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -80,24 +80,10 @@ spec: } } } - stage('Change values.yaml to nexus') { - steps { - container('maven') { - sh 'sed -i "s|docker.io/root/example-app:1.0.0-SNAPSHOT|localhost:31050/my-docker-repo/example-app:latest|g" target/helm/kubernetes/example-app/values.yaml' - } - } - } - stage('Change deployment.yaml to include nexus-secret') { - steps { - container('maven') { - sh 'sed -i "/containers:/i\\ imagePullSecrets:\\n - name: nexus-secret" target/helm/kubernetes/example-app/templates/deployment.yaml' - } - } - } stage('Make chart') { steps { container('helm') { - sh 'helm package target/helm/kubernetes/example-app' + sh 'helm package example-app-helm-chart/example-app' } } }