Jenkins: lib: fix unstage and deploy logic to package mirror

Commit c67a6eb542e9 ("Jenkins: lib: it is also possible that unstaging of the
amd64 binaries fail") returned early if no arm64 package was build but an amd64
package.

This resulted in valid packages not beeing deployed at all.
This commit is contained in:
Christian Poessinger 2021-06-06 12:09:48 +02:00
parent 98e275a6e6
commit 59fc362770

View File

@ -129,11 +129,8 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false) {
unstash 'binary-amd64'
unstash 'binary-arm64'
} catch (e) {
print "Unstash failed, ignoring"
println(e.toString())
print "Unstash failed, ignoring - could be because there exists no arm64 build"
currentBuild.result = 'SUCCESS'
// return here instead of throwing error to keep the build "green"
return
}
if (isCustomBuild()) {