alexkvak / teamcity-slack

TeamCity Slack plugin
MIT License
124 stars 23 forks source link

Supporting files in messages #108

Open ansman opened 4 years ago

ansman commented 4 years ago

We generate a release notes file that would be great to include either as an attachment or as text in the message.

I would be happy to take a stab at integrating this if need be.

alexkvak commented 4 years ago

Hi,

you can attach link to the artifact

ansman commented 4 years ago

Right. I suppose I could make the release notes an artifact but it would be nice if that wasn't a requirement.

ansman commented 4 years ago

Oh, sorry. I don't want a link to the artifact. I want to attach it to the slack message as an attachment or include the contents in the message

alexkvak commented 4 years ago

There are so many requests for the new template fields, I guess we need plugin system for this plugin :))

ansman commented 4 years ago

I was thinking more that it could be a special syntax in the message that is handled, maybe something like: {attachment:%someFile%} or {contents:%someFile%}