jenkinsci / gitlab-branch-source-plugin

A Jenkins Plugin for GitLab Multibranch Pipeline jobs and Folder Organization
https://plugins.jenkins.io/gitlab-branch-source
MIT License
119 stars 85 forks source link

Pipeline status is not returning to GitLab when "custom script" is used in Build Configuration #395

Open prasad-clouduser opened 4 months ago

prasad-clouduser commented 4 months ago

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

PIC RHEL

Reproduction steps

  1. Used "Custom Script" in Mode field of Build Configuration in Multi Branch Pipeline.
  2. Ran the pipeline and able to execute it successfully and but pipeline is not returning the status.
  3. Pipeline status in GitLab in Pending state. Actually it should be showing as success but not in this case.
  4. Attached screenshot for reference. customScript

Expected Results

Pipeline status in GitLba should be showing as success and allow MR to merge with target branch.

Actual Results

Not returning pipeline status from Jenkins to GitLab. pipeline status in GitLab is in stuck state. PIC

Anything else?

No response

Are you interested in contributing a fix?

No response