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

Jenkins Pipeline GDSL Autocompletion does not work in IntelliJ IDEA.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • pipeline

      Using narrow-groove as example test case.

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

          [JENKINS-47497] Jenkins Pipeline GDSL Autocompletion does not work in IntelliJ IDEA.

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

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

          Add this line to fix this:

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

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

            Unassigned Unassigned
            sheeeng Leonard Lee
            Votes:
            21 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated: