Skip to content

Commit b398b14

Browse files
committed
add java version to build
1 parent e2fad4c commit b398b14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ architecture:
55
- x64
66
os:
77
- ubuntu/xenial64
8+
java:
9+
- oraclejdk8
810
build:
911
- script: |
10-
. /usr/local/bin/jdk_switcher.sh
11-
jdk_switcher use openjdk8
1212
export MAVEN_HOME=/home/jenkins/.mvn/apache-maven-3.2.5
1313
export PATH=$MAVEN_HOME/bin:$PATH
1414
mvn -B install -DskipTests

0 commit comments

Comments
 (0)