Detect JDK 13 updates

See gh-18122
This commit is contained in:
dreis2211 2019-09-04 09:01:11 +02:00 committed by Stephane Nicoll
parent 4069d855e8
commit 9a162f9899
2 changed files with 13 additions and 0 deletions

View File

@ -213,6 +213,15 @@ jobs:
GITHUB_USERNAME: ((github-username))
JDK_VERSION: java12
image: spring-boot-ci-image
- task: detect-jdk13-update
file: git-repo/ci/tasks/detect-jdk-updates.yml
params:
GITHUB_REPO: spring-boot
GITHUB_ORGANIZATION: spring-projects
GITHUB_PASSWORD: ((github-password))
GITHUB_USERNAME: ((github-username))
JDK_VERSION: java13
image: spring-boot-ci-image
- name: build
serial: true
public: true

View File

@ -13,6 +13,10 @@ case "$JDK_VERSION" in
BASE_URL="https://api.adoptopenjdk.net/v2/info/releases/openjdk12"
ISSUE_TITLE="Upgrade Java 12 version in CI image"
;;
java13)
BASE_URL="https://api.adoptopenjdk.net/v2/info/nightly/openjdk13"
ISSUE_TITLE="Upgrade Java 13 version in CI image"
;;
*)
echo $"Unknown java version"
exit 1;