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

External artifacts are not deleted when the build is deleted

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core

      When you delete a build from the UI the Artifacts are not deleted from S3. The rotation of the build works, after digging a little, I found that when you deleted a build from the UI the method called is hudson.model.Run.delete this method does not call jenkins.model.delete(), it calls all the onDeleted method from the RunListener registered, thus I suppose that we have to implement a RunListener that implements the onDeleted method.

          [JENKINS-51819] External artifacts are not deleted when the build is deleted

          Ivan Fernandez Calvo created issue -
          Jesse Glick made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: artifact-manager-s3-plugin [ 23538 ]
          Assignee New: Jesse Glick [ jglick ]
          Summary Original: Artifacts are not deleted when you deleted the build New: External artifacts are not deleted when the build is deleted
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Labels New: lts-candidate
          Jesse Glick made changes -
          Remote Link New: This issue links to "core PR 3484 (Web Link)" [ 20824 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Jesse Glick made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          CloudBees Inc. made changes -
          Remote Link New: This issue links to "CloudBees Internal ARC-378 (Web Link)" [ 20833 ]
          Oliver Gondža made changes -
          Labels Original: lts-candidate New: 2.121.2-fixed

            jglick Jesse Glick
            ifernandezcalvo Ivan Fernandez Calvo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: