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

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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to