Skip to content

Commit b07b03d

Browse files
committed
Merge pull request #18122 from dreis2211
* pr/18122: Detect JDK 13 updates Closes gh-18122
2 parents 4069d85 + 9a162f9 commit b07b03d

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

ci/pipeline.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,15 @@ jobs:
213213
GITHUB_USERNAME: ((github-username))
214214
JDK_VERSION: java12
215215
image: spring-boot-ci-image
216+
- task: detect-jdk13-update
217+
file: git-repo/ci/tasks/detect-jdk-updates.yml
218+
params:
219+
GITHUB_REPO: spring-boot
220+
GITHUB_ORGANIZATION: spring-projects
221+
GITHUB_PASSWORD: ((github-password))
222+
GITHUB_USERNAME: ((github-username))
223+
JDK_VERSION: java13
224+
image: spring-boot-ci-image
216225
- name: build
217226
serial: true
218227
public: true

ci/scripts/detect-jdk-updates.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ case "$JDK_VERSION" in
1313
BASE_URL="https://api.adoptopenjdk.net/v2/info/releases/openjdk12"
1414
ISSUE_TITLE="Upgrade Java 12 version in CI image"
1515
;;
16+
java13)
17+
BASE_URL="https://api.adoptopenjdk.net/v2/info/nightly/openjdk13"
18+
ISSUE_TITLE="Upgrade Java 13 version in CI image"
19+
;;
1620
*)
1721
echo $"Unknown java version"
1822
exit 1;

0 commit comments

Comments
 (0)