jenkinsci / jenkinsci/teams-webhook-trigger-plugin

Response to MS Teams

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Jenkins and plugins versions report

Environment


```text
Paste the output here
```

### What Operating System are you using (both controller, and any agents involved in the problem)?

Jenkins - Windows

### Reproduction steps

1. send an outgoing webhook from teams using @nameofoutgoinghook somedata
2. jenkins gets the webhook and starts the build
3. Teams shows "Sorry, there was a problem encountered with your request"
4. jenkins completes the build.

### Expected Results

I'd expect to be able to specify a response to teams or at lease have the most basic response sent back to teams then we can use the jenkins connector for the build status.

{
"type": "message",
"text": "Jenkins is processing your request!"
}

### Actual Results

The teams-webhook-trigger just sends a 200 response with empty content {}

StatusCode : 200
StatusDescription : OK
Content : {}
RawContent : HTTP/1.1 200 OK
X-Content-Type-Options: nosniff
Content-Length: 0
Date: Tue, 24 May 2022 11:07:51 GMT
Server: Jetty(9.4.43.v20210629)


Headers : {[X-Content-Type-Options, nosniff], [Content-Length, 0], [Date, Tue, 24 May 2022 11:07:51 GMT],
[Server, Jetty(9.4.43.v20210629)]}
RawContentLength : 0

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.