jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-49800] Use Pipeline name on Pull Request status for GitHub to ease multiple Pipeline in a single repository

Open
#1,169 0 comments 0 reactions 0 assignees View on GitHub
component:github-branch-source-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
217
Forks
398
Avg merge
30m
Merged PRs (30d)
1

Description

I have a single Github Repository, with 2 Jenkinsfiles in 2 different sub-folder of this repository.

On Jenkins, I have 2 Multibranch Pipeline Jobs, both using the GitHub repository (as a GitHub SCM source). They do not use the same Jenkinsfile (pipeline "a" uses "a/Jenknisfile " and pipeline "b" uses "b/Jenkinsfile").

When I create a Pull Request, both Pipeline are triggered, which is expected and normal.

However, the PR status is set on the by both Pipelines: the slower to complete will be the last to set the status.

I understand this use case is not optimal, but as improvement, it could be useful to have the status referencing the pipeline name.

---
Originally reported by dduportal, imported from: Use Pipeline name on Pull Request status for GitHub to ease multiple Pipeline in a single repository


  • status: Open
  • priority: Minor
  • component(s): github-branch-source-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 2025-12-02

Raw content of original issue

I have a single Github Repository, with 2 Jenkinsfiles in 2 different sub-folder of this repository.

On Jenkins, I have 2 Multibranch Pipeline Jobs, both using the GitHub repository (as a GitHub SCM source). They do not use the same Jenkinsfile (pipeline "a" uses "a/Jenknisfile " and pipeline "b" uses "b/Jenkinsfile").

When I create a Pull Request, both Pipeline are triggered, which is expected and normal.

However, the PR status is set on the by both Pipelines: the slower to complete will be the last to set the status.

I understand this use case is not optimal, but as improvement, it could be useful to have the status referencing the pipeline name.


  • environment: CloudBees Jenkins 2.89.3-4-rolling (Core Jenkins 2.89.3)

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.