X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=jjb%2Fodl-openstack-cleanup-stale-nodes.sh;h=25cf88c70f2c33b5b63404719e81d898b60344c6;hb=ec0e3d3a090e77d2bbb0d3b4531dc46669353362;hp=f9af3c8e168918ceec06153f9bc65551ec6ca2a4;hpb=425e62c1c85809ef532208db4b16281a2abf3ae5;p=releng%2Fbuilder.git diff --git a/jjb/odl-openstack-cleanup-stale-nodes.sh b/jjb/odl-openstack-cleanup-stale-nodes.sh index f9af3c8e1..25cf88c70 100644 --- a/jjb/odl-openstack-cleanup-stale-nodes.sh +++ b/jjb/odl-openstack-cleanup-stale-nodes.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l # SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 - 2018 The Linux Foundation and others. @@ -10,9 +10,6 @@ ############################################################################## echo "---> Cleanup stale nodes" -# shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091 -source "/tmp/v/openstack/bin/activate" - # Todo: As a safe check we could obtain the list of active jobs from Jenkins and # compute the checksum from $JOB_NAME to check if any active nodes exist and # skip deleting those nodes. This step may not be required since there is already