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

Temporary script files are not deleted

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.150.3
      EnvInject plugin 2.1.6
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated: