Re: Logging to the console output from a trusted global pipeline library

2016-10-26 Thread Baptiste Mathus
Hi, IIUC you try to call a step (echo) from nonCPS, this is not supported. See https://groups.google.com/d/msg/jenkinsci-users/1BIPH5FrktE/3N02pUNDAgAJ and more explanations here on a previous answer of mine https://groups.google.com/d/msg/jenkinsci-users/1BIPH5FrktE/p9Ys5gJEAgAJ HTH 2016-10-22 1

Re: Logging to the console output from a trusted global pipeline library

2016-10-22 Thread Sean McNamara
Amendment below; I omitted some information... On Sat, Oct 22, 2016 at 9:33 AM, Sean McNamara wrote: > Hello, > > I'm trying to print to the console output tab of a running pipeline > project from a global pipeline library. My understanding is that the > only way to do this is via the echo step.

Logging to the console output from a trusted global pipeline library

2016-10-22 Thread Sean McNamara
Hello, I'm trying to print to the console output tab of a running pipeline project from a global pipeline library. My understanding is that the only way to do this is via the echo step. What I have is a bunch of more "sophisticated" Groovy code (such as - *gasp!* - loops) that doesn't work under