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

Environment Script leaves files in /tmp on Ubuntu

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Ubuntu 12.04.5 LTS
      Jenkins 1.554.2
      Environment Script Plugin 1.1.2
    • Similar Issues:

      Description

      Environment Script leaves files in /tmp on Ubuntu
      Each time we run a new build, a new file is created under /tmp, e.g.

      rw-rr- 1 jenkins jenkins 109 Dec 2 12:15 Foobar-Build809600488091589861.sh
      rw-rr- 1 jenkins jenkins 109 Dec 11 09:34 Foobar-Build8142409455122904929.sh
      rw-rr- 1 jenkins jenkins 109 Dec 18 10:52 Foobar-Build8155513293743564459.sh
      rw-rr- 1 jenkins jenkins 109 Dec 23 08:25 Foobar-Build8164362789916553503.sh
      rw-rr- 1 jenkins jenkins 109 Dec 19 07:03 Foobar-Build8165252111695871923.sh
      rw-rr- 1 jenkins jenkins 109 Jan 13 11:57 Foobar-Build8178047038033455844.sh
      rw-rr- 1 jenkins jenkins 109 Jan 15 06:16 Foobar-Build8189743526809125146.sh
      rw-rr- 1 jenkins jenkins 109 Dec 8 07:59 Foobar-Build8197831626738247047.sh
      rw-rr- 1 jenkins jenkins 109 Dec 3 16:06 Foobar-Build8202683899632609072.sh
      rw-rr- 1 jenkins jenkins 109 Nov 6 13:55 Foobar-Build8228796130409512367.sh
      rw-rr- 1 jenkins jenkins 109 Jan 15 13:22 Foobar-Build8240488157191986888.sh
      rw-rr- 1 jenkins jenkins 109 Nov 19 13:08 Foobar-Build8262938238272938552.sh

      These accumulate over time, and have to be manually deleted.
      For example, we have 1350 of these files in /tmp since Nov 4-Jan 28.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Dawid Malinowski
          Path:
          src/main/java/com/lookout/jenkins/EnvironmentScript.java
          http://jenkins-ci.org/commit/environment-script-plugin/334383daf4090ffa0eccb7dcf372b1255822860d
          Log:
          JENKINS-26673 - Environment Script leaves files in /tmp on Ubuntu

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Dawid Malinowski Path: src/main/java/com/lookout/jenkins/EnvironmentScript.java http://jenkins-ci.org/commit/environment-script-plugin/334383daf4090ffa0eccb7dcf372b1255822860d Log: JENKINS-26673 - Environment Script leaves files in /tmp on Ubuntu
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Dawid Malinowski
          Path:
          src/main/java/com/lookout/jenkins/EnvironmentScript.java
          http://jenkins-ci.org/commit/environment-script-plugin/01d1d45838f9c27c01d12b22e006e97f9d264a1d
          Log:
          Merge pull request #7 from dawidmalina/JENKINS-26673

          JENKINS-26673 - Environment Script leaves files in /tmp on Ubuntu

          Compare: https://github.com/jenkinsci/environment-script-plugin/compare/c6fdd2717bec...01d1d45838f9

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Dawid Malinowski Path: src/main/java/com/lookout/jenkins/EnvironmentScript.java http://jenkins-ci.org/commit/environment-script-plugin/01d1d45838f9c27c01d12b22e006e97f9d264a1d Log: Merge pull request #7 from dawidmalina/ JENKINS-26673 JENKINS-26673 - Environment Script leaves files in /tmp on Ubuntu Compare: https://github.com/jenkinsci/environment-script-plugin/compare/c6fdd2717bec...01d1d45838f9
          Hide
          dawidmalina Dawid Malinowski added a comment -

          Your ticket was resolved. Thank you for your feedback.

          Show
          dawidmalina Dawid Malinowski added a comment - Your ticket was resolved. Thank you for your feedback.

            People

            • Assignee:
              dawidmalina Dawid Malinowski
              Reporter:
              mcsf M Chon
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: