From: Jan-Simon Moeller Date: Mon, 10 Aug 2020 15:17:30 +0000 (+0200) Subject: Use master as distro for sandbox branches X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fsandbox%2Fjsmoeller%2Fdistro-sandbox;p=ci-management.git Use master as distro for sandbox branches Signed-off-by: Jan-Simon Moeller Change-Id: Ieadb93820dcb1ee07d7b59ef99a8341d36d9f172 --- diff --git a/jjb/common/include-agl-auto-conf.sh b/jjb/common/include-agl-auto-conf.sh index 20f5d9fb..02e2c58a 100644 --- a/jjb/common/include-agl-auto-conf.sh +++ b/jjb/common/include-agl-auto-conf.sh @@ -10,6 +10,7 @@ if test x"" = x"${GERRIT_BRANCH}"; then export DISTROBRANCH="master" else export DISTROBRANCH="${GERRIT_BRANCH}" + grep -q sandbox <<< $GERRIT_BRANCH && export DISTROBRANCH="master" fi cat << EOF >> conf/auto.conf PREMIRRORS = "\ diff --git a/jjb/housekeeping/include-template.sh b/jjb/housekeeping/include-template.sh new file mode 100644 index 00000000..e69de29b diff --git a/jjb/housekeeping/template.yaml b/jjb/housekeeping/template.yaml new file mode 100644 index 00000000..5b239c7b --- /dev/null +++ b/jjb/housekeeping/template.yaml @@ -0,0 +1,28 @@ +--- +- 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