Groovy left-shift operator not whitelisted

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

XMLWordPrintable

      Groovy leftShift operator "<<" is not allowed for script approval, it is denied immediately only in JenkinsFile SandBox. The code:

      'AB' << 'CDE'
      

      Causes:

      Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods leftShift java.lang.String java.lang.Object
      

      In the job script editor works normally (appears for approval).

            Assignee:
            Andrew Bayer
            Reporter:
            Flávio Augusto Valones
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: