Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47497

Jenkins Pipeline GDSL Autocompletion does not work in IntelliJ IDEA.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: pipeline
    • Environment:
    • Similar Issues:

      Description

      Using narrow-groove as example test case.

      Received 'pipeline' cannot be applied to '(groovy.lang.Closure)' error message. See also attachment.

        Attachments

          Issue Links

            Activity

            Hide
            fmiedniak Florian Miedniak added a comment -

            After some investigation, it seems to me that GDSL doesn't support declarative style at all: JENKINS-37783

            Show
            fmiedniak Florian Miedniak added a comment - After some investigation, it seems to me that GDSL doesn't support declarative style at all: JENKINS-37783
            Hide
            lanoxx Sebastian Geiger added a comment -

            Add this line to fix this:

                method(name: 'pipeline', type: 'Object', params: [body:'Closure'], doc: 'Pipeline root element')

            Show
            lanoxx Sebastian Geiger added a comment - Add this line to fix this:     method( name : 'pipeline' , type : 'Object' , params : [ body : 'Closure' ] , doc : 'Pipeline root element' )

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sheeeng Leonard Lee
              Votes:
              18 Vote for this issue
              Watchers:
              17 Start watching this issue

                Dates

                Created:
                Updated: