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

S3 Managed Artifacts not respecting log rotation set

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • s3-plugin
    • None

      S3 publisher plugin version - 0.10.11
      Jenkins ver. 2.32.1

      I installed S3 plugin to Jenkins to upload the artifacts to S3.

      I see that Managed artifcats note says -
      artifacts are automatically deleted when the build is deleted

      I have enabled this option but though Job log rotation is set to 10, and Jenkins correctly keep only 10 builds, build artifacts copied to S3 bucket all are intact. More than 50 builds now.

      I am not sure if I missed any setting.
      I have log rotation set as 10 builds and Managed artifacts enabled.

          [JENKINS-40821] S3 Managed Artifacts not respecting log rotation set

          Alexander A added a comment -

          Did you enable "Keep forever"?

          Alexander A added a comment - Did you enable "Keep forever"?

          manisha manisharastogi added a comment - - edited

          No.
          Sorry I should have added the screenshot.
          PFA screenshot for my settings in S3 plugin.

          manisha manisharastogi added a comment - - edited No. Sorry I should have added the screenshot. PFA screenshot for my settings in S3 plugin.

          Just noticed https://issues.jenkins-ci.org/browse/JENKINS-40786 , and this feature works with downgrading to 0.10.9
          Seems broken as per in https://issues.jenkins-ci.org/browse/JENKINS-40786

          manisha manisharastogi added a comment - Just noticed https://issues.jenkins-ci.org/browse/JENKINS-40786 , and this feature works with downgrading to 0.10.9 Seems broken as per in https://issues.jenkins-ci.org/browse/JENKINS-40786

          Alexander A added a comment -

          can you check last version, please?

          Alexander A added a comment - can you check last version, please?

            jimilian Alexander A
            manish manisha manisharastogi
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: