jenkinsci/office-365-connector-plugin

Adding committers/culprits to factdefinitions when using Jenkinsfile

fergzie opened this issue · 10 comments

When using the Plugin via GUI it adds committers/culprits to the factsdefinitions, but is there a way to add this to a Jenkinsfile when using the office365ConnectorSend call ?

If so, what would I write in the "template" field in factDefinitions?

Are you having the most recent version? AFAIR such problem was in the past

I'm using the latest version.
The problem is that there is no example on how this is done in a Jenkinsfile.

What would I write in the factdefinitions to add committers/culprits, when using pipeline?

office365ConnectorSend webhookUrl: "URL", factDefinitions: [[name: "Culprit", template: "what to write here??"]]

OK, attach screenshots for reference so this can be handled

Capture

What do I write here in order to get culprits shown in Teams as shown below?

teams_connector

This is not matter of gui or pipeline but father fact if SCM changes are detected or not

Ok, so if there is nothing that I need to do to make the plugin show SCM changes (culprits) in Microsoft teams notification, then I can say that it doesn't work.

I'm using version 4.13.2.

Jenkins delivers information about SCM changes and the plugin uses this data. As I remember when particular build shows changes then notification has such information and it adds into the message

As I said i'm my previous post, then this behavior does NOT work and therefore this is an issue, that should be fixed.

I don't think this is a plugin issue and that's why I closed this.

@fergzie Did it work for you ?? I am also facing similar issue. What is template here ?

office365ConnectorSend webhookUrl: "URL", factDefinitions: [[name: "Culprit", template: " what to write here?? "]]