-
New Feature
-
Resolution: Unresolved
-
Minor
-
Jenkins 2.136, Office 365 Connector 4.x
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'}}
{{ ]]),}}
[JENKINS-53836] Office 365 Connector - allow additional information to be passed into teams message when using default webhooks
Description | Original: Other plugins like email-ext allow you to list committers/culprits individually in build status messages. I don't know if the connector doesn't provide this level of detail in the webhook message or if my target MS Teams connector is deciding not to render it, so please close the issue if I need to talk to the MS Teams group on their uservoice. Currently the only data I see is "Remarks: Started by an SCM Change". If the build is started by a user action, that user's name is listed in the resulting message, but never when it's started by an SCM change. Thanks! |
New:
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... {panel} Update from DISPLAY NAME IN JENKINS latest status of build #123 _Some additional info passed in via Jenkinsfile for default webhook_ {panel} {{office365ConnectorWebhooks([[}} {{ name: 'Some additional info passed in via Jenkinsfile for default webhook',}} {{ url: 'https://foobar'}} {{ ]]),}} |
Environment | Original: Jenkins 2.33, Windows 2012r2, Java 1.7 64bit, Office 365 Connector 1.3 |
Environment | New: Jenkins 2.136, Office 365 Connector 4.x | |
Issue Type | Original: Improvement [ 4 ] | New: New Feature [ 2 ] |