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

S3 Managed Artifacts not respecting log rotation set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: s3-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          jimilian Alexander A added a comment -

          Did you enable "Keep forever"?

          Show
          jimilian Alexander A added a comment - Did you enable "Keep forever"?
          Hide
          manish manisha manisharastogi added a comment - - edited

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

          Show
          manish manisha manisharastogi added a comment - - edited No. Sorry I should have added the screenshot. PFA screenshot for my settings in S3 plugin.
          Hide
          manish 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

          Show
          manish 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
          Hide
          jimilian Alexander A added a comment -

          can you check last version, please?

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

            People

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

              Dates

              Created:
              Updated: