Skip to content

Commit 772c49f

Browse files
committed
Use Java 11 in CI
1 parent fbcab6d commit 772c49f

File tree

2 files changed

+4
-20
lines changed

2 files changed

+4
-20
lines changed

azure-pipelines-deploy.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,6 @@ pr: none
44
jobs:
55
- job: "General"
66
steps:
7-
- task: Bash@3
8-
inputs:
9-
targetType: 'inline'
10-
script: |
11-
mkdir -p ./jdk/binaries/
12-
curl https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-fx-jdk11.0.15-linux_x64.tar.gz --output ./jdk/zulu11.56.19-ca-fx-jdk11.0.15-linux_x64.tar.gz
13-
14-
- task: JavaToolInstaller@0
15-
inputs:
16-
jdkFile: ./jdk/zulu11.56.19-ca-fx-jdk11.0.15-linux_x64.tar.gz
17-
versionSpec: "11"
18-
jdkArchitectureOption: x64
19-
jdkSourceOption: LocalDirectory
20-
jdkDestinationDirectory: "./jdk/binaries/"
21-
cleanDestinationDirectory: true
22-
237
- task: Gradle@2
248
inputs:
259
workingDirectory: ''
@@ -48,7 +32,7 @@ jobs:
4832
gradleWrapperFile: 'gradlew'
4933
gradleOptions: '-Xmx3072m'
5034
javaHomeOption: 'JDKVersion'
51-
jdkVersionOption: '1.8'
35+
jdkVersionOption: '11'
5236
jdkArchitectureOption: 'x64'
5337
publishJUnitResults: true
5438
testResultsFiles: '**/TEST-*.xml'
@@ -70,7 +54,7 @@ jobs:
7054
gradleWrapperFile: 'gradlew'
7155
gradleOptions: '-Xmx3072m'
7256
javaHomeOption: 'JDKVersion'
73-
jdkVersionOption: '1.8'
57+
jdkVersionOption: '11'
7458
jdkArchitectureOption: 'x64'
7559
publishJUnitResults: true
7660
testResultsFiles: '**/TEST-*.xml'

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
gradleWrapperFile: 'gradlew'
6565
gradleOptions: '-Xmx3072m'
6666
javaHomeOption: 'JDKVersion'
67-
jdkVersionOption: '1.8'
67+
jdkVersionOption: '11'
6868
jdkArchitectureOption: 'x64'
6969
publishJUnitResults: true
7070
testResultsFiles: '**/TEST-*.xml'
@@ -113,7 +113,7 @@ jobs:
113113
gradleWrapperFile: 'gradlew'
114114
gradleOptions: '-Xmx3072m'
115115
javaHomeOption: 'JDKVersion'
116-
jdkVersionOption: '1.8'
116+
jdkVersionOption: '11'
117117
jdkArchitectureOption: 'x64'
118118
publishJUnitResults: true
119119
testResultsFiles: '**/TEST-*.xml'

0 commit comments

Comments
 (0)