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
5cfbd332
Commit
5cfbd332
authored
Apr 10, 2018
by
Madhura Bhave
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.0.x'
parents
55ea9f79
a09a6f22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
12 deletions
+59
-12
pipeline.yml
ci/pipeline.yml
+59
-12
No files found.
ci/pipeline.yml
View file @
5cfbd332
...
@@ -12,6 +12,11 @@ resource_types:
...
@@ -12,6 +12,11 @@ resource_types:
type
:
docker-image
type
:
docker-image
source
:
source
:
repository
:
jtarchie/pr
repository
:
jtarchie/pr
-
name
:
github-status-resource
type
:
docker-image
source
:
repository
:
dpb587/github-status-resource
tag
:
master
resources
:
resources
:
-
name
:
git-repo
-
name
:
git-repo
type
:
git
type
:
git
...
@@ -72,6 +77,27 @@ resources:
...
@@ -72,6 +77,27 @@ resources:
skip_ssl_validation
:
true
skip_ssl_validation
:
true
from
:
((email-from))
from
:
((email-from))
to
:
((email-to))
to
:
((email-to))
-
name
:
repo-status-build
type
:
github-status-resource
source
:
repository
:
((github-repo-name))
access_token
:
((github-access-token))
branch
:
((branch))
context
:
build
-
name
:
repo-status-jdk9-build
type
:
github-status-resource
source
:
repository
:
((github-repo-name))
access_token
:
((github-access-token))
branch
:
((branch))
context
:
jdk9-build
-
name
:
repo-status-jdk10-build
type
:
github-status-resource
source
:
repository
:
((github-repo-name))
access_token
:
((github-access-token))
branch
:
((branch))
context
:
jdk10-build
jobs
:
jobs
:
-
name
:
build-spring-boot-ci-images
-
name
:
build-spring-boot-ci-images
plan
:
plan
:
...
@@ -93,6 +119,8 @@ jobs:
...
@@ -93,6 +119,8 @@ jobs:
-
get
:
spring-boot-ci-image
-
get
:
spring-boot-ci-image
-
get
:
git-repo
-
get
:
git-repo
trigger
:
true
trigger
:
true
-
put
:
repo-status-build
params
:
{
state
:
"
pending"
,
commit
:
"
git-repo"
}
-
do
:
-
do
:
-
task
:
build-project
-
task
:
build-project
privileged
:
true
privileged
:
true
...
@@ -113,10 +141,15 @@ jobs:
...
@@ -113,10 +141,15 @@ jobs:
image
:
spring-boot-ci-image
image
:
spring-boot-ci-image
file
:
git-repo/ci/tasks/build-deployment-tests.yml
file
:
git-repo/ci/tasks/build-deployment-tests.yml
on_failure
:
on_failure
:
put
:
email-notification
do
:
params
:
-
put
:
repo-status-build
subject_text
:
"
Build
failure
${BUILD_PIPELINE_NAME}
/
${BUILD_JOB_NAME}
/
${BUILD_NAME}"
params
:
{
state
:
"
failure"
,
commit
:
"
git-repo"
}
body_text
:
"
Build
${ATC_EXTERNAL_URL}/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}
has
failed!"
-
put
:
email-notification
params
:
subject_text
:
"
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!"
-
put
:
repo-status-build
params
:
{
state
:
"
success"
,
commit
:
"
git-repo"
}
-
put
:
artifactory-repo
-
put
:
artifactory-repo
params
:
&artifactory-params
params
:
&artifactory-params
repo
:
libs-snapshot-local
repo
:
libs-snapshot-local
...
@@ -181,6 +214,8 @@ jobs:
...
@@ -181,6 +214,8 @@ jobs:
-
get
:
spring-boot-jdk9-ci-image
-
get
:
spring-boot-jdk9-ci-image
-
get
:
git-repo
-
get
:
git-repo
trigger
:
true
trigger
:
true
-
put
:
repo-status-jdk9-build
params
:
{
state
:
"
pending"
,
commit
:
"
git-repo"
}
-
do
:
-
do
:
-
task
:
build-project
-
task
:
build-project
privileged
:
true
privileged
:
true
...
@@ -201,10 +236,15 @@ jobs:
...
@@ -201,10 +236,15 @@ jobs:
image
:
spring-boot-jdk9-ci-image
image
:
spring-boot-jdk9-ci-image
file
:
git-repo/ci/tasks/build-deployment-tests.yml
file
:
git-repo/ci/tasks/build-deployment-tests.yml
on_failure
:
on_failure
:
put
:
email-notification
do
:
params
:
-
put
:
repo-status-jdk9-build
subject_text
:
"
JDK
9
Build
failure
${BUILD_PIPELINE_NAME}
/
${BUILD_JOB_NAME}
/
${BUILD_NAME}"
params
:
{
state
:
"
failure"
,
commit
:
"
git-repo"
}
body_text
:
"
Build
${ATC_EXTERNAL_URL}/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}
has
failed!"
-
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!"
-
put
:
repo-status-jdk9-build
params
:
{
state
:
"
success"
,
commit
:
"
git-repo"
}
-
name
:
jdk10-build
-
name
:
jdk10-build
serial
:
true
serial
:
true
public
:
true
public
:
true
...
@@ -212,6 +252,8 @@ jobs:
...
@@ -212,6 +252,8 @@ jobs:
-
get
:
spring-boot-jdk10-ci-image
-
get
:
spring-boot-jdk10-ci-image
-
get
:
git-repo
-
get
:
git-repo
trigger
:
true
trigger
:
true
-
put
:
repo-status-jdk10-build
params
:
{
state
:
"
pending"
,
commit
:
"
git-repo"
}
-
do
:
-
do
:
-
task
:
build-project
-
task
:
build-project
privileged
:
true
privileged
:
true
...
@@ -232,10 +274,15 @@ jobs:
...
@@ -232,10 +274,15 @@ jobs:
image
:
spring-boot-jdk10-ci-image
image
:
spring-boot-jdk10-ci-image
file
:
git-repo/ci/tasks/build-deployment-tests.yml
file
:
git-repo/ci/tasks/build-deployment-tests.yml
on_failure
:
on_failure
:
put
:
email-notification
do
:
params
:
-
put
:
repo-status-jdk10-build
subject_text
:
"
JDK
10
Build
failure
${BUILD_PIPELINE_NAME}
/
${BUILD_JOB_NAME}
/
${BUILD_NAME}"
params
:
{
state
:
"
failure"
,
commit
:
"
git-repo"
}
body_text
:
"
Build
${ATC_EXTERNAL_URL}/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}
has
failed!"
-
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!"
-
put
:
repo-status-jdk10-build
params
:
{
state
:
"
success"
,
commit
:
"
git-repo"
}
-
name
:
stage-milestone
-
name
:
stage-milestone
serial
:
true
serial
:
true
plan
:
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