-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.150.3
EnvInject plugin 2.1.6
Temporary sh files created when using Script Content field for options Prepare an environment for the run or Inject environment variables to the build process from a freestyle job are not deleted.
I think that files created with createScriptFile() must be explicitly deleted in EnvInjectScriptExecutor.executeScriptContent(), https://github.com/jenkinsci/envinject-plugin/blob/master/src/main/java/org/jenkinsci/plugins/envinject/service/EnvInjectScriptExecutor.java#L83.