jenkinsci / jenkinsci/subversion-plugin

[JENKINS-41988] Subversion buildEnvVars does not load env variables in the svn URL for the warning

Open
#1,407 0 comments 0 reactions 0 assignees View on GitHub
component:subversion-plugin imported-jira-issue priority:minor resolution:unresolved
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


  • status: Open
  • priority: Minor
  • component(s): subversion-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251212-090250

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

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.