aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-auto-conf-cvscheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/common/include-agl-auto-conf-cvscheck.sh')
-rw-r--r--jjb/common/include-agl-auto-conf-cvscheck.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/jjb/common/include-agl-auto-conf-cvscheck.sh b/jjb/common/include-agl-auto-conf-cvscheck.sh
new file mode 100644
index 00000000..a5dc135a
--- /dev/null
+++ b/jjb/common/include-agl-auto-conf-cvscheck.sh
@@ -0,0 +1,15 @@
+# (c) 2017 Jan-Simon Moeller dl9pf(at)gmx.de
+# License GPLv2
+
+################################################################################
+## Add archiver
+################################################################################
+
+# only morty and newer support the cve-check, so check for master branch
+
+if [ x"master" = x"$GERRIT_BRANCH" ] ; then
+
+# archive sources within tmp/deploy/
+echo '' >> conf/auto.conf
+echo 'INHERIT += "cve-check"' >> conf/auto.conf
+fi \ No newline at end of file