jenkinsci / jenkinsci/gitlab-plugin

MR Pipeline toke more than 50+ seconds to be triggered

Open
#1,143 0 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

## Issue

### Context
- **Gitlab plugin version**: 1.5.20
- **Gitlab version**: 13.6.0
- **Jenkins version**: 2.277.3
- **Job type**: Pipeline

### Logs & Traces

### Problem description

When opened a new MR from Gitlab UI, Jenkins pipeline is instantly triggered.

However, when update the MR with a simple new commit, pipeline took 50+ seconds to be triggered.

Different between two webbook Request body is action = open for new MR and action = update for new commit.
![image2](https://user-images.githubusercontent.com/2981926/123523913-da7eda00-d67b-11eb-8f4a-0feeaaba0ae3.png)

At the same time, close then reopen the MR also take 50+ seconds for pipeline to be triggered.

Here is gitlab webhook setting page screenshot
![image](https://user-images.githubusercontent.com/2981926/123523873-a0add380-d67b-11eb-9880-142c0bc5fff2.png)

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.