Update Jenkinsfile
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user