X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fodl-openstack-cleanup-stale-nodes.sh;h=25cf88c70f2c33b5b63404719e81d898b60344c6;hb=6181ae15d4dc986b88a03d1d39fce38f3101bc7a;hp=f9af3c8e168918ceec06153f9bc65551ec6ca2a4;hpb=dbbf95520724ddbf944846a38d51b7c8f5ad660a;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