jenkinsci / jenkinsci/gitlab-plugin

MR Jenkins Build Status after re-triggering the same build

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

Description

## Issue
When we create a MR,we are able to see build status as running in the GitLab.Due to any issue the build fails and we just re-trigger the build again from Jenkins,gitlab is not showing latest build status and just showing build status as failed from the previous build.

### Context
- **Gitlab plugin version**: 1.5.12-SNAPSHOT (private-90d6c97c-owen)
- **Gitlab version**: 11.9.4-ee
- **Jenkins version**: 2.152
- **Job type**: Pipeline

### Logs & Traces
No Logs in the GitLab

### Problem description

_Describe your problem in a meaningful way_:
- what were you doing (simple push, merge request, MR with fork, ...)
Create MR request and observe the Build status as Running.
Fail the Build and build status will be displayed as Failed in the Gitlab
Trigger the Build again for the MR
- what was expected
You should see the Build status for the latest Build running but it will be pointed to old build of jenkins
- what occurred finally
As we can not get latest build status,we can not merge the MR and need to push dummy commit again to get the latest status as green

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.