diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 874a87bceaa..ddc8b217349 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -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 diff --git a/ci/scripts/detect-jdk-updates.sh b/ci/scripts/detect-jdk-updates.sh index d418614a386..4a80971562e 100755 --- a/ci/scripts/detect-jdk-updates.sh +++ b/ci/scripts/detect-jdk-updates.sh @@ -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;