Reorganize polling stacks to minimize messing up jobs 75/51375/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 3 Feb 2017 03:07:17 +0000 (22:07 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 3 Feb 2017 03:07:19 +0000 (22:07 -0500)
commitea8f47751adba0596b6ce961d3437e1411857453
tree425fc9becf7e101244185abeaa785a76644a02d5
parent59dcafcb4f6498c766625c63d32de3b8e6577a9f
Reorganize polling stacks to minimize messing up jobs

We could potentially mess up jobs started while we are polling for
stacks. Moving the stack polling to before we poll for active jobs might
be better. This way we might delete jobs that are already deleted but
that may be less disruptive then the other way around.

Change-Id: Iffc2c867e67893eda6fa9b0e9278354ba2d55ed8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/opendaylight-infra-cleanup-stale-stacks.sh