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

          Olaf Märker added a comment -

          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

          Olaf Märker added a comment - 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

          Harald Albers added a comment -

          Also incorrect in Jenkins 2.138.2:

          • withMaven parameter 'options' must be List instead of Map

          Harald Albers added a comment - Also incorrect in Jenkins 2.138.2: withMaven parameter 'options' must be List instead of Map

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

              Created:
              Updated: