build: always cleanup downloaded artifacts to avoid mistakes

Change-Id: I9c0e8008549731798ab29a724fa8450972708be3
Signed-off-by: Timothée Ravier <[email protected]>
1 job for master in 130 minutes and 6 seconds (queued for 29 seconds)
Status Job ID Name Coverage
  Build
failed #377782479
privileged clipos
build

02:10:06

 
Name Stage Failure
failed
build Build
+ [[ -z x ]]
+ save_artifact_tar_zstd cache/clipos/5.0.0-beta.3/sdk_debian/rootfs.squashfs sdk_debian
+ local src=cache/clipos/5.0.0-beta.3/sdk_debian/rootfs.squashfs
+ local dst=sdk_debian.tar.zst
+ mkdir -p .artifacts
+ bsdtar --verbose --zstd --create --file sdk_debian.tar.zst cache/clipos/5.0.0-beta.3/sdk_debian/rootfs.squashfs
bsdtar: cache/clipos/5.0.0-beta.3/sdk_debian/rootfs.squashfs: Cannot stat: No such file or directory
bsdtar: Error exit delayed from previous errors.
ERROR: Job failed: exit code 1