Title: Message Title
Chris Kitching updated an issue
Jenkins / JENKINS-39197
Weird contradiction to do with creating temp files
Change By:
Chris Kitching
The highly infuriating security system that cannot be turned off does not permit the use of File.createTempFile in Jenkinsfile scripts :"Scripts not permitted to use staticMethod java.io.File createTempFile java.lang.String java.lang.String"However, it has no issues at all with me just doing "sh('mktemp')", which is functionally equivalent.Indeed, I find myself frequently using shell scripts to work around security "features" like this. More thought apparently needs to be given to what is forbidden.
Add Comment
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit