[JIRA] (JENKINS-51202) choiceParam not listed in JobDSL API viewer

8 views
Skip to first unread message

aga@iki.fi (JIRA)

unread,
May 8, 2018, 10:02:02 AM5/8/18
to jenkinsc...@googlegroups.com
Aleksi Aalto created an issue
 
Jenkins / Bug JENKINS-51202
choiceParam not listed in JobDSL API viewer
Issue Type: Bug Bug
Assignee: Daniel Spilker
Components: job-dsl-plugin
Created: 2018-05-08 14:01
Labels: documentation
Priority: Minor Minor
Reporter: Aleksi Aalto

https://jenkinsci.github.io/job-dsl-plugin/#path/job-parameters

does not list choiceParam, although it works.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

aga@iki.fi (JIRA)

unread,
May 8, 2018, 10:03:02 AM5/8/18
to jenkinsc...@googlegroups.com
Aleksi Aalto updated an issue
Change By: Aleksi Aalto
[https://jenkinsci.github.io/job-dsl-plugin/#path/job-parameters]

{{does not list choiceParam, although
it that parameter exists and works.}}

mail@daniel-spilker.com (JIRA)

unread,
Jun 20, 2018, 6:26:01 PM6/20/18
to jenkinsc...@googlegroups.com
Daniel Spilker resolved as Not A Defect
 

choiceParam is provided by the Dynamic DSL which is not available in the (static) API viewer. See the link for details.

Change By: Daniel Spilker
Status: Open Resolved
Resolution: Not A Defect

mail@daniel-spilker.com (JIRA)

unread,
Jul 3, 2018, 4:23:04 PM7/3/18
to jenkinsc...@googlegroups.com
Daniel Spilker closed an issue as Not A Defect
Change By: Daniel Spilker
Status: Resolved Closed
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

roman.donchenko@intel.com (JIRA)

unread,
Jun 27, 2019, 8:52:02 AM6/27/19
to jenkinsc...@googlegroups.com
Roman Donchenko reopened an issue
 

I think there is still a bug here. There is a non-dynamic version of choiceParam (https://github.com/jenkinsci/job-dsl-plugin/blob/job-dsl-1.74/job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/BuildParametersContext.groovy#L86), and that one is not visible in the API viewer.

Compare it with, for example, booleanParam, for which both dynamic and non-dynamic versions are shown.

Change By: Roman Donchenko
Resolution: Not A Defect
Status: Closed Reopened
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

mail@daniel-spilker.com (JIRA)

unread,
Jul 3, 2019, 9:08:02 AM7/3/19
to jenkinsc...@googlegroups.com

mail@daniel-spilker.com (JIRA)

unread,
Jul 4, 2019, 2:46:03 AM7/4/19
to jenkinsc...@googlegroups.com
Change By: Daniel Spilker
Status: Reopened Fixed but Unreleased
Resolution: Fixed

mail@daniel-spilker.com (JIRA)

unread,
Mar 11, 2020, 9:42:04 AM3/11/20
to jenkinsc...@googlegroups.com
Change By: Daniel Spilker
Status: Fixed but Unreleased Closed
Released As: job-dsl 1.75
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages