Reputation: 21
I am using the utility function add_run_files
and want to remove them after the run completes. How do I do this
I have gone through this documentation
Upvotes: 1
Views: 34
Reputation: 21
You can set retention policy in your yml like:
pipelines:
- name: sample_pipeline_retention_policy
configuration:
retentionPolicy:
maxAgeDays: 10
minRuns: 5
All the data associated with runs exceeding the maxAgeDays will be deleted, including any storage in artifactory. Refer to this doc for more info
Upvotes: 1