jenkinsci / office-365-connector-plugin

Office 365 Connector plugin sends jobs status notifications to Microsoft Teams or Outlook
https://plugins.jenkins.io/Office-365-Connector/
Apache License 2.0
89 stars 84 forks source link

Better document factDefinitions #305

Open VirtualTim opened 1 year ago

VirtualTim commented 1 year ago

Describe your use-case which is not covered by existing documentation.

The readme has a nice looking example message: However I can't see any documentation on how to achieve this.

The closest thing I see is this: https://github.com/jenkinsci/office-365-connector-plugin/blob/ddd8cd004bbf5fc66df281949e525ff5beb4a70c/README.md?plain=1#L145-L147

I'm guessing that the fact names correspond to things like Status or Remarks, but I have no idea about what "template" I should be using to match the screenshot from the documentation.

Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.

No response

damianszczepanik commented 1 year ago

Some of them are available when you use git plugin that integrates Jenkins and the PR, however this plugin is deprecated nowadays.

VirtualTim commented 1 year ago

Is there a way to mimic that behaviour using factDefinitions?

lppedd commented 1 year ago

@damianszczepanik

however this plugin is deprecated nowadays

This in the sense of this connector?

damianszczepanik commented 1 year ago

Referenced plugin is deprecated, office-365-connector-plugin is not