X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight-infra-update-image-list.sh;h=8f2c7f46ba77091138e9ea121812f6728fc25fb5;hb=04c3890554166f05b19226e546c86b654bb07bff;hp=48ac3e26196a486daab6b7654ab68d74c94df9a4;hpb=fc441b2b3f644271eef0b5f8807f6294b702ec9e;p=releng%2Fbuilder.git diff --git a/jjb/opendaylight-infra-update-image-list.sh b/jjb/opendaylight-infra-update-image-list.sh index 48ac3e261..8f2c7f46b 100644 --- a/jjb/opendaylight-infra-update-image-list.sh +++ b/jjb/opendaylight-infra-update-image-list.sh @@ -1,11 +1,10 @@ #!/bin/bash -virtualenv "$WORKSPACE/.venv" -# shellcheck disable=SC1090 -source "$WORKSPACE/.venv/bin/activate" -PYTHON="$WORKSPACE/.venv/bin/python" -$PYTHON -m pip install --upgrade --quiet pip -$PYTHON -m pip install --upgrade --quiet python-openstackclient python-heatclient -$PYTHON -m pip freeze +virtualenv "/tmp/v/openstack" +# shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091 +source "/tmp/v/openstack/bin/activate" +pip install --upgrade --quiet pip +pip install --upgrade --quiet python-openstackclient python-heatclient +pip freeze cat > "$WORKSPACE/docs/cloud-images.rst" << EOF Following are the list of published images available to be used with Jenkins jobs.