jenkinsfile gdsl for intellij not working

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

jenkinsfile gdsl for intellij not working

red 888
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:

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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6f5284d2-d260-41ce-a010-3ef4f5d4b48e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: jenkinsfile gdsl for intellij not working

red 888
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:
<a href="https://st-g.de/2016/08/jenkins-pipeline-autocompletion-in-intellij" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fst-g.de%2F2016%2F08%2Fjenkins-pipeline-autocompletion-in-intellij\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG1cuQKusTMbgXL6Jtqc2KDGhtGsg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fst-g.de%2F2016%2F08%2Fjenkins-pipeline-autocompletion-in-intellij\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG1cuQKusTMbgXL6Jtqc2KDGhtGsg&#39;;return true;">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:
<a href="https://lh3.googleusercontent.com/-U3hLGfsp1VQ/WbiAlGnTnFI/AAAAAAAAAGA/tpRSE-d4zFkfc7VFxIgkch0DEOx-XjBuQCLcBGAs/s1600/Capture.PNG" style="text-align:center;margin-left:1em;margin-right:1em" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-U3hLGfsp1VQ/WbiAlGnTnFI/AAAAAAAAAGA/tpRSE-d4zFkfc7VFxIgkch0DEOx-XjBuQCLcBGAs/s1600/Capture.PNG&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-U3hLGfsp1VQ/WbiAlGnTnFI/AAAAAAAAAGA/tpRSE-d4zFkfc7VFxIgkch0DEOx-XjBuQCLcBGAs/s1600/Capture.PNG&#39;;return true;">

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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/453de103-0e7a-41ba-9b01-74eea7ea9edd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.