1
0
Fork 0

disable build-retry

This commit is contained in:
Wilfried Goesgens 2017-06-06 22:23:26 +02:00
parent d1ecba0d30
commit eb6cea75ae
1 changed files with 12 additions and 10 deletions

View File

@ -706,16 +706,18 @@ set -e
if [ -n "${CPACK}" ] && [ -n "${TARGET_DIR}" ]; then if [ -n "${CPACK}" ] && [ -n "${TARGET_DIR}" ]; then
${PACKAGE_MAKE} clean_packages || exit 1 ${PACKAGE_MAKE} clean_packages || exit 1
while test "${RETRY_N_TIMES}" -gt 0; do # while test "${RETRY_N_TIMES}" -gt 0; do
${PACKAGE_MAKE} packages && break ${PACKAGE_MAKE} packages
RETRY_N_TIMES=$((RETRY_N_TIMES - 1)) echo "Package built status: $?"
echo "failed to build packages - waiting 5 mins maybe the situation gets better?" #&& break
sleep 600 #RETRY_N_TIMES=$((RETRY_N_TIMES - 1))
done #echo "failed to build packages - waiting 5 mins maybe the situation gets better?"
if test "${RETRY_N_TIMES}" -eq 0; then #sleep 600
echo "building packages failed terminally" #done
exit 1 #if test "${RETRY_N_TIMES}" -eq 0; then
fi #echo "building packages failed terminally"
#exit 1
#fi
fi fi
# and install # and install