I have a piece of groovy code generated by snipped:

checkout changelog: true, poll: true, scm: [$class: 'GitSCM', branches: 
[[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: 
[<object of type hudson.plugins.git.extensions.impl.CloneOption>], 
submoduleCfg: [], userRemoteConfigs: [[url: 
'/home/jenkins/gitrepo/git/jenkins-bare']]]

But it does not work with following error:
startup failed:
script14175216551441637635534.groovy: 1: unexpected token: [ @ line 1, 
column 149.
   gurations: false, extensions: [<object o

-- 
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/911bc943-aa40-4046-8b60-22a354c880b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to