Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53836

Office 365 Connector - allow additional information to be passed into teams message when using default webhooks

XMLWordPrintable

      Could the name that is defined in the webhook config be passed into the message?

      It appears the text used in Teams is pulled from the job name/displayname.

      What happens is my Jenkins display name is defined and I cannot change it - so that's gets sent into Teams - but I'd like to add some additional info into the message to better identify which job the message was coming from...

      So...

       

      Update from DISPLAY NAME IN JENKINS

       

      latest status of build #123

      Some additional info passed in via Jenkinsfile for default webhook

       

       

       

      office365ConnectorWebhooks([[
      {{ name: 'Some additional info passed in via Jenkinsfile for default webhook',}}
      {{ url: 'https://foobar'}}
      {{ ]]),}}

       

            srhebbar Srivardhan Hebbar
            thecrumb Jim Priest
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: