-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Send slack notification when IDE integration tests fails #8673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## main #8673 +/- ##
=======================================
Coverage 11.17% 11.17%
=======================================
Files 18 18
Lines 993 993
=======================================
Hits 111 111
Misses 880 880
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
d088f4f
to
6a01db0
Compare
515d9e4
to
04a783b
Compare
command: | ||
- /bin/bash | ||
- -c | ||
- | | ||
sleep 1 | ||
set -Eeuo pipefail | ||
|
||
printf '{{ toJson .Annotations }}' > context.json | ||
printf '{{ toJson . }}' > context.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this broken JetBrains integration, but will fix in next PR
-H 'Content-type: application/json' \ | ||
-d "{\"blocks\":[{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"${title}\"},\"accessory\":{\"type\":\"button\",\"text\":{\"type\":\"plain_text\",\"text\":\"Go to Werft\",\"emoji\":true},\"value\":\"click_me_123\",\"url\":\"${werftJobUrl}\",\"action_id\":\"button-action\"}},{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"\`\`\`\\n${body}\\n\`\`\`\"}}]}" \ | ||
"https://hooks.slack.com/${SLACK_NOTIFICATION_PATH}" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should also send a notification of success?
/hold |
/unhold |
Description
Send slack notification when IDE integration tests fails
Related Issue(s)
related #3065
How to test
Test notification here https://gitpod.slack.com/archives/C02F9LQU4DR/p1646790101584589
Release Notes