From 1e69ae3a1f4b17e8c371fe77af2fd4040bd2efe2 Mon Sep 17 00:00:00 2001 From: nyyu Date: Sun, 26 Mar 2023 12:57:31 +0200 Subject: [PATCH] fix: show build error --- .woodpecker/.build-lte.yml | 4 ++-- .woodpecker/.build-wifi.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker/.build-lte.yml b/.woodpecker/.build-lte.yml index c370144..9766465 100644 --- a/.woodpecker/.build-lte.yml +++ b/.woodpecker/.build-lte.yml @@ -20,7 +20,7 @@ pipeline: commands: - cd /build - find /build/out/target/product/$device -type f -name '*.prop' -exec rm -vf {} + - - bash -c ". build/envsetup.sh && lunch lineage_$device-userdebug && mka bacon -j6" + - bash -c ". build/envsetup.sh && lunch lineage_$device-userdebug && mka bacon -j6 || cat out/build_error && exit 1" volumes: - *build_vol - *tools_vol @@ -31,4 +31,4 @@ pipeline: depends_on: - sync - - build-wifi \ No newline at end of file + - build-wifi diff --git a/.woodpecker/.build-wifi.yml b/.woodpecker/.build-wifi.yml index 6ead6fa..bb3de55 100644 --- a/.woodpecker/.build-wifi.yml +++ b/.woodpecker/.build-wifi.yml @@ -20,7 +20,7 @@ pipeline: commands: - cd /build - find /build/out/target/product/$device -type f -name '*.prop' -exec rm -vf {} + - - bash -c ". build/envsetup.sh && lunch lineage_$device-userdebug && mka bacon -j6" + - bash -c ". build/envsetup.sh && lunch lineage_$device-userdebug && mka bacon -j6 || cat out/build_error && exit 1" volumes: - *build_vol - *tools_vol @@ -30,4 +30,4 @@ pipeline: - cron depends_on: - - sync \ No newline at end of file + - sync