Channel ID typo?
This commit is contained in:
@@ -37,7 +37,7 @@ steps:
|
||||
# BODY=$(printf '{"username":"WoodpeckerBot","text":"[%s - Build #%s] Lint failure 💩"}' "$CI_REPO" "$CI_PIPELINE_NUMBER")
|
||||
# curl -sS -X POST -H "Content-Type: application/json" -d "$BODY" -H "Authorization: Bearer $MATTERMOST_BOT_ACCESS_TOKEN" "$MATTERMOST_WEBHOOK_URL"
|
||||
- |
|
||||
BODY=$(printf '{"channel_id":"qgg5yxg67y85q53syijgj4ase","message":"[%s - Build #%s] Lint failure 💩"}' "$CI_REPO" "$CI_PIPELINE_NUMBER")
|
||||
BODY=$(printf '{"channel_id":"4qgg5yxg67y85q53syijgj4ase","message":"[%s - Build #%s] Lint failure 💩"}' "$CI_REPO" "$CI_PIPELINE_NUMBER")
|
||||
curl -sS -X POST -H "Content-Type: application/json" -d "$BODY" -H "Authorization: Bearer $MATTERMOST_BOT_ACCESS_TOKEN" https://lab.mifi.dev/api/v4/posts
|
||||
depends_on:
|
||||
- lint
|
||||
@@ -53,7 +53,7 @@ steps:
|
||||
from_secret: mattermost_bot_access_token
|
||||
commands:
|
||||
- |
|
||||
BODY=$(printf '{"channel_id":"qgg5yxg67y85q53syijgj4ase","message":"[%s - Build #%s] Lint success 🎉"}' "$CI_REPO" "$CI_PIPELINE_NUMBER")
|
||||
BODY=$(printf '{"channel_id":"4qgg5yxg67y85q53syijgj4ase","message":"[%s - Build #%s] Lint success 🎉"}' "$CI_REPO" "$CI_PIPELINE_NUMBER")
|
||||
curl -sS -X POST -H "Content-Type: application/json" -d "$BODY" -H "Authorization: Bearer $MATTERMOST_BOT_ACCESS_TOKEN" https://lab.mifi.dev/api/v4/posts
|
||||
depends_on:
|
||||
- lint
|
||||
|
||||
Reference in New Issue
Block a user