IntelliJ & pipeline.gdsl broken

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

IntelliJ & pipeline.gdsl broken

Charles Moulliard
Hi,

It seems that the pipeline.gdsl does not work anymore using a pipeline groovy project under IntelliJ.

The following syntax
def pipelinesPath = /.*\/resources\/.*groovy/

def ctx = context(scope: scriptScope(), pathRegexp: pipelinesPath)
contributor(ctx) {
    method(name: 'parallel', type: 'Object', params: ['closures':'java.util.Map'], doc: 'Execute in parallel')
...

does not allow to use auto completion within the a pipeline groovy file

@Library('snowdrop-lib@0.2') _
import org.jenkinsci.plugins.workflow.libs.Library

def AGENT_LABEL = null

node('master') {
    stage('Determine platform and set agent'){


A few tags/DSL are highlighted but if we click on it, we cannot access the class or do autocompletion. This is really bad.

Cheers

Charles Moulliard

Software Engineer Manager - Spring

Red Hat

Rue de Franchimont 52A, Florennes, Belgium

[hidden email]    
M: +32473604014    

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPb1sSvHWbQAof8yLofdTo82mvGjawArJH%2BFY8QiGfpmioNYBg%40mail.gmail.com.