I've been hitting this as well. That doesn't help you solve it, however. I'm starting to think Workflow Plugin 1.1 is not ready for prime time. I hit a lot of bogus items.
On Tuesday, February 3, 2015 at 6:32:23 AM UTC-5, Timur Batyrshin wrote: > > Hi all, > > > How should I clean the checkout directory using GenericSCM step of > workflow-plugin? > > The snippet generator generates the line like the following: > checkout scm: [$class: 'GitSCM', branches: [[name: '*/master']], > extensions: [<object of type > hudson.plugins.git.extensions.impl.CleanCheckout>], userRemoteConfigs: > [[credentialsId: '4db1f14a-c479-48af-a3ea-da676bc2b051', url: ' > https://github.com/XXXXXX/XXXXXXXXXX.git']]] > > It looks like the [<object of type > hudson.plugins.git.extensions.impl.CleanCheckout>] is not the correct > Groovy syntax here (so says Jenkins). > > I've tried passing the following ways of specifying extensions but none of > them worked: > > extensions: [hudson.plugins.git.extensions.impl.CleanCheckout()] > extensions: [CleanCheckout()] // + at the very top of the script "import > hudson.plugins.git.extensions.impl.CleanCheckout" > extensions: [$class: 'CleanCheckout'] > extensions: [[$class: 'CleanCheckout']] > > Any ideas how this should be done? > > > Thanks, > Timur > -- 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/21320314-c272-4b0f-937c-94ea77c67760%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
