jenkinsci / jenkinsci/subversion-plugin
[JENKINS-24405] Validation of Subversion URL should ignore @$Var (Ie. variable peg-revision)
- Dominant language
- Java
- Stars
- 131
- Forks
- 275
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 6
Description
Hi!
It‘s already possible to limit the validation of a subversion URL only up to the first $ sign.
But, if I use a variable to specify the peg-revision (may containing a number or “HEAD”) and the character '@' is used as (prefix-) part within the URL, like:
https://anyhost/svn/project/trunk/GMC@$Revision
The job-configuration does display the error-message:
"/trunk/GMC@" doesn't exist in the repository. Maybe you meant "/trunk/GMC"?
In my opinion, the limited URL-validation should also recognize this pattern; Ie. Validation should be done up to the first $-sign (as now) or the first @$-pair; if the corresponding configuration (within global settings) is set.
Best regards from Salzburg,
Markus
---
Originally reported by
ibiatiroler, imported from: Validation of Subversion URL should ignore @$Var (Ie. variable peg-revision)
Raw content of original issue
Hi!
It‘s already possible to limit the validation of a subversion URL only up to the first $ sign.
But, if I use a variable to specify the peg-revision (may containing a number or “HEAD”) and the character '@' is used as (prefix-) part within the URL, like:
https://anyhost/svn/project/trunk/GMC@$RevisionThe job-configuration does display the error-message:
"/trunk/GMC@" doesn't exist in the repository. Maybe you meant "/trunk/GMC"?In my opinion, the limited URL-validation should also recognize this pattern; Ie. Validation should be done up to the first $-sign (as now) or the first @$-pair; if the corresponding configuration (within global settings) is set.
Best regards from Salzburg,
Markus
Contributor guide
Assessment
This issue has not been assessed yet.