Skip to content

Commit

Permalink
pbTests: Fixup last commit (#1126)
Browse files Browse the repository at this point in the history
  • Loading branch information
Willsparker authored Feb 6, 2020
1 parent 2dcead2 commit c080e2d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ansible/pbTestScripts/buildJDK.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ if [ -z "${WORKSPACE:-}" ]; then
WORKSPACE=$HOME
fi

if [[ ! -d "$WORKSPACE/openjdk-build" ]]; then
git clone -b freebsd https://github.com/gdams/openjdk-build $WORKSPACE/openjdk-build $WORKSPACE/openjdk-build
else
git clone https://github.com/adoptopenjdk/openjdk-build $WORKSPACE/openjdk-build $WORKSPACE/openjdk-build
fi

export TARGET_OS=linux
export VARIANT=openj9
export ARCHITECTURE=x64
Expand Down Expand Up @@ -62,5 +56,11 @@ echo "DEBUG:
JAVA_HOME=$JAVA_HOME
WORKSPACE=$WORKSPACE"

if [[ ! -d "$WORKSPACE/openjdk-build" && "$TARGET_OS" == "FreeBSD" ]]; then
git clone -b freebsd https://github.com/gdams/openjdk-build $WORKSPACE/openjdk-build
elif [[ ! -d "$WORKSPACE/openjdk-build" ]]; then
git clone https://github.com/adoptopenjdk/openjdk-build $WORKSPACE/openjdk-build
fi

cd $WORKSPACE/openjdk-build
build-farm/make-adopt-build-farm.sh

0 comments on commit c080e2d

Please sign in to comment.