X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fodl-openstack-cleanup-stale-stacks.sh;h=6d5e553c1a0fb6baa3a325607110dd1d145d71da;hb=f2e91f20e866f008ac843aea62d266050fe73eaf;hp=16559c9feb8c5a3079a0415a579808b071899f1a;hpb=9df3f548230c398ce40a07501a6c2fa58f77134f;p=releng%2Fbuilder.git diff --git a/jjb/odl-openstack-cleanup-stale-stacks.sh b/jjb/odl-openstack-cleanup-stale-stacks.sh index 16559c9fe..6d5e553c1 100644 --- a/jjb/odl-openstack-cleanup-stale-stacks.sh +++ b/jjb/odl-openstack-cleanup-stale-stacks.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l # SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others. @@ -13,9 +13,6 @@ # list of Jenkins instances to check for active builds. echo "---> Cleanup stale stacks" -# shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091 -source "/tmp/v/openstack/bin/activate" - stack_in_jenkins() { # Usage: check_stack_in_jenkins STACK_NAME JENKINS_URL [JENKINS_URL...] # Returns: 0 If stack is in Jenkins and 1 if stack is not in Jenkins.