ci(pipeline): comment on failure (pr)
This commit is contained in:
parent
ee6f4a5966
commit
7c47d9dd35
|
@ -64,14 +64,13 @@ pipeline:
|
||||||
comment_on_failure:
|
comment_on_failure:
|
||||||
image: tsakidev/giteacomment:latest
|
image: tsakidev/giteacomment:latest
|
||||||
secrets: [gitnet_token]
|
secrets: [gitnet_token]
|
||||||
environment:
|
|
||||||
- GITEA_TOKEN=${GITNET_TOKEN}
|
|
||||||
- GITEA_BASE_URL=https://gitnet.fr
|
|
||||||
- DRONE_REPO_NAMESPACE=${CI_REPO_NAME}
|
|
||||||
- DRONE_REPO_NAME=${CI_REPO}
|
|
||||||
- DRONE_PULL_REQUEST=${CI_COMMIT_PULL_REQUEST}
|
|
||||||
settings:
|
settings:
|
||||||
comment: "Pipeline [#CI_PIPELINE_NUMBER](${CI_PIPELINE_LINK}) status is: ${CI_PIPELINE_STATUS}"
|
gitea_token: ${GITNET_TOKEN}
|
||||||
|
gitea_base_url: https://gitnet.fr
|
||||||
|
drone_repo_namespace: ${CI_REPO_NAME}
|
||||||
|
drone_repo_name: ${CI_REPO}
|
||||||
|
drone_pull_request: ${CI_COMMIT_PULL_REQUEST}
|
||||||
|
comment: "Pipeline [#${CI_PIPELINE_NUMBER}](${CI_PIPELINE_LINK}) failed.
|
||||||
when:
|
when:
|
||||||
status: [failure]
|
status: [failure]
|
||||||
event: pull_request
|
event: pull_request
|
||||||
|
|
Loading…
Reference in a new issue