-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
Any
Jenkins should set a SecurityManager and explicity trap out calls to System.exit from plugins.
This would prevent eg. the following script from taking out the whole web container:
System.exit(0)
Groovy even provides a NoExitSecurityManager for this purpose.
Wouldn't it suffice to fix plugins so they use Script Security Plugin for everything groovy?