
Install this plugin on your Jenkins server.
Something like where xxxx is the integration token and is the Slack compatible app URL.
You should now have a URL with a token. Create a Webhook (it may need to be enabled in system console) by visiting Integrations. Log into the Slack compatible application. Install Instructions for Slack compatible application Configure it in your Jenkins job (and optionally as global configuration) and add it as a Post-build action. You can upload files to slack with this plugin: Note: the attachments API is classified as legacy, with blocks as the replacement (but blocks are only supported when using a bot user through a custom slack app). SlackSend( channel: "#general ", blocks: blocks)įor more information about slack messages see Slack Messages Api, Slack attachments Api and Block kit "text ": "*Farmhouse Thai Cuisine* \n:star::star::star::star: 1528 reviews \n They do have some vegan options, like the roti and curry, plus they have a ton of salad stuff and noodles can be ordered without meat!! They have something for everyone here " There are a bunch of Chrome extensions that do this, but to capture the Slack app, I recommend using CleanShot X on the Mac or SnagIt! on Windows.īoth of these allow you to select a window to be captured, let you scroll all the way down the windows, and then save that giant constructed graphic as a PNG, JPEG, or PDF."text ": "Hello, Assistant to the Regional Manager Dwight! *Michael Scott* wants to know where you'd like to take the Paper Company investors to dinner tonight. To accomplish this, you'll want to use software that can capture a scrolling page. This approach takes a screenshot of the entire message thread, even if you have to scroll for page after page. Save archive using scrolling screenshot software The only downside of this approach is that the final saved archive won't look exactly like it does in Slack. Save it and you have an editable, searchable, clickable archive. Switch to a blank Word document and click paste. Scroll to the bottom of the thread, hold down your shift key, and click after the last word. Scroll to the very beginning, and left-click on the very first word of text. In Slack, select the message thread you want to save.