Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
eaa8faae
Commit
eaa8faae
authored
Apr 12, 2018
by
Madhura Bhave
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply email notification config to jdk9 & 10 builds
See gh-10790
parent
b7695fab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
4 deletions
+46
-4
pipeline.yml
ci/pipeline.yml
+46
-4
No files found.
ci/pipeline.yml
View file @
eaa8faae
...
...
@@ -212,12 +212,33 @@ jobs:
do
:
-
put
:
repo-status-jdk9-build
params
:
{
state
:
"
failure"
,
commit
:
"
git-repo"
}
-
task
:
determine-email-body
image
:
spring-boot-ci-image
file
:
git-repo/ci/tasks/determine-email-body.yml
params
:
STATE
:
failure
BUILD_PIPELINE_NAME
:
((pipeline-name))
BUILD_JOB_NAME
:
jdk9-build
CONCOURSE_URL
:
((concourse-url))
-
put
:
email-notification
params
:
subject_text
:
"
JDK
9
Build
failure
${BUILD_PIPELINE_NAME}
/
${BUILD_JOB_NAME}
/
${BUILD_NAME}"
body_text
:
"
Build
${ATC_EXTERNAL_URL}/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}
has
failed!"
subject
:
email-details/subject
body
:
email-details/body
-
do
:
-
task
:
determine-email-body
image
:
spring-boot-ci-image
file
:
git-repo/ci/tasks/determine-email-body.yml
params
:
STATE
:
success
BUILD_PIPELINE_NAME
:
((pipeline-name))
BUILD_JOB_NAME
:
jdk9-build
CONCOURSE_URL
:
((concourse-url))
-
put
:
repo-status-jdk9-build
params
:
{
state
:
"
success"
,
commit
:
"
git-repo"
}
-
put
:
email-notification
params
:
subject
:
email-details/subject
body
:
email-details/body
-
name
:
jdk10-build
serial
:
true
public
:
true
...
...
@@ -250,12 +271,33 @@ jobs:
do
:
-
put
:
repo-status-jdk10-build
params
:
{
state
:
"
failure"
,
commit
:
"
git-repo"
}
-
task
:
determine-email-body
image
:
spring-boot-ci-image
file
:
git-repo/ci/tasks/determine-email-body.yml
params
:
STATE
:
failure
BUILD_PIPELINE_NAME
:
((pipeline-name))
BUILD_JOB_NAME
:
jdk10-build
CONCOURSE_URL
:
((concourse-url))
-
put
:
email-notification
params
:
subject_text
:
"
JDK
10
Build
failure
${BUILD_PIPELINE_NAME}
/
${BUILD_JOB_NAME}
/
${BUILD_NAME}"
body_text
:
"
Build
${ATC_EXTERNAL_URL}/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}
has
failed!"
subject
:
email-details/subject
body
:
email-details/body
-
do
:
-
task
:
determine-email-body
image
:
spring-boot-ci-image
file
:
git-repo/ci/tasks/determine-email-body.yml
params
:
STATE
:
success
BUILD_PIPELINE_NAME
:
((pipeline-name))
BUILD_JOB_NAME
:
jdk10-build
CONCOURSE_URL
:
((concourse-url))
-
put
:
repo-status-jdk10-build
params
:
{
state
:
"
success"
,
commit
:
"
git-repo"
}
-
put
:
email-notification
params
:
subject
:
email-details/subject
body
:
email-details/body
-
name
:
stage-milestone
serial
:
true
plan
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment