mirror of
https://gitee.com/dcren/initializr.git
synced 2025-05-04 12:48:02 +08:00
Add failure notification if artifactory deploy fails
This commit is contained in:
parent
4ca5c99c47
commit
0ed8aea677
@ -89,9 +89,17 @@ jobs:
|
|||||||
- get: initializr-ci-image
|
- get: initializr-ci-image
|
||||||
- put: repo-status-build
|
- put: repo-status-build
|
||||||
params: { state: "pending", commit: "git-repo" }
|
params: { state: "pending", commit: "git-repo" }
|
||||||
- task: build-project
|
- do:
|
||||||
image: initializr-ci-image
|
- task: build-project
|
||||||
file: git-repo/ci/tasks/build-project.yml
|
image: initializr-ci-image
|
||||||
|
file: git-repo/ci/tasks/build-project.yml
|
||||||
|
- put: artifactory-repo
|
||||||
|
params: &artifactory-params
|
||||||
|
repo: libs-snapshot-local
|
||||||
|
folder: distribution-repository
|
||||||
|
build_uri: "https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}"
|
||||||
|
build_number: "${BUILD_PIPELINE_NAME}-${BUILD_JOB_NAME}-${BUILD_NAME}"
|
||||||
|
disable_checksum_uploads: true
|
||||||
on_failure:
|
on_failure:
|
||||||
do:
|
do:
|
||||||
- put: repo-status-build
|
- put: repo-status-build
|
||||||
@ -110,13 +118,6 @@ jobs:
|
|||||||
silent: true
|
silent: true
|
||||||
icon_emoji: ":concourse:"
|
icon_emoji: ":concourse:"
|
||||||
username: concourse-ci
|
username: concourse-ci
|
||||||
- put: artifactory-repo
|
|
||||||
params: &artifactory-params
|
|
||||||
repo: libs-snapshot-local
|
|
||||||
folder: distribution-repository
|
|
||||||
build_uri: "https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}"
|
|
||||||
build_number: "${BUILD_PIPELINE_NAME}-${BUILD_JOB_NAME}-${BUILD_NAME}"
|
|
||||||
disable_checksum_uploads: true
|
|
||||||
- name: build-pull-requests
|
- name: build-pull-requests
|
||||||
serial: true
|
serial: true
|
||||||
public: true
|
public: true
|
||||||
|
Loading…
Reference in New Issue
Block a user