This var is needed by the exteral script
must export so that it is inherited.
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: I627e6ecb369a5f0dab1f047663d24ac8a07b6330
set -ex -o pipefail
-SET_JDK_VERSION="${SET_JDK_VERSION:-openjdk11}"
+export SET_JDK_VERSION="${SET_JDK_VERSION:-openjdk11}"
echo "$SET_JDK_VERSION"
bash <(curl -s https://raw.githubusercontent.com/lfit/releng-global-jjb/master/shell/update-java-alternatives.sh)
# shellcheck disable=SC1091
sudo mv build-wrapper-* /opt/build-wrapper
-SET_JDK_VERSION="${SET_JDK_VERSION:-openjdk11}"
+export SET_JDK_VERSION="${SET_JDK_VERSION:-openjdk11}"
echo "$SET_JDK_VERSION"
bash <(curl -s https://raw.githubusercontent.com/lfit/releng-global-jjb/master/shell/update-java-alternatives.sh)
# shellcheck disable=SC1091