jenkinsci / jenkinsci/gitlab-plugin

No pipeline in GitLab for MR Comment

Open
#904 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.4k
Forks
615
Avg merge
4h 32m
Merged PRs (30d)
10

Description

## New GitLab pipeline doesn't appear for GitLab Merge Request comment

### Context
- **Gitlab plugin version**: 1.5.11
- **Gitlab version**: 11.6.5
- **Jenkins version**: 2.150.2
- **Job type**: Pipeline

### Logs & Traces
### Problem description
Configuration:

- On Jenkins side "Comment (regex) for triggering a build" is set to "Jenkins please retry a build"
- On GitLab side, for webhook, "Comments" is marked
- Jenkins Pipeline updates GitLab using `updateGitlabCommitStatus`

Steps to reproduce the issue:

- In GitLab on MR page, add the comment "Jenkins please retry a build"
- Jenkins build is performed for MR
- What is expected: a new pipeline will appear on GitLab for MR
- Actual: It looks like GitLab know nothing about the Pipeline run started on Jenkins for the comment

If I commit a change to branch, a new pipeline will appear on GitLab, but for comment on MR page, it is not so.

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.