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