Groovy Console is a Swing GUI for perform several operations to your Groovy scripts. You may want to use Groovy Console to write and run Groovy scripts instead of IDE or command line.
What is Groovy script console?
Jenkins features a Groovy script console which allows one to run arbitrary Groovy scripts within the Jenkins controller runtime or in the runtime on agents.
How do I get groovy console?
2. Basics
- Groovy Console is launched via groovyConsole or groovyConsole.bat , both located in $GROOVY_HOME/bin.
- The Console has an input area and an output area.
- You type a Groovy script in the input area.
- When you select Run from the Actions menu, the console compiles the script and runs it.