@@ -61,6 +61,13 @@ resources:
6161 username : ((docker-hub-username))
6262 password : ((docker-hub-password))
6363 tag : ((branch))
64+ - name : spring-boot-jdk11-ci-image
65+ type : docker-image
66+ source :
67+ repository : ((docker-hub-organization))/spring-boot-jdk11-ci-image
68+ username : ((docker-hub-username))
69+ password : ((docker-hub-password))
70+ tag : ((branch))
6471- name : artifactory-repo
6572 type : artifactory-resource
6673 source :
@@ -89,6 +96,13 @@ resources:
8996 access_token : ((github-access-token))
9097 branch : ((branch))
9198 context : jdk10-build
99+ - name : repo-status-jdk11-build
100+ type : github-status-resource
101+ source :
102+ repository : ((github-repo-name))
103+ access_token : ((github-access-token))
104+ branch : ((branch))
105+ context : jdk11-build
92106- name : slack-alert
93107 type : slack-notification
94108 source :
@@ -107,6 +121,9 @@ jobs:
107121 - put : spring-boot-jdk10-ci-image
108122 params :
109123 build : ci-images-git-repo/ci/images/spring-boot-jdk10-ci-image
124+ - put : spring-boot-jdk11-ci-image
125+ params :
126+ build : ci-images-git-repo/ci/images/spring-boot-jdk11-ci-image
110127- name : build
111128 serial : true
112129 public : true
@@ -301,6 +318,52 @@ jobs:
301318 silent : true
302319 icon_emoji : " :concourse:"
303320 username : concourse-ci
321+ - name : jdk11-build
322+ serial : true
323+ public : true
324+ plan :
325+ - get : spring-boot-jdk11-ci-image
326+ - get : git-repo
327+ trigger : true
328+ - put : repo-status-jdk11-build
329+ params : { state: "pending", commit: "git-repo" }
330+ - do :
331+ - task : build-project
332+ privileged : true
333+ timeout : 1h30m
334+ image : spring-boot-jdk11-ci-image
335+ file : git-repo/ci/tasks/build-project.yml
336+ - aggregate :
337+ - task : build-samples
338+ timeout : 1h30m
339+ image : spring-boot-jdk11-ci-image
340+ file : git-repo/ci/tasks/build-samples.yml
341+ - task : build-integration-tests
342+ timeout : 1h30m
343+ image : spring-boot-jdk11-ci-image
344+ file : git-repo/ci/tasks/build-integration-tests.yml
345+ - task : build-deployment-tests
346+ timeout : 1h30m
347+ image : spring-boot-jdk11-ci-image
348+ file : git-repo/ci/tasks/build-deployment-tests.yml
349+ on_failure :
350+ do :
351+ - put : repo-status-jdk11-build
352+ params : { state: "failure", commit: "git-repo" }
353+ - put : slack-alert
354+ params :
355+ text : " :concourse-failed: <https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}|${BUILD_PIPELINE_NAME} ${BUILD_JOB_NAME} failed!>"
356+ silent : true
357+ icon_emoji : " :concourse:"
358+ username : concourse-ci
359+ - put : repo-status-jdk11-build
360+ params : { state: "success", commit: "git-repo" }
361+ - put : slack-alert
362+ params :
363+ text : " :concourse-succeeded: <https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}|${BUILD_PIPELINE_NAME} ${BUILD_JOB_NAME} was successful!>"
364+ silent : true
365+ icon_emoji : " :concourse:"
366+ username : concourse-ci
304367- name : stage-milestone
305368 serial : true
306369 plan :
@@ -436,7 +499,7 @@ jobs:
436499 BINTRAY_REPO : ((bintray-repo))
437500groups :
438501- name : " Build"
439- jobs : ["build", "jdk9-build", "jdk10-build"]
502+ jobs : ["build", "jdk9-build", "jdk10-build", "jdk11-build" ]
440503- name : " Release"
441504 jobs : ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "sync-to-maven-central"]
442505- name : " CI Images"
0 commit comments