I am using IntelliJ IDEA to edit the workflow-plugin groovy scripts for my 
Jenkins build.  This works great for the generic groovy parts of the build 
script.  However, IntelliJ by itself has no knowledge of the 
workflow-plugin steps called from groovy so it can't suggest any completion 
or show the underlying Javadoc.  However, if you define a suitable .gdsl 
file for workflow-plugin, it could.  For example, I ran into an issue 
earlier today with the readFile step.  I blindly copied some text from 
another posting 
<https://groups.google.com/forum/#!topicsearchin/jenkinsci-users/workflow/jenkinsci-users/1jgXUgPP8Vk>
 
to the Jenkins users group.  It took some time to determine that the named 
parameters were wrong.  Yes, the snippit generator on the Jenkins web page 
helps somewhat, but for me, Javadoc is better. 

Has anyone created one of these for workflow-plugin?  I think it would be a 
great help for learning about how to use these build steps.

For reference:

https://confluence.jetbrains.com/display/GRVY/Scripting+IDE+for+DSL+awareness#ScriptingIDEforDSLawareness-DescribingGroovyDSLinternallanguageinitsownterms


-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/817d50e4-35fc-4f45-94d2-fe86556966c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to