Details
-
Suggestion
-
Resolution: Duplicate
Description
I wonder if it's possible for Bitbucket to either enhance the Slack messages for Pipeline builds to include more information, or allow repo administrators to format the body of the message themselves?
Here is what I'm guessing is being generated for these Slack messages today:
#!javascript { "text": "[chiphat/clock-app2] Build status updated to SUCCESSFUL", "attachments": [ { "title": "Pipeline for develop", "title_link": "https://bitbucket.org/chiphat/clock-app2", "color": "#36a64f" } ] }
And here are the slightly more formatted messages with author information and commit messages that we like from other CI services:
#!javascript { "attachments": [ { "color": "#36a64f", "fallback": "[chiphat/clock-app2] Build status updated to SUCCESSFUL", "fields": [ { "title": "Build succeeded", "value": "<http://bitbucket.org/chiphat/clock-app2/link-to-the-pipeline-build|The text of the commit message goes here: we added a seconds and minutes timer to go with the hours>", "short": true },{ "title": "Committer", "value": "Joshua Tjhin", "short": true },{ "title": "Branch", "value": "feature/seconds-minutes-timer", "short": true },{ "title": "Project", "value": "clock-app2", "short": true } ] } ] }
I just wanted to broach the question and see if it was possible to implement at any point. Thanks!