Update Jenkinsfile

This commit is contained in:
2025-05-22 16:27:31 +03:00
parent 6271f8bc67
commit 3f985562c4

2
Jenkinsfile vendored
View File

@@ -83,7 +83,7 @@ spec:
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'
sh 'sed -i "/containers:/i\\ imagePullSecrets:\\n - name: nexus-secret" target/helm/kubernetes/example-app/templates/deployment.yaml'
}
}
}