I think
options {
// Declare the Foo
withFoo(fooParams)
}
Should work as is. Have you tried it?
/B
2018-05-17 18:44 GMT+02:00 Bill Dennis :
> I am developing a Jenkins pipeline plugin that provides some custom block
> scoped steps something like this:
>
>
I am developing a Jenkins pipeline plugin that provides some custom block
scoped steps something like this:
withFoo( fooParams ) {
// Some code block that uses the declared "Foo" thing
}
My *withFoo* step creates some object "Foo" that is made available in the
code block to my other custom