I don't know of a way to make eclipse run the same groovy as Jenkins, but
the "Replay" button in Jenkins has made my debugging much faster. I can
remove build stages and change arguments for faster iteration on
experiments.

Mark Waite

On Fri, Oct 14, 2016, 4:16 AM Jonathan Hodgson <j.r.hodg...@gmail.com>
wrote:

> Hi,
>
> Testing out new Groovy code inside Jenkins is slow and painful. Whereas I
> can run a bit of code in a second on my local system inside Eclipse, it can
> be minutes on Jenkins (because it is part of a build), even if I strip
> everything out that I possibly can it's at least an order of magnitude
> greater. As a newbie to Groovy it can take me a number of iterattions to
> get things right (especially given the issue I'll talk abiout next), so
> being able to test code on my local machine would be MUCH better.
>
> Unfortunately, Groovy in the pipeline is a bit broken,
>
> https://issues.jenkins-ci.org/browse/JENKINS-35390
>
> There are workarounds, but if the problems only happen inside the
> pipeline, that that a lot of the development/debug iterations have to
> happen on the server.
>
> Things would progress much faster if I had a local implementation of
> Groovy that aped the one in the pipeline
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/3f495101-b785-4549-8885-2c282e464c18%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/3f495101-b785-4549-8885-2c282e464c18%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHkr030RvckPwF%2BB_0w%2Bp_Pc2DPWE%2BNS%3DL_ad2kdG8ZJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to