Issue Type: Bug Bug
Assignee: Jesse Glick
Components: workflow-plugin
Created: 03/Feb/15 11:43 AM
Description:

Snippet generator sometimes produces incorrect snippets like:

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']]]

Here the {{extensions: [<object of type hudson.plugins.git.extensions.impl.CleanCheckout>]}} doesn't look like a valid Groovy syntax.
I think if the object reference can't be generated (probably it can be) it should be made more explicit that this construct does not work.

Project: Jenkins
Priority: Major Major
Reporter: Timur Batyrshin
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to