diff --git a/Jenkinsfile b/Jenkinsfile index 34a3a461a15..8bed3f42e0c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -79,13 +79,13 @@ try { checkout() stash_count = 0 - try { - for (version in macos_versions) { + for (version in macos_versions) { + try { unstash version + stash_count += 1 + } + catch (err) { } - stash_count += 1 - } - catch (err) { } if (stash_count != 0) {