Try comment out post condition
parent
80f2242b6c
commit
7bbf84cc21
|
@ -59,16 +59,16 @@ pipeline {
|
|||
docker compose cp php:/report/phpunit.xml ./phpunit.xml
|
||||
"""
|
||||
}
|
||||
post {
|
||||
success {
|
||||
script {
|
||||
docker.withRegistry('https://index.docker.io/v1/', "${DOCKER_CREDENTIALS}") {
|
||||
docker.image("${DOCKER_IDENTITY}").push()
|
||||
docker.image("${DOCKER_IDENTITY_NGINX}").push()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// post {
|
||||
// success {
|
||||
// script {
|
||||
// docker.withRegistry('https://index.docker.io/v1/', "${DOCKER_CREDENTIALS}") {
|
||||
// docker.image("${DOCKER_IDENTITY}").push()
|
||||
// docker.image("${DOCKER_IDENTITY_NGINX}").push()
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
post {
|
||||
|
|
Loading…
Reference in New Issue