I found a Groovy script online that extracts the Maven version of the Jenkins Maven build job to an environment that I can then use in a wget call to a REST endpoint in a post-build action.
I've found that if the Maven job has never run, the Groovy script fails so I wanted to play with some error/null/exception checking, but the script references the Maven job information and I'm struggling debugging it. I've tried adding println calls to show where it is getting, but can't seem to get it to actually print anything to the console. I could use a bit of hand-holding on how to do this. I've never used Groovy before this little exercise and don't know Jenkins architecture from a programmatic perspective well enough. Thanks! -- Jeff Vincent See my LinkedIn profile at: http://www.linkedin.com/in/rjeffreyvincent -- 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. For more options, visit https://groups.google.com/groups/opt_out.