-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.117
Script Security 1.44
Steps to reproduce:
- Create a freestyle job
- Add "Execute system Groovy script" build step
- Add content (see below)
- Run build with "Use Groovy Sandbox" enabled.
- 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
Well, blech. Gotta love inadvertent side effects. I'll see what I can do.