From: Anil Belur Date: Thu, 15 Mar 2018 12:55:28 +0000 (+1000) Subject: Export packer binary dir in $PATH X-Git-Tag: v0.18.0~16^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=f77ecf88f04c5a5f82b65f073cc8d628462bea2c;p=releng%2Fglobal-jjb.git Export packer binary dir in $PATH Add packer binary path to $PATH to avoid packer being installed multiple times in builder merge jobs. JIRA: RELENG-838 Change-Id: Ie414ff39d0829135cc797b187f693930cf45c6d5 Signed-off-by: Anil Belur --- diff --git a/shell/packer-install.sh b/shell/packer-install.sh index dc43e32d..8b3ef6d5 100644 --- a/shell/packer-install.sh +++ b/shell/packer-install.sh @@ -15,6 +15,7 @@ echo "---> packer-install.sh" # $PACKER_VERSION : Define a packer version passed as job paramter PACKER_VERSION="${PACKER_VERSION:-1.1.3}" +export PATH="${WORKSPACE}/bin:$PATH" # Ensure we fail the job if any steps fail. set -eu -o pipefail