Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Question about retention policies

    Scheduled Pinned Locked Moved Support
    7 Posts 3 Posters 19 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      Joseph.Saladino_7499
      last edited by

      Hello,

      We currently have a retention policy set up to purge all releases older than 20. There is also a policy to keep 365 days worth of build, execution, etc logs for audit's sake.

      It is to my understanding that when BuildMaster purges the 21st release of an application, it will completely disregard that 365 day log policy, thus deleting any build, execution, etc. logs for that release, as well as all older releases.

      Is this accurate?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • jraschJ Offline
        jrasch inedo-engineer
        last edited by

        Hi Joseph,

        You are correct. Separate rules consider their target items to delete independently.

        Thanks,
        -John

        1 Reply Last reply Reply Quote 0
        • J Offline
          Joseph.Saladino_7499
          last edited by

          Excellent, thank you!

          1 Reply Last reply Reply Quote 0
          • J Offline
            Joseph.Saladino_7499
            last edited by

            If we have a retention policy in place for releases, do we need a completely separate policy to purge the orphaned artifacts, or can that be included in the same policy as the releases?

            1 Reply Last reply Reply Quote 0
            • jraschJ Offline
              jrasch inedo-engineer
              last edited by

              You'll need a separate policy for Artifacts since the policy for Releases will orphan them (i.e. remove them from the DB) but not delete them from disk.

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                Joseph.Saladino_7499 @jrasch
                last edited by

                @jrasch Awesome. Thanks for the swift reply!

                1 Reply Last reply Reply Quote 0
                • A Offline
                  ali.meigooni_1735
                  last edited by

                  @jrasch
                  I tried creating a retention policy, like my attached screenshot.

                  However, it deleted all of the artifacts in BuildMaster, not just orphaned ones. Is there a way to delete just the orphaned ones?

                  We are using Version 5.8.3 (Build 7) of BuildMaster.

                  InedoJPG.JPG

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • 1 / 1
                  • First post
                    Last post
                  Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation