Delete Artifacts when no longer required

Comments

3 comments

  • Avatar
    Sharanya Bathey

    Hi Paul,

     

    You mentioned "We have an issue where if you don't tick "Never delete artifacts" artifacts get deleted from the artifact store - even when the artifact store isn't full." This might be because you have auto-delete artifacts on, you can find more details about this here - http://www.thoughtworks.com/products/docs/go/current/help/delete_artifacts.html

    As such, if the machine hosting Go has low artifacts disk space, Go will stop scheduling once the space goes below 100Mb. It will never delete artifacts automatically.

     

    Regards,

    Sharanya

     

  • Avatar
    Paul Clarkin

    We definitely want to delete any artifacts which are NOT marked as "Never Delete Artifacts". We've seen it deleting when the disk hasn't reached the limits set in the Admin.

  • Avatar
    Sharanya Bathey

    Hi Paul,

     

    In that case, we will investigate the issue from our end. Could you provide us with any information that might help us debug the issue better? Like your

    cruise-config.xml, the output of 'ls -lah' and the 'tree' command on the exact pipelines folder in the artifacts directory from which artifacts have been deleted and

    also the logs for Go around the time when the artifacts were deleted.

     

    Thanks,

    Sharanya

Please sign in to leave a comment.