Ignore push regression images error

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
quicksilver 2021-01-25 09:47:32 +08:00 committed by yefu.chen
parent 9fe672ab86
commit 73aeedc2bd

View File

@ -21,7 +21,7 @@ try {
try {
withCredentials([usernamePassword(credentialsId: "${env.DOCKER_CREDENTIALS_ID}", usernameVariable: 'DOCKER_USERNAME', passwordVariable: 'DOCKER_PASSWORD')]) {
sh 'docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD} ${DOKCER_REGISTRY_URL}'
sh 'docker-compose push regression'
sh 'docker-compose push regression || true'
}
} catch (exc) {
throw exc