Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56557

Temporary script files are not deleted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • envinject-plugin
    • 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.

            oleg_nenashev Oleg Nenashev
            ace Adrian Vlad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: