jenkinsci / jenkinsci/git-plugin
[JENKINS-29842] Parameters not expanded in the Repository browser URL field
- 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
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
Assessment
This issue has not been assessed yet.