Always update Jenkins node label before deletion.
* modules/openstack_project/files/jenkins_job_builder/config/devstack-gate.yaml: Run the devstack-vm-inprogress.py script before the devstack-vm-delete.py script to ensure the Jenkins slave node label is updated before we delete the node on the cloud provider end. Change-Id: I1c9bd3ff369b4e595a041ccc687db060a11691e5 Reviewed-on: https://review.openstack.org/29844 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
This commit is contained in:
parent
6f686f2b09
commit
f9733b647d
@ -573,6 +573,9 @@
|
||||
export STATSD_HOST="graphite.openstack.org"
|
||||
export STATSD_PORT=8125
|
||||
export PYTHONUNBUFFERED=true
|
||||
set +e
|
||||
$WORKSPACE/devstack-gate/devstack-vm-inprogress.py $DEVSTACK_NODE_NAME
|
||||
set -e
|
||||
$WORKSPACE/devstack-gate/devstack-vm-delete.py $DEVSTACK_NODE_NAME
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user