Jenkinsfile: always attempt --ci-upload

Sometimes there are legitimately only bottles for < 3 versions of macOS.
master
ilovezfs 2017-04-08 09:47:18 -07:00 committed by GitHub
parent 24b548ed77
commit b2fe08408e
1 changed files with 9 additions and 11 deletions

20
Jenkinsfile vendored
View File

@ -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()
}
}
}
}