jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-65992] CHANGE_ID should be set for GitHub branch builds discovered via "Only branches that are also filed as PRs"

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

Description

For the GitHub Branch Source plugin, currently the branches discovered don't have the CHANGE_ID environment variable (or other change-request-related env vars) set. 

It would be great if the appropriate vars were set when such branches are discovered with the "Only branches that are also filed as PRs" strategy were selected, since we'll always have a PR available in that case.

---
Originally reported by jumhyn, imported from: CHANGE_ID should be set for GitHub branch builds discovered via "Only branches that are also filed as PRs"


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

Raw content of original issue

For the GitHub Branch Source plugin, currently the branches discovered don't have the CHANGE_ID environment variable (or other change-request-related env vars) set. 

It would be great if the appropriate vars were set when such branches are discovered with the "Only branches that are also filed as PRs" strategy were selected, since we'll always have a PR available in that case.

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.