Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ieadb93820dcb1ee07d7b59ef99a8341d36d9f172
export DISTROBRANCH="master"
else
export DISTROBRANCH="${GERRIT_BRANCH}"
+ grep -q sandbox <<< $GERRIT_BRANCH && export DISTROBRANCH="master"
fi
cat << EOF >> conf/auto.conf
PREMIRRORS = "\
--- /dev/null
+---
+- project:
+ name: snapshot-jjb-template
+ jobs:
+ - snapshot-jjb-template
+
+- job-template:
+ name: 'snapshot-jjb-template'
+ project-type: freestyle
+ concurrent: false
+ node: agl-test-slave
+
+ build-discarder:
+ days-to-keep: 30
+ num-to-keep: 40
+ artifact-days-to-keep: -1
+ artifact-num-to-keep: 5
+
+# triggers:
+# - timed: '@weekly'
+
+ wrappers:
+ - agl-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ builders:
+ - shell:
+ !include-raw-escape: include-template.sh