Jenkinsfile: move `try` inside the unstash loop
parent
a67fb9082f
commit
cf0dccc7d4
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue