jenkins_verify: improve build all - step 6 [1/1]
PD#SWPL-67525
Problem:
improve build all - step 6
Solution:
improve build all - step 6
Verify:
ad401_a113l
Signed-off-by: Kelvin Zhang <kelvin.zhang@amlogic.com>
Change-Id: Ifc87e3a367bf7fb21b26b40a7eda231a943bfcce
diff --git a/jenkins_verify.sh b/jenkins_verify.sh
index e6f66b0..1aa5dd2 100755
--- a/jenkins_verify.sh
+++ b/jenkins_verify.sh
@@ -175,8 +175,10 @@
# Include publish functions
source scripts/publish.sh
+echo ""
+
if [[ "$SUBMIT_TYPE" == "release" ]]; then
- echo -e "\n======== Building all packages ========"
+ echo "======== Building all packages ========"
./scripts/build_all_pkg.sh > $BUILD_LOG 2>&1
if [ "$?" -eq 0 ]; then
post_publish_packages >> $BUILD_LOG 2>&1
@@ -187,16 +189,5 @@
exit 1
fi
else
- echo -e "\n======== Building all projects ========"
source scripts/build_all.sh
- if [ "$?" -eq 0 ]; then
- grep -qr "warning: " $BUILD_LOG
- [ "$?" -eq 0 ] && cat $BUILD_LOG && echo "Aborted with warnings!" && exit 1
- [[ "$SUBMIT_TYPE" == "daily" ]] && post_publish_images >> $BUILD_LOG 2>&1
- echo "======== Done ========"
- else
- cat $BUILD_LOG
- echo "Aborted with errors!"
- exit 1
- fi
fi