On Tue, Dec 2, 2014 at 7:05 AM, Arek Skalski <[email protected]> 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.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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-dev/CANfRfr3xb0CeSB4FtgfwdFPAr8%3DakzDXi2N9Dy28O5OQZKMbUA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to