[JIRA] (JENKINS-42483) Certain GDSL methods are not generated

1 view
Skip to first unread message

superaktieboy@gmail.com (JIRA)

unread,
Mar 4, 2017, 3:12:01 AM3/4/17
to jenkinsc...@googlegroups.com
Hoshang Sadiq created an issue
 
Jenkins / Bug JENKINS-42483
Certain GDSL methods are not generated
Issue Type: Bug Bug
Assignee: Carlos Sanchez
Components: kubernetes-plugin, workflow-aggregator-plugin
Created: 2017/Mar/04 8:11 AM
Priority: Minor Minor
Reporter: Hoshang Sadiq

When using the pipeline syntax gdsl generator, certain methods are not generated and others are not generated correctly (as far as I can tell anyway). The ones I noticed are podTemplate's namedParam containers should be a List rather than a Map. Additionally, it doesn't generate a method for containerTemplate, podAnnotation, hostPathVolume.

Additional errors being reported by IntelliJ:

checkout scm

> 'checkout' cannot be applied to '(org.jenkinsci.plugins.workflow.multibranch.SCMVar)'

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

superaktieboy@gmail.com (JIRA)

unread,
Mar 4, 2017, 10:17:01 AM3/4/17
to jenkinsc...@googlegroups.com
Hoshang Sadiq updated an issue
Change By: Hoshang Sadiq
When using the pipeline syntax gdsl generator, certain methods are not generated and others are not generated correctly (as far as I can tell anyway). The ones I noticed are {{podTemplate}}'s namedParam {{containers}} should be a {{List}} rather than a {{Map}}. Additionally, it doesn't generate a method for {{containerTemplate}}, {{podAnnotation}}, {{hostPathVolume}}.


Additional errors being reported by IntelliJ:
{code}
checkout scm
{code}
Error reported
> bq. 'checkout' cannot be applied to '(org.jenkinsci.plugins.workflow.multibranch.SCMVar)'

olaf.maerker@bosch-si.com (JIRA)

unread,
May 11, 2018, 5:47:02 AM5/11/18
to jenkinsc...@googlegroups.com
Olaf Märker commented on Bug JENKINS-42483
 
Re: Certain GDSL methods are not generated

Here are some more that are incorrect or missing:

  • withCredentials parameter 'bindings' must be List instead of Map
  • withEnv parameter 'overrides' must be List instead of Map
  • Methods 'configFileProvider' and 'configFile' are missing
  • method node has an optional parameter 'label'. With the current gdsl it is shown as mandatory  in IDEA. Maybe we need here an additional 'node()' entry without label
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

jenkins@albersweb.de (JIRA)

unread,
Oct 11, 2018, 7:01:02 AM10/11/18
to jenkinsc...@googlegroups.com

Also incorrect in Jenkins 2.138.2:

  • withMaven parameter 'options' must be List instead of Map
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jglick@cloudbees.com (JIRA)

unread,
Jul 16, 2019, 3:44:10 PM7/16/19
to jenkinsc...@googlegroups.com
Jesse Glick assigned an issue to Unassigned
 
Change By: Jesse Glick
Assignee: Carlos Sanchez
Reply all
Reply to author
Forward
0 new messages