@@ -61,6 +61,13 @@ resources:
61
61
username : ((docker-hub-username))
62
62
password : ((docker-hub-password))
63
63
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))
64
71
- name : artifactory-repo
65
72
type : artifactory-resource
66
73
source :
@@ -89,6 +96,13 @@ resources:
89
96
access_token : ((github-access-token))
90
97
branch : ((branch))
91
98
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
92
106
- name : slack-alert
93
107
type : slack-notification
94
108
source :
@@ -107,6 +121,9 @@ jobs:
107
121
- put : spring-boot-jdk10-ci-image
108
122
params :
109
123
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
110
127
- name : build
111
128
serial : true
112
129
public : true
@@ -301,6 +318,52 @@ jobs:
301
318
silent : true
302
319
icon_emoji : " :concourse:"
303
320
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
304
367
- name : stage-milestone
305
368
serial : true
306
369
plan :
@@ -436,7 +499,7 @@ jobs:
436
499
BINTRAY_REPO : ((bintray-repo))
437
500
groups :
438
501
- name : " Build"
439
- jobs : ["build", "jdk9-build", "jdk10-build"]
502
+ jobs : ["build", "jdk9-build", "jdk10-build", "jdk11-build" ]
440
503
- name : " Release"
441
504
jobs : ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "sync-to-maven-central"]
442
505
- name : " CI Images"
0 commit comments