> On 03.03.2017, at 00:12, Justin Knowles <[email protected]> wrote: > > are there even install instructions on that page or directions for how to get > IntelliJ to understand GroovyDSL/Jenkinsfile?
It works for me with IntelliJ 2016.3.4. Steps: 1. Create a new Java project with Groovy dependency. 2. Right-click 'src', New, Groovy Script, call it 'dsl' and select kind 'GroovyDSL script'. 3. Paste in the output from Jenkins and save. 4. 'Activate back' 5. Right-click 'src', New, Groovy Script, call it 'Jenkinsfile' and select kind 'Groovy script'. 6. Paste in your Jenkinsfile 7. Enjoy autocompletion etc. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/20131B21-731E-4614-A2DF-A44BF686FC16%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
