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

Deleting project does not delete artifacts from S3

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.190.3, Artifact Manager on S3 plugin 1.7
    • Similar Issues:

      Description

      Note that I have the "-Dio.jenkins.plugins.artifact_manager_jclouds.s3.S3BlobStoreConfig.deleteArtifacts=true" value set.

      If I delete a single build then the corresponding artifacts are deleted from S3. If I delete the whole project then none of the artifacts are deleted in S3.

        Attachments

          Activity

          Hide
          jglick Jesse Glick added a comment -

          Could be considered a core bug in that JCloudsArtifactManager.delete ought to have been called for all the builds, but that would be inefficient anyway.

          Show
          jglick Jesse Glick added a comment - Could be considered a core bug in that JCloudsArtifactManager.delete ought to have been called for all the builds, but that would be inefficient anyway.
          Hide
          joeb454 Joe Barker added a comment -

          This is also something that's impacting us. We're using the Bitbucket Branch Source plugin, and if any of our developers delete a branch from Bitbucket then Jenkins correctly removes the branch but any artifacts would remain in S3. Deleting a build through Jenkins does correctly remove the artifacts from S3, however.

           

          Show
          joeb454 Joe Barker added a comment - This is also something that's impacting us. We're using the Bitbucket Branch Source plugin, and if any of our developers delete a branch from Bitbucket then Jenkins correctly removes the branch but any artifacts would remain in S3. Deleting a build through Jenkins does correctly remove the artifacts from S3, however.  

            People

            • Assignee:
              Unassigned
              Reporter:
              lukelast Luke Last
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: