[JIRA] (JENKINS-36948) return all selected values, when gets the default value
Title: Message Title Bruno P. Kinoshita resolved as Won't Fix Jenkins / JENKINS-36948 return all selected values, when gets the default value Change By: Bruno P. Kinoshita Status: Open Resolved Resolution: Won't Fix Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36948) return all selected values, when gets the default value
Title: Message Title Bruno P. Kinoshita commented on JENKINS-36948 Re: return all selected values, when gets the default value Hi Boguslaw Klimas, I think the pull request looks good, but maybe we are fixing the wrong issue. When you open the browser, and you have an HTML DOM, the plug-in inspects it, evals the code, and does not use the getDefaultParameterValue. Instead, it will evaluate the right value, given your Groovy script. What your pull request is doing, is basically changing the default parameter value, to return the script return value. The default behavior is simply return the first element, unless you specify otherwise. At the moment the plug-in *needs* a HTML DOM, and is not fully tested being used with curl, Pipeline Plug-in, or with different plug-ins. There are other issues that are aiming at making the plug-in compatible with headless environments, running in a pipeline, etc. Fixing those issues, would also fix your issue I think. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36948) return all selected values, when gets the default value
Title: Message Title Boguslaw Klimas commented on JENKINS-36948 Re: return all selected values, when gets the default value Any update for this? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36948) return all selected values, when gets the default value
Title: Message Title Boguslaw Klimas commented on JENKINS-36948 Re: return all selected values, when gets the default value I created pull request for this https://github.com/jenkinsci/active-choices-plugin/pull/10 Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36948) return all selected values, when gets the default value
Title: Message Title Boguslaw Klimas created an issue Jenkins / JENKINS-36948 return all selected values, when gets the default value Issue Type: New Feature Assignee: Bruno P. Kinoshita Attachments: image-2016-07-26-12-50-32-474.png, image-2016-07-26-12-54-26-346.png Components: active-choices-plugin Created: 2016/Jul/26 10:59 AM Priority: Minor Reporter: Boguslaw Klimas Currently taken is the first value from listy. We need returned all selected value as default. Eg. Parameter definition (Choice type: Check boxes) When I run manually I got and sample results Run jobs run_job_a,run_job_b When I run with http://jenkins:8080/job/jobName/buildWithParameters (use curl) I got Run jobs run_job_a:selected but I need the same value (all selected)