jenkinsci / slack-plugin

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

send allure report to slack #897

Open harshbaj06 opened 1 year ago

harshbaj06 commented 1 year ago

What feature do you want to see added?

I want to send allure-report through this plugin to my slack, but the option is not available currently.

Upstream changes

No response

timja commented 1 year ago

this should do it? https://github.com/jenkinsci/slack-plugin#file-upload

thomasvincent commented 1 year ago

You could do this pretty easily

slackSend channel="#general" message="Here is an Allure report" attachments=[
  {
    "title": "Allure Report",
    "url": "https://example.com/allure-report"
  }
]
harshbaj06 commented 1 year ago

thanks a lot

On Wed, May 31, 2023 at 1:07 PM Thomas Vincent @.***> wrote:

You could do this pretty easily

slackSend channel="#general" message="Here is an Allure report" attachments=[ { "title": "Allure Report", "url": "https://example.com/allure-report" } ]

— Reply to this email directly, view it on GitHub https://github.com/jenkinsci/slack-plugin/issues/897#issuecomment-1569655345, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ4M5ZLTUK7E27FUJ323T6TXI3YKRANCNFSM6AAAAAAXUB7FIM . You are receiving this because you authored the thread.Message ID: @.***>