External artifacts are not deleted when the build is deleted

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Jesse Glick
            Reporter:
            Ivan Fernandez Calvo
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: