Notification for retries

When a build is retried, it would be useful to emit a notification to Slack, etc. saying what was retried, and who initiated the retry.

This would provide additional visibility, and prevent people from having to hunt down this information on their own.

+1, i’d love this!

Hey @cwmaier-grapl! :wave:

Interesting!

We currently only send the status of the build (if it failed, passed, it’s canceled), and we do not include the info on how it was triggered. But I think an option could be to check the value of BUILDKITE_REBUILT_FROM_BUILD_NUMBER which is going to be empty if the build was not retried, and BUILDKITE_BUILD_CREATOR will have the information of the user who did the Rebuild.

Best!