jenkinsci / jenkinsci/subversion-plugin

[JENKINS-12850] Pre-select SVN path matching default value for SVN "list tags" parameters

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


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

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

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.