Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33049

Groovy left-shift operator not whitelisted

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).

            abayer Andrew Bayer
            valones Flávio Augusto Valones
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: