I have the same issue. It doesn't recognize pipeline as a closure. On Tuesday, September 12, 2017 at 9:02:14 PM UTC-4, red 888 wrote: > > OK so I created a brand new groovy project and added my files to it and > now it seems be resolving jenkinsfile stuff, BUT it still doesn't like > "pipeline" and is still saying it "cannot be applied to > '(groovy.lang.Closure)' > > On Tuesday, September 12, 2017 at 8:51:33 PM UTC-4, red 888 wrote: >> >> followed the instructions and this article: >> https://st-g.de/2016/08/jenkins-pipeline-autocompletion-in-intellij >> >> But the dsl is not working. Made sure it was in src which I marked as a >> source root. I got the message to Activate Back in Intellij and clicked it >> but even after doing that for jenkinsfile-isms like "echo" or "powershell" >> it says "cannot resolve symbol" >> >> Also more alarming I see this for my pipeline block I have in one of my >> shared libraries: >> >> <https://lh3.googleusercontent.com/-U3hLGfsp1VQ/WbiAlGnTnFI/AAAAAAAAAGA/tpRSE-d4zFkfc7VFxIgkch0DEOx-XjBuQCLcBGAs/s1600/Capture.PNG> >> >> My JAVA_HOME is set correctly, I'm not sure where else to look. I'm not >> even sure what this error means >> >>
-- 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/f7ec9dde-6ea2-4e76-bdf0-c215c6788bf3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
