Attempt to exit script if any error in .gitlab-ci.yml
This commit is contained in:
parent
d7d1498417
commit
a40b808598
@ -37,7 +37,7 @@ fi
|
||||
sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$DIR/etc/rc.conf"
|
||||
|
||||
# Launch chroot
|
||||
sh $DIR/enter-chroot ./build
|
||||
bash $DIR/enter-chroot ./build || exit 1
|
||||
|
||||
# Insert pkg++ configuration in chroot
|
||||
sudo mkdir -p "$DIR/opt/pkgxx/dev" && \
|
||||
|
Loading…
Reference in New Issue
Block a user