Re: Groovy script other script tools functions

2016-07-29 Thread jerome
Seem like the pipeline output cannot be parsed by the console log parser (he don't see them inside the node, some flushing or redirection is not properly done). so I'm move back to Python and did a simple script invoke with batch (this work): bat "\"${bcad.python_2_exe}\" \"${env.JENKINS_HOME}

Re: Groovy script other script tools functions

2016-07-28 Thread jerome
If this may help someone, here's my finding so far (I must admit I found Groovy inside Jenkins to be painful and by far one of my less favorite scripting language so far, especially loosing my head with a few things. Here's some traps I found: - the .each fct bug that iterating only once (w

Groovy script other script tools functions

2016-07-28 Thread jerome
Hi, First of, I'm totaly new to the Groovy thing (I'm not a Java dev either, I'm a C/C++/C#/Python/Bash guys). I'm trying (without any success so far) to use a common files between my JenkinsFiles as Tools.groovy to have a single implementation for them. I'm having problems to just find out wh