Run everyting in case of CRON

This commit is contained in:
Maurizio Vitale
2022-08-26 15:28:06 +01:00
parent 38e9cc9f41
commit 4a39161ad3

View File

@@ -4,6 +4,10 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
verifyLib=$1; verifyLib=$1;
cd $DIR/../../ cd $DIR/../../
if [ "${TRAVIS_EVENT_TYPE}" == "cron" ]; then
echo "Affected not check in case of cron"
exit 0
fi
AFFECTED_LIBS="$(nx print-affected --type=lib --select=projects --base=$BASE_HASH --head=$HEAD_HASH --plain || exit 1)" AFFECTED_LIBS="$(nx print-affected --type=lib --select=projects --base=$BASE_HASH --head=$HEAD_HASH --plain || exit 1)"
echo "Verify if affected build contains $1" echo "Verify if affected build contains $1"