Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. ali.meigooni_1735
    3. Topics

    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!

    A Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 5
    • Groups 0

    Topics

    • A

      BuildMaster Artifact Retention Question

      Watching Ignoring Scheduled Pinned Locked Moved Support
      2
      1 Votes
      2 Posts
      7 Views
      jraschJ
      Hi Ali, By default, an artifact retention policy operates on artifacts alone and does not consider builds/releases/etc. There is no current way to say "500MB of artifacts per release", however, you can combine 2 retention policies that should be close to what you want: Build retention policy: Only purge builds in deployed releases Only purge rejected builds Keep last (whatever you want) Artifact retention policy: Only purge artifacts in deployed releases Only purge artifacts in rejected builds Purge orphaned artifacts The key is "purge orphaned artifacts" which will only delete artifacts after its corresponding build is deleted. This allows you to provide the necessary granularity on the builds themselves, and let the artifact policy come in after and clean up the artifacts that no longer have an existing build. This can be extended to releases in a way, since any releases that get deleted will also have all their builds deleted. Hope this helps, -John
    • A

      Combine strings BuildMaster

      Watching Ignoring Scheduled Pinned Locked Moved Support
      6
      0 Votes
      6 Posts
      19 Views
      atrippA
      Nice OtterScript :) This will work, the variables won't "leak over" or anything like that.
    • 1 / 1