jenkinsci / jenkinsci/subversion-plugin

[JENKINS-23830] Validate repository URLs up to the first variable name fails if variable is the revision #

Open
#1,150 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

Using Jenkins 1.570 with SVN plugin 2.4. In the Jenkins Configure System page, the option to Validate repository URLs up to the first variable name is checked.

In our job, we allow the user to specify the revision of source to build.

In the job, the svn URL is specified something like:

http://myserver/svn/repository/branches/v1.0@${REVISION_PARAM}

The validation will throw an error:

"repository/branches/v1.0@" doesn't exist in the repository. Perhaps you mean "repository/branches/v1.0"

This is a specification time validation issue only. The plugin functions properly using a URL specified like this.

---
Originally reported by tmoore, imported from: Validate repository URLs up to the first variable name fails if variable is the revision #


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

Raw content of original issue

Using Jenkins 1.570 with SVN plugin 2.4. In the Jenkins Configure System page, the option to Validate repository URLs up to the first variable name is checked.

In our job, we allow the user to specify the revision of source to build.

In the job, the svn URL is specified something like:
http://myserver/svn/repository/branches/v1.0@${REVISION_PARAM}

The validation will throw an error:
"repository/branches/v1.0@" doesn't exist in the repository. Perhaps you mean "repository/branches/v1.0"

This is a specification time validation issue only. The plugin functions properly using a URL specified like this.


  • environment: Jenkins 1.570

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.