From f77ecf88f04c5a5f82b65f073cc8d628462bea2c Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Thu, 15 Mar 2018 22:55:28 +1000 Subject: [PATCH] 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 --- shell/packer-install.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.16.6