![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Unassigned |
|
Attachments:
|
screen1.png, screen2.png, screen3.png |
|
Components:
|
core |
|
Created:
|
19/Nov/14 6:51 AM
|
|
Description:
|
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.
|
|
Environment:
|
v1.588
|
|
Project:
|
Jenkins
|
|
Priority:
|
Minor
|
|
Reporter:
|
Sven K
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.