-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
v1.588
I'm trying to use the choice parameter to let the user choose an ant target. I want the first (default) option to be an empty String (see screen1 in attachments how to reproduce). This seems to work fine if I click on "Save" for the first time: The job settings are set as intended (see screen2). But when I edit the job the next time, the empty option in front will automatically be deleted. Is this wanted behavior?
I also tried the following things:
- if I add more than one empty options in front, there will also be one empty option deleted whenever I edit the job settings
- if the empty option is not at first position (but e.g. between target2 and target3), then the option will not be deleted
It would be great if an empty option at the first position will be possible (and stay there when editing settings). Another use case would be to set a $branch with a choice parameter and use this for example with CVS. When the branch field is empty, CVS will automatically use Head.
- relates to
-
JENKINS-8539 If first choice is a blank line, it gets removed when returning to Configure the project
- Closed
-
JENKINS-27505 A blank line in the beginning of a textarea is removed
- Resolved