X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjenkins-sandbox-cleanup.sh;h=e97dbe4c05745739c1d5323fa2109c0161d45489;hb=2a10c83b2d506008cc6c01c134515fb6328e1f3a;hp=c1969738d4a4d7f90f2a765246c2fac349fc0f1f;hpb=1eda455b5c9e28a98441ddd46a61035dd5f60fe6;p=releng%2Fglobal-jjb.git diff --git a/shell/jenkins-sandbox-cleanup.sh b/shell/jenkins-sandbox-cleanup.sh index c1969738..e97dbe4c 100644 --- a/shell/jenkins-sandbox-cleanup.sh +++ b/shell/jenkins-sandbox-cleanup.sh @@ -14,3 +14,11 @@ echo "---> jenkins-sandbox-cleanup.sh" set -eux -o pipefail bash -c "/usr/bin/yes 2>/dev/null || true" | jenkins-jobs -s sandbox delete-all + +# Recreate the All default view. +cat << EOF > all-view.yaml +- view: + name: All + view-type: all +EOF +jenkins-jobs -s sandbox update -v all-view.yaml