Update Jenkinsfile

This commit is contained in:
2025-05-22 16:25:19 +03:00
parent 19a6ba1979
commit 6271f8bc67

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