From b2fe08408eb406e32b5e01667a4426910b8ae6c2 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Sat, 8 Apr 2017 09:47:18 -0700 Subject: [PATCH] Jenkinsfile: always attempt --ci-upload Sometimes there are legitimately only bottles for < 3 versions of macOS. --- Jenkinsfile | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 099f229389b..7d10989e305 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -89,19 +89,17 @@ try { stash_passed = false } - if (stash_passed) { - try { - withCredentials([[ - $class: 'UsernamePasswordMultiBinding', - credentialsId: '5b6903a9-9f39-4c1b-9de6-ba0dd99c82a0', - passwordVariable: 'BINTRAY_KEY', usernameVariable: 'BINTRAY_USER']]) { - test_bot("--ci-upload") - } - } - finally { - cleanup() + try { + withCredentials([[ + $class: 'UsernamePasswordMultiBinding', + credentialsId: '5b6903a9-9f39-4c1b-9de6-ba0dd99c82a0', + passwordVariable: 'BINTRAY_KEY', usernameVariable: 'BINTRAY_USER']]) { + test_bot("--ci-upload") } } + finally { + cleanup() + } } } }