jenkinsci / jenkinsci/subversion-plugin
[JENKINS-12850] Pre-select SVN path matching default value for SVN "list tags" parameters
- Dominant language
- Java
- Stars
- 131
- Forks
- 275
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 6
Description
When using Subversion's "list tags" parameter, the default value associated with a listtags parameter is only taken into account for automatically triggered builds. In the parameter selection UI for a manual build the default value is simply ignored: the "list tags" dropdown always has the first item selected.
If a default value is given for a "list tags" parameter, and this default value is present in the values shown in the dropdown, then the corresponding option in the dropdown should be pre-selected (when parameterising a manual build).
The attached patch implements the desired behaviour.
---
Originally reported by abolka, imported from: Pre-select SVN path matching default value for SVN "list tags" parameters
Raw content of original issue
When using Subversion's "list tags" parameter, the default value associated with a listtags parameter is only taken into account for automatically triggered builds. In the parameter selection UI for a manual build the default value is simply ignored: the "list tags" dropdown always has the first item selected.
If a default value is given for a "list tags" parameter, and this default value is present in the values shown in the dropdown, then the corresponding option in the dropdown should be pre-selected (when parameterising a manual build).
The attached patch implements the desired behaviour.
1 attachment
- [jenkins-svn-listtags-default.patch](https://issues.jenkins.io/secure/attachment/21545/jenkins-svn-listtags-default.patch)
Contributor guide
Assessment
This issue has not been assessed yet.