mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
b76bea18a4
commit
3bbff51c67
1 changed files with 1 additions and 5 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -42,13 +42,9 @@ try {
|
||||||
}
|
}
|
||||||
node('jenkins-slave-skopeo') {
|
node('jenkins-slave-skopeo') {
|
||||||
|
|
||||||
stage('Clair Container Vulnerability Scan') {
|
stage('Clair Container Vulnerability Scan') {
|
||||||
steps {
|
|
||||||
sh "#oc login -u $ocuser -p $ocpass --insecure-skip-tls-verify https://$ocp 2>&1"
|
|
||||||
|
|
||||||
sh 'skopeo --debug copy --src-creds="$(oc whoami)":"$(oc whoami -t)" --src-tls-verify=false --dest-tls-verify=false' + " --dest-creds=$quayUser:$quayPassword docker://docker-registry.default.svc:5000/cicd/spring-petclinic:latest docker://quay.io/$quayUser/spring-petclinic:latest"
|
sh 'skopeo --debug copy --src-creds="$(oc whoami)":"$(oc whoami -t)" --src-tls-verify=false --dest-tls-verify=false' + " --dest-creds=$quayUser:$quayPassword docker://docker-registry.default.svc:5000/cicd/spring-petclinic:latest docker://quay.io/$quayUser/spring-petclinic:latest"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
stage("Tag DEV") {
|
stage("Tag DEV") {
|
||||||
echo "Tag image to DEV"
|
echo "Tag image to DEV"
|
||||||
|
|
Loading…
Reference in a new issue