build.sh: Changes from review.
http://fisheye.digi.com:8060/cru/CR-DEL-28#CFR-517 Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
7bb61a45b9
commit
db55ff5a32
|
|
@ -66,10 +66,12 @@ copy_images() {
|
|||
[ -z "${DY_BUILD_VARIANTS}" ] && error "DY_BUILD_VARIANTS not specified"
|
||||
[ -z "${DY_PLATFORMS}" ] && error "DY_PLATFORMS not specified"
|
||||
[ -z "${DY_REVISION}" ] && error "DY_REVISION not specified"
|
||||
[ -z "${DY_TARGET}" ] && DY_TARGET="del-image-minimal"
|
||||
[ -z "${DY_USE_MIRROR}" ] && error "DY_USE_MIRROR not specified"
|
||||
[ -z "${WORKSPACE}" ] && error "WORKSPACE not specified"
|
||||
|
||||
# Set default build target if Jenkins does not set it
|
||||
[ -z "${DY_TARGET}" ] && DY_TARGET="del-image-minimal"
|
||||
|
||||
# Per-platform variants
|
||||
while read _pl _var; do
|
||||
[ "${DY_BUILD_VARIANTS}" = "false" ] && _var="DONTBUILDVARIANTS"
|
||||
|
|
|
|||
Loading…
Reference in New Issue