summaryrefslogtreecommitdiff
path: root/.tools
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-25 04:42:25 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-25 04:42:25 -0200
commitb1370ded65989ecadba740227dd851b4abdc9412 (patch)
tree1407711f4b7db810089734c08555c6e691004bea /.tools
parent999ee2333d58e9fa0768c186e12b8a9cb213ca1a (diff)
downloadserverdata-b1370ded65989ecadba740227dd851b4abdc9412.tar.gz
serverdata-b1370ded65989ecadba740227dd851b4abdc9412.tar.bz2
serverdata-b1370ded65989ecadba740227dd851b4abdc9412.tar.xz
serverdata-b1370ded65989ecadba740227dd851b4abdc9412.zip
Test a new CI
Diffstat (limited to '.tools')
-rw-r--r--.tools/jobs/licensecheck.sh26
1 files changed, 26 insertions, 0 deletions
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