..
NOTE from the future:
Whoops, this was written and forgot in the depths of my drafts. So I just reviewed it and said, hey, It is acceptable to post 😀
..
The third (and probably last) post about this lovely Jenkins guy. It seems that people is right, lately I’m Jenkins man.
Most of what I do in Jenkins can be done with the Groovy Scripting language itself, usually via the Scriptler plugin to keep things organized.
I am a command line guy, and sometimes I just want to get a plain text file with the results for something, instead of firing up Jenkins, going to a build, checking the artifact or output.
In this post I’ll present how to combine a basic Groovy script, with a more in-depth analysis with a python script: