On 8/10/18 1:34 PM, 'Björn Pedersen' via Jenkins Users wrote:
Hi,

Hola Björn,

I think you  are trying to be too clever here:

HaHa, would I ask this if I was clever?  ;)

pipeline{ } expects a declarative pipeline, but you are supplying a scripted one inside.

Brilliant, I should have known that.

The error mentions
[...]
at WorkflowScript.runPipeline(WorkflowScript:23)   <- this is  the line in your script where the error happens.
[...]
Thanks for pointing that out. Still can't read Java stack traces...

Try to get it working without  'pipeline {} '

Done and done. It works!

Many, many thanks, Björn. You saved me from going insane.

Cheers, Shorty

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/37fb16fb-8307-151b-fc1d-64c3c5587f2f%40koeln.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to