fix: show build error
Some checks failed
ci/woodpecker/push/sync Pipeline was successful
ci/woodpecker/manual/sync Pipeline was successful
ci/woodpecker/manual/build-wifi Pipeline failed
ci/woodpecker/manual/build-lte unknown status
ci/woodpecker/manual/copy unknown status

This commit is contained in:
nyyu 2023-03-26 12:57:31 +02:00
parent 04ab205c03
commit 1e69ae3a1f
2 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ pipeline:
commands: commands:
- cd /build - cd /build
- find /build/out/target/product/$device -type f -name '*.prop' -exec rm -vf {} + - 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: volumes:
- *build_vol - *build_vol
- *tools_vol - *tools_vol
@ -31,4 +31,4 @@ pipeline:
depends_on: depends_on:
- sync - sync
- build-wifi - build-wifi

View file

@ -20,7 +20,7 @@ pipeline:
commands: commands:
- cd /build - cd /build
- find /build/out/target/product/$device -type f -name '*.prop' -exec rm -vf {} + - 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: volumes:
- *build_vol - *build_vol
- *tools_vol - *tools_vol
@ -30,4 +30,4 @@ pipeline:
- cron - cron
depends_on: depends_on:
- sync - sync