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.

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