• 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.

          [JENKINS-56557] Temporary script files are not deleted

          Adrian Vlad created issue -
          Adrian Vlad made changes -
          Assignee New: Josh Soref [ jsoref ]
          Adrian Vlad made changes -
          Assignee Original: Josh Soref [ jsoref ] New: Oleg Nenashev [ oleg_nenashev ]

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

              Created:
              Updated: