.drone.yml aktualisiert
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
rulrich 2024-03-12 09:42:18 +01:00
parent 9057689ab0
commit e65fbd506d

View file

@ -64,21 +64,27 @@ steps:
- pull_request
- name: webhook-pr
image: plugins/webhook
settings:
username:
from_secret: mattermost_username
password:
from_secret: mattermost_password
urls: https://chat.host-ranger.ch/hooks/9e39cidaqt8d7f9hd4gmutkngr
content_type: application/json
template: |
`${DRONE_REPO}` build #${DRONE_BUILD_NUMBER} status: **${DRONE_BUILD_STATUS}**
image: plugins/webhook
settings:
username:
from_secret: mattermost_username
password:
from_secret: mattermost_password
urls: https://chat.host-ranger.ch/hooks/9e39cidaqt8d7f9hd4gmutkngr
content_type: application/json
template: |
`${DRONE_REPO}` build #${DRONE_BUILD_NUMBER} status: **${DRONE_BUILD_STATUS}**
# {
# "owner": "$DRONE_REPO_OWNER",
# "repo": "$DRONE_REPO_NAME",
# "status": "$DRONE_BUILD_STATUS"
# }
when:
status:
- failure
- success
event:
- pull_request
- name: Apply Playbook
image: plugins/ansible