mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-13 16:56:14 +02:00
Report bazel errors rather than eating them
Change-Id: I2b767c102053f731b67e4c07f26d5af23e5169d0
This commit is contained in:
parent
24ba24aa7a
commit
69b2fed517
@ -25,8 +25,13 @@ rm -f $CATALOG
|
||||
export SHLVL=1
|
||||
|
||||
function writeCatalog {
|
||||
bazel build $* --aspects tools/build/bazel/publish_catalog.bzl%publish_catalog 2>&1 \
|
||||
| egrep "^DEBUG: .*/publish_catalog.bzl:" | cut -d\ -f3- >> $CATALOG
|
||||
if ! bazel build $* --aspects tools/build/bazel/publish_catalog.bzl%publish_catalog >/tmp/onos.catalog.bazel.out 2>&1; then
|
||||
echo Bazel build of catalog failed
|
||||
cat /tmp/onos.catalog.bazel.out
|
||||
exit 1
|
||||
fi
|
||||
|
||||
egrep "^DEBUG: .*/publish_catalog.bzl:" /tmp/onos.catalog.bazel.out | cut -d\ -f3- >> $CATALOG
|
||||
}
|
||||
|
||||
function jars {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user