On Tue, Dec 2, 2014 at 7:05 AM, Arek Skalski <
askal...@gmail.com> wrote:
> extensions: [<object of type hudson.plugins.git.extensions.impl.CloneOption>]
You have to replace the array element with actual code, such as a call
to the constructor of CloneOption, or more simply the map syntax:
[$class: 'CloneOption', shallow: true/false, reference: 'something',
timeout: 999]
I am not sure offhand why the snippet generator is not handling this
object and producing an error instead. Please file a bug in the
workflow-plugin component and specify the versions of Workflow and the
Git plugin you are using, and the configuration of the clone option
you were trying to generate.