Snippet generator sometimes produces incorrect snippets

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Jesse Glick
            Reporter:
            Timur Batyrshin
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: