-#!/bin/bash
+#!/bin/bash -l
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2017 The Linux Foundation and others.
# 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.