Extension for Jenkins Configuration-as-Code plugin that allows running Groovy scripts
Configuration-as-Code can run Groovy scripts.
Groovy scripts can be:
- inline, with entry
script
- from
url
- from local file, using
file
groovy:
- script: >
println("This is Groovy script!");
- It is recommended to use semicolons at the end of lines
- There is no dry run implemented for Groovy scripts feature