-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Windows Server 2012 R2 64bit
JDK8 u112
Jenkins 2.49
active choices plugin 1.5.2
job dsl plugin 1.58
Jenkins run directly
no proxy
no slave nodes
Chrome browser 56.0.2924.87 (64-bit)
I have just installed active-choices plugin and used it in conjunction with job dsl plugin.
When I generate job with active choices plugin, fields do not render. Going into configuration and clicking save (without changing anything) fixes problem although it is frustrating bug because it needs to be done after each generation. Screens are attached.
As you can see I am using
- 1 activeChoiceParam (single select)
- 10 activeChoiceReactiveReferenceParam (formatted html)
- 1 activeChoiceReactiveParam (checkbox)
formatted html looks like this:
return '<input name="value" value="${parameter}" class="setting-input" type="text" readonly>'
I also found this issue - https://issues.jenkins-ci.org/browse/JENKINS-39760
maybe it is related somehow.
- depends on
-
JENKINS-42710 Update Active Choices DSL to support new secureScript tag (script-security-plugin)
-
- Closed
-
[JENKINS-42655] Active choices parameters not rendering after dsl generation
Description |
Original:
I have just installed active-choices plugin and used it in conjunction with job dsl plugin. When I generate job with active choices plugin, fields do not render. Going into configuration and clicking save (without changing anything) fixes problem although it is frustrating bug because it needs to be done after each generation. Screens are attached. As you can see I am using * 1 activeChoiceParam (single select) * 10 activeChoiceReactiveReferenceParam (formatted html) * 1 activeChoiceReactiveParam (checkbox) formatted html looks like this: return '<input name="value" value="$\{parameter}" class="setting-input" type="text" readonly>' |
New:
I have just installed active-choices plugin and used it in conjunction with job dsl plugin. When I generate job with active choices plugin, fields do not render. Going into configuration and clicking save (without changing anything) fixes problem although it is frustrating bug because it needs to be done after each generation. Screens are attached. As you can see I am using * 1 activeChoiceParam (single select) * 10 activeChoiceReactiveReferenceParam (formatted html) * 1 activeChoiceReactiveParam (checkbox) formatted html looks like this: return '<input name="value" value="$\{parameter}" class="setting-input" type="text" readonly>' I also found this issue - https://issues.jenkins-ci.org/browse/JENKINS-39760 maybe it is related somehow. |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Attachment | New: JENKINS-42655-diff.png [ 36417 ] |
Hi carek
Thanks for the detailed report. Triaging issues this weekend for the next development cycle. I'm also a Job DSL user, so it might make it easier for me to work on this issue
Will investigate the problem in this next cycle, and hopefully submit a fix or update this ticket in the next days.
Cheers
Bruno