mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
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:
parent
98e275a6e6
commit
59fc362770
@ -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()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user