jenkinsci / jenkinsci/gitlab-plugin

addGitLabMRComment does not work with Multi-branch pipeline

Open
#1,522 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Java
Stars
1.4k
Forks
615
Avg merge
4h 32m
Merged PRs (30d)
10

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)?

Linux

### Reproduction steps

Add "addGitLabMRComment" to steps

post {
unstable {
echo "This block runs if the current status is marked unstable."
addGitLabMRComment comment: 'Unit tests failed'
}
}

### Expected Results

MR comment should be added to GitLab.

### Actual Results

MR comment is not added to GitLab.

### 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.