+
+###########################
+# JENKINS SANDBOX CLEANUP #
+###########################
+
+- lf_jenkins_sandbox_cleanup: &lf_jenkins_sandbox_cleanup
+ name: lf-jenkins-sandbox-cleanup
+
+ ######################
+ # Default parameters #
+ ######################
+
+ build-timeout: 30
+ # Run every Saturday at 08:00 UTC
+ cron: '0 8 * * 6'
+
+ #####################
+ # Job Configuration #
+ #####################
+
+ project-type: freestyle
+ node: '{build-node}'
+ concurrent: true
+
+ parameters:
+ - lf-infra-jjb-parameters:
+ jjb-version: '{jjb-version}'
+
+ triggers:
+ - timed: '{obj:cron}'
+
+ builders:
+ - lf-infra-jjbini
+ - shell: !include-raw-escape:
+ - ../shell/jjb-install.sh
+ - ../shell/jenkins-sandbox-cleanup.sh
+ - ../shell/jjb-cleanup.sh
+
+- job-template:
+ name: '{project-name}-jenkins-sandbox-cleanup'
+ id: gerrit-jenkins-sandbox-cleanup
+ <<: *lf_jjb_common
+ # yamllint disable-line rule:key-duplicates
+ <<: *lf_jenkins_sandbox_cleanup
+
+- job-template:
+ name: '{project-name}-jenkins-sandbox-cleanup'
+ id: github-jenkins-sandbox-cleanup
+ <<: *lf_jjb_common
+ # yamllint disable-line rule:key-duplicates
+ <<: *lf_jenkins_sandbox_cleanup
+
+