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
      

      Error reported

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

          [JENKINS-42483] Certain GDSL methods are not generated

          Hosh created issue -
          Hosh made changes -
          Description Original: 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}

          > 'checkout' cannot be applied to '(org.jenkinsci.plugins.workflow.multibranch.SCMVar)'
          New: 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)'
          Jesse Glick made changes -
          Assignee Original: Carlos Sanchez [ csanchez ]
          Vincent Latombe made changes -
          Component/s Original: kubernetes-plugin [ 20639 ]

            Unassigned Unassigned
            thehosh Hosh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: