jenkinsci / slack-plugin

A Jenkins plugin for posting notifications to a Slack channel
https://plugins.jenkins.io/slack/
MIT License
670 stars 413 forks source link

Expose MessageBuilder functionality to declarative pipeline #289

Open modax opened 7 years ago

modax commented 7 years ago

Hello,

it would be nice to be able to send a nicely formatted message via declarative pipeline (slackSend) but currently you may only construct a message by yourself. I wish it was possible to reuse the logic in MessageBuilder to construct the message.

samrocketman commented 7 years ago

Thanks for this idea. Contributions to implement it are welcome.

timja commented 5 years ago

If someone could suggest an API for it from pipeline happy to see it implemented...