X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjjb-install.sh;fp=shell%2Fjjb-install.sh;h=0000000000000000000000000000000000000000;hb=2d6b63d9a574b952554605f1a89beb31202e86d6;hp=d0c0e4a439f7578d9d7351313c287ccd87321012;hpb=3702b8680891a0392a53a2e2ce8060fb75b2bbdf;p=releng%2Fglobal-jjb.git diff --git a/shell/jjb-install.sh b/shell/jjb-install.sh deleted file mode 100644 index d0c0e4a4..00000000 --- a/shell/jjb-install.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -l -# SPDX-License-Identifier: EPL-1.0 -############################################################################## -# Copyright (c) 2017 The Linux Foundation and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -############################################################################## -echo "---> jjb-install.sh" - -# Ensure we fail the job if any steps fail. -# DO NOT set -u as virtualenv's activate script has unbound variables -set -e -o pipefail - -# Create a virtualenv in a temporary directoy and write it down to used -# or cleaned up later; cleanup is done in the script jjb-cleanup.sh. -JJB_VENV="$(mktemp -d)" -export JJB_VENV -virtualenv "$JJB_VENV" -echo "JJB_VENV=$JJB_VENV" > "$WORKSPACE/.jjb.properties" -# shellcheck source=$VENV_DIR/bin/activate disable=SC1091 -source "$JJB_VENV/bin/activate" -python -m pip install --quiet --upgrade "jenkins-job-builder==$JJB_VERSION" - -# installs are silent, show version details in log -python --version -pip --version -pip freeze