jenkinsfile gdsl for intellij not working

501 visualizações
Pular para a primeira mensagem não lida

red 888

não lida,
12 de set. de 2017, 20:51:3312/09/2017
para Jenkins Users
followed the instructions and this article:

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

red 888

não lida,
12 de set. de 2017, 21:02:1412/09/2017
para Jenkins Users
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)'

Sean Riley

não lida,
13 de out. de 2017, 14:05:5413/10/2017
para Jenkins Users
I have the same issue.  It doesn't recognize pipeline as a closure.  
Responder a todos
Responder ao autor
Encaminhar
0 nova mensagem