GitLab CI | Slack, how to customize message

Hi Forum,

I using Slack integration to notify teammates about new build. Default message looks like

$PROJECT_NAMESPACE: Commit $COMMIT_NUMBER ($COMMIT_HASH) of master by $AUTOR succeeded in $TIME_DURATION

I wanna add to this message link to build artifact (APK file).
This link always dynamic but I know it after uploading to DropBox

Question:
How can I change the message pattern to add custom information

Thanks

2 Likes

Did you find a way I have similar needs to enrich the message that is sent to slack.

I am currently doing it thru a direct curl call :frowning: