jenkinsci / jenkinsci/subversion-plugin
[JENKINS-41988] Subversion buildEnvVars does not load env variables in the svn URL for the warning
- Dominant language
- Java
- Stars
- 131
- Forks
- 275
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 6
Description
Inside of src/main/java/hudson/scm/SubversionSCM.java the buildEnvVars() function does not load env variables corresponding to the svn URL. Therefore it throws a bunch of errors(no revision found corresponding to...) in the logs when you use something like $SVN_URL for the url in a job.
I think just adding the function to load the build environment would solve this issue but maybe I am mistaken.
I meant to get to this since similar fixes have been done elsewhere in the code but I have not yet spent the time.
---
Originally reported by
ataylor, imported from: Subversion buildEnvVars does not load env variables in the svn URL for the warning
Raw content of original issue
Inside of src/main/java/hudson/scm/SubversionSCM.java the buildEnvVars() function does not load env variables corresponding to the svn URL. Therefore it throws a bunch of errors(no revision found corresponding to...) in the logs when you use something like $SVN_URL for the url in a job.
I think just adding the function to load the build environment would solve this issue but maybe I am mistaken.
I meant to get to this since similar fixes have been done elsewhere in the code but I have not yet spent the time.
Contributor guide
Assessment
This issue has not been assessed yet.