@@ -68,6 +68,13 @@ resources:
68
68
username : ((docker-hub-username))
69
69
password : ((docker-hub-password))
70
70
tag : ((branch))
71
+ - name : spring-boot-jdk12-ci-image
72
+ type : docker-image
73
+ source :
74
+ repository : ((docker-hub-organization))/spring-boot-jdk12-ci-image
75
+ username : ((docker-hub-username))
76
+ password : ((docker-hub-password))
77
+ tag : ((branch))
71
78
- name : artifactory-repo
72
79
type : artifactory-resource
73
80
source :
@@ -89,6 +96,13 @@ resources:
89
96
access_token : ((github-access-token))
90
97
branch : ((branch))
91
98
context : jdk11-build
99
+ - name : repo-status-jdk12-build
100
+ type : github-status-resource
101
+ source :
102
+ repository : ((github-repo-name))
103
+ access_token : ((github-access-token))
104
+ branch : ((branch))
105
+ context : jdk12-build
92
106
- name : slack-alert
93
107
type : slack-notification
94
108
source :
@@ -112,6 +126,10 @@ jobs:
112
126
params :
113
127
build : ci-images-git-repo/ci/images
114
128
dockerfile : ci-images-git-repo/ci/images/spring-boot-jdk11-ci-image/Dockerfile
129
+ - put : spring-boot-jdk12-ci-image
130
+ params :
131
+ build : ci-images-git-repo/ci/images
132
+ dockerfile : ci-images-git-repo/ci/images/spring-boot-jdk12-ci-image/Dockerfile
115
133
- name : detect-jdk-updates
116
134
plan :
117
135
- get : git-repo
@@ -137,6 +155,15 @@ jobs:
137
155
GITHUB_USERNAME : ((github-username))
138
156
JDK_VERSION : java11
139
157
image : spring-boot-ci-image
158
+ - task : detect-jdk12-update
159
+ file : git-repo/ci/tasks/detect-jdk-updates.yml
160
+ params :
161
+ GITHUB_REPO : spring-boot
162
+ GITHUB_ORGANIZATION : spring-projects
163
+ GITHUB_PASSWORD : ((github-password))
164
+ GITHUB_USERNAME : ((github-username))
165
+ JDK_VERSION : java12
166
+ image : spring-boot-ci-image
140
167
- name : build
141
168
serial : true
142
169
public : true
@@ -285,6 +312,52 @@ jobs:
285
312
silent : true
286
313
icon_emoji : " :concourse:"
287
314
username : concourse-ci
315
+ - name : jdk12-build
316
+ serial : true
317
+ public : true
318
+ plan :
319
+ - get : spring-boot-jdk12-ci-image
320
+ - get : git-repo
321
+ trigger : true
322
+ - put : repo-status-jdk12-build
323
+ params : { state: "pending", commit: "git-repo" }
324
+ - do :
325
+ - task : build-project
326
+ privileged : true
327
+ timeout : 1h30m
328
+ image : spring-boot-jdk12-ci-image
329
+ file : git-repo/ci/tasks/build-project.yml
330
+ - aggregate :
331
+ - task : build-samples
332
+ timeout : 1h30m
333
+ image : spring-boot-jdk12-ci-image
334
+ file : git-repo/ci/tasks/build-samples.yml
335
+ - task : build-integration-tests
336
+ timeout : 1h30m
337
+ image : spring-boot-jdk12-ci-image
338
+ file : git-repo/ci/tasks/build-integration-tests.yml
339
+ - task : build-deployment-tests
340
+ timeout : 1h30m
341
+ image : spring-boot-jdk12-ci-image
342
+ file : git-repo/ci/tasks/build-deployment-tests.yml
343
+ on_failure :
344
+ do :
345
+ - put : repo-status-jdk12-build
346
+ params : { state: "failure", commit: "git-repo" }
347
+ - put : slack-alert
348
+ params :
349
+ 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!>"
350
+ silent : true
351
+ icon_emoji : " :concourse:"
352
+ username : concourse-ci
353
+ - put : repo-status-jdk12-build
354
+ params : { state: "success", commit: "git-repo" }
355
+ - put : slack-alert
356
+ params :
357
+ 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!>"
358
+ silent : true
359
+ icon_emoji : " :concourse:"
360
+ username : concourse-ci
288
361
- name : stage-milestone
289
362
serial : true
290
363
plan :
@@ -455,7 +528,7 @@ jobs:
455
528
body : generated-release-notes/release-notes.md
456
529
groups :
457
530
- name : " Build"
458
- jobs : ["build", "jdk11-build"]
531
+ jobs : ["build", "jdk11-build", "jdk12-build" ]
459
532
- name : " Release"
460
533
jobs : ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "sync-to-maven-central"]
461
534
- name : " CI Images"
0 commit comments