79375003

Date: 2025-01-21 15:40:07
Score: 1
Natty:
Report link

firstly, the connector does not support this, but you have another option. You can create a folder for your logs, zip the folder, and save it to Jenkins artifactory

-->Use Jenkins archiveArtifacts to upload the zipped logs to Jenkins artifactory. You will be able to send the Jenkins artifactory URL to MS Teams using curl. In my case, I saved the Jenkins logs from the pod folder, copied them to a new folder, then zipped them and sent them to Jenkins Artifactory. This triggers a notification to my MS Teams with the Jenkins artifactory URL and Use curl to send a notification to MS Teams with the Jenkins artifactory URL where the logs are stored.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ankush Rawat