From 5d442cc229ceb491f86fe8247dbeba7b86ee23f0 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Thu, 28 Jun 2018 15:28:27 -0700 Subject: Fix unset RC_FILE_PATH in Scripts Even though RC_FILE_PATH is defined in Jenkins as passed in as a parameter, bash still sees it as unset. Removing the 'nounset' option from these scripts should allow the check to success (RC_FILE_PATH set to blank). Change-Id: Ibcfdcf0d2a12c8119d2fe3ec3b354be782338bd5 Signed-off-by: Trevor Bramwell --- jjb/functest/functest-env-presetup.sh | 1 - utils/fetch_os_creds.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/jjb/functest/functest-env-presetup.sh b/jjb/functest/functest-env-presetup.sh index 81718a5e3..510670bc2 100755 --- a/jjb/functest/functest-env-presetup.sh +++ b/jjb/functest/functest-env-presetup.sh @@ -1,6 +1,5 @@ #!/usr/bin/env bash set -o errexit -set -o nounset set -o pipefail # Fetch INSTALLER_IP for APEX deployments diff --git a/utils/fetch_os_creds.sh b/utils/fetch_os_creds.sh index 0e041c631..501095036 100755 --- a/utils/fetch_os_creds.sh +++ b/utils/fetch_os_creds.sh @@ -8,7 +8,6 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## set -o errexit -set -o nounset set -o pipefail usage() { -- cgit 1.2.3-korg