Re-add All view tab after deleting all jobs&views 57/13457/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 12 Nov 2018 09:20:23 +0000 (17:20 +0800)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 19 Nov 2018 06:45:52 +0000 (14:45 +0800)
commit47714de72c423cbdc52908dad1c7ef29e2d0fd28
tree4246c21c849965d6e52e947334555183e3257d0f
parent8b56734eada742094399d6e52cbc2ddef7b39b2c
Re-add All view tab after deleting all jobs&views

This resolves the Jenkins Sandbox being left in a state where a
'00-Empty View' tab is left. This is confusing for Jenkins Sandbox
users as it will look as if the jobs they upload are not being added.

This patch requires JJB 2.8.0 otherwise the jenkins-sandbox-cleanup
job will report failed state. Despite this the primary purpose of the
job (deleting jobs and views) will be successful but needs the new
JJB version to replace the All view automatically.

Issue: RELENG-1450
Change-Id: I4ec106dc55789b7eab717e540491a94e47551852
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/lf-ci-jobs.yaml
releasenotes/notes/jenkins-sandbox-cleanup-all-view-1e008fa0b38792a5.yaml [new file with mode: 0644]
shell/jenkins-sandbox-cleanup.sh
tox.ini