jenkinsci / jenkinsci/git-plugin

[JENKINS-29842] Parameters not expanded in the Repository browser URL field

Open
#2,702 14 comments 0 reactions 0 assignees View on GitHub
component:git-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
694
Forks
1.1k
Avg merge
1h 29m
Merged PRs (30d)
3

Description

I have a parametrized job where the parameter value is being replaced as expected in the git Repository URL field. However if I use the same variable in the Repository browser URL, the parameter is not expanded on the https://my-jenkins-server/job/my-job/job-num/ pages build info pages.

On that page, the repository links are showing up as "https://my-git-server/${REPO}" instead of have "${REPO}" replaced with the parameter passed to the job.

The job is using the correct repo otherwise, so does look like the ${REPO} replacement is working for the Repository URL field.

I'm using the gitlab version 6.8 as the repository browser.

---
Originally reported by pwan, imported from: Parameters not expanded in the Repository browser URL field


  • status: Open
  • priority: Minor
  • component(s): git-plugin
  • resolution: Unresolved
  • votes: 6
  • watchers: 9
  • imported: 2025-12-02

Raw content of original issue

I have a parametrized job where the parameter value is being replaced as expected in the git Repository URL field. However if I use the same variable in the Repository browser URL, the parameter is not expanded on the https://my-jenkins-server/job/my-job/job-num/ pages build info pages.

On that page, the repository links are showing up as "https://my-git-server/${REPO}" instead of have "${REPO}" replaced with the parameter passed to the job.

The job is using the correct repo otherwise, so does look like the ${REPO} replacement is working for the Repository URL field.

I'm using the gitlab version 6.8 as the repository browser.


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.