jenkinsci / jenkinsci/git-parameter-plugin

Git Parameter inherits branches from preceding Git parameters

Open
#333 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
131
Forks
134
Avg merge
21h 5m
Merged PRs (30d)
1

Description

### Jenkins and plugins versions report

There is a persistent issue where a Git parameter incorrectly includes branches from all preceding Git parameter definitions

### What Operating System are you using (both controller, and any agents involved in the problem)?

Jenkins

### Reproduction steps

Steps to Reproduce:
Define multiple Git parameters in a single configuration (e.g., PARAM_A and PARAM_B).

Configure PARAM_B with a specific repository or filter.

Observe that PARAM_B displays its own branches plus all branches associated with PARAM_A.

### Expected Results

Each parameter should only display branches relevant to its own specific configuration/repository.

### Actual Results

Subsequent parameters inherit and append the branch lists of all preceding parameters.

### Anything else?

_No response_

### Are you interested in contributing a fix?

_No response_

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.