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

ExportXMLWordPrintable

      Steps to reproduce:

      1. Create a freestyle job
      2. Add "Execute system Groovy script" build step
      3. Add content (see below)
      4. Run build with "Use Groovy Sandbox" enabled.
      5. Run without "Use Groovy Sandbox" enabled

       

      def someArrayList = []
      
      println someArrayList.empty
      

      This works when the sandbox is disabled, but when sandbox is enabled it returns

      []
      

      Instead of

      true
      

      like it should.

      After downgrading back from Script Security 1.44 to 1.43 the problem is fixed.
      I suspect https://issues.jenkins-ci.org/browse/JENKINS-50470 is the problem

            Assignee:
            Unassigned
            Reporter:
            Kyle Carter
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: