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

Deleting project does not delete artifacts from S3

    XMLWordPrintable

    Details

    • 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.  
          Hide
          ksuther Kent Sutherland added a comment -

          Seeing the same problem with the a git multibranch pipeline. When a multibranch scan deletes a branch the artifacts for the branch get left behind on S3.

          Show
          ksuther Kent Sutherland added a comment - Seeing the same problem with the a git multibranch pipeline. When a multibranch scan deletes a branch the artifacts for the branch get left behind on S3.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            lukelast Luke Last
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: