12-09-2024 06:17 AM
I want to attach a file to a message, sent from a Jenkins pipeline written in groovy, using simple notifications, not cards
Solved! Go to Solution.
12-09-2024 12:56 PM
The Cisco Spark Notifier Plugin for Jenkins seems not to support file attachements, so you'd have to build your own tool for that or enhance the plugin...
When doing it on your own: There is an example on how to send files using a curl command at https://developer.webex.com/docs/basics#message-attachments. Guess you may call it similar from within your pipeline. A bot access token would be sufficiant if the bot it in your space..
12-09-2024 12:56 PM
The Cisco Spark Notifier Plugin for Jenkins seems not to support file attachements, so you'd have to build your own tool for that or enhance the plugin...
When doing it on your own: There is an example on how to send files using a curl command at https://developer.webex.com/docs/basics#message-attachments. Guess you may call it similar from within your pipeline. A bot access token would be sufficiant if the bot it in your space..
12-09-2024 06:21 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide