O'Reilly logo

Hudson 3 Essentials by Lloyd H. Meinholz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Performing a custom action with a Groovy script

Sometimes a complicated build may need to perform an action that neither Hudson 3 nor a plugin supports. In these cases, we can write a custom script that will perform these actions. We will use the Groovy programming language to implement this custom functionality. Groovy is a dynamic language that runs on the JVM. Groovy is syntactically similar to Java but simplifies many aspects of Java programming and can also be used as a scripting language.

Note

More information can be found about Groovy at the project home page at http://groovy.codehaus.org/. There are also many online tutorials and books to learn more about Groovy.

Configuring Groovy

We must define a Groovy installation for Hudson 3 to execute ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required