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")
|
# 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"
|
# 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
|
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:
|
depends_on:
|
||||||
- lint
|
- lint
|
||||||
@@ -53,7 +53,7 @@ steps:
|
|||||||
from_secret: mattermost_bot_access_token
|
from_secret: mattermost_bot_access_token
|
||||||
commands:
|
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
|
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:
|
depends_on:
|
||||||
- lint
|
- lint
|
||||||
|
|||||||
Reference in New Issue
Block a user