From b1370ded65989ecadba740227dd851b4abdc9412 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 25 Dec 2018 04:42:25 -0200 Subject: Test a new CI --- .tools/jobs/licensecheck.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .tools/jobs/licensecheck.sh (limited to '.tools/jobs') diff --git a/.tools/jobs/licensecheck.sh b/.tools/jobs/licensecheck.sh new file mode 100644 index 000000000..28cd11993 --- /dev/null +++ b/.tools/jobs/licensecheck.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +aptget_update +aptget_install git-core gcc ca-certificates grep python + + +source ./.tools/scripts/init.sh + +do_init_data + +do_init_tools + +cd tools/licensecheck + +./serverdata.sh # >license.log + +#export RES=$(cat license.log) +#if [[ -n "${RES}" ]]; then +# echo "Detected missing licenses." +# cat license.log +# echo "Estimated total missing licenses:" +# wc -l license.log +# exit 1 +#fi +echo "Exiting with status zero because licensecheck errors are not considered critical" +exit 0 -- cgit v1.2.3-70-g09d2