polyspace-access -set-deletion-policy
Set or edit project run deletion policy
Syntax
Description
The system command polyspace-access -set-deletion-policy
sets or edits the deletion policy for the specified project.
polyspace-access -set-deletion-policy
sets or edits project run deletion policy for specified project. After you set the deletion
policy, Polyspace® applies the policy on each subsequent upload to the project and deletes
project runs from the database based on the max days threshold.
<projectPath>
-max-days <MAX_DAYS>
-host <hostname>
[login options
] [output options
]<MAX_DAYS>
is the number of days a run is kept in a project. If you
upload a new run, and a previous run was uploaded more than <MAX_DAYS>
ago, Polyspace deletes the run.
You can set a deletion policy using both the <MAX_DAYS>
and
<MAX_RUNS>
thresholds. When you specify both thresholds, Polyspace deletes a project run if that run exceeds either threshold. For more
information on deletion policies, see Delete Project Runs or Entire Projects.
polyspace-access -set-deletion-policy
sets or edits project run deletion policy for specified project. After you set the deletion
policy, Polyspace applies the policy on each subsequent upload to the project and deletes
project runs from the database based on the max runs threshold.
<projectPath>
-max-runs <MAX_RUNS>
-host <hostname>
[login options
] [output options
]<MAX_RUNS>
is the number of runs in a project. If you upload a new
run, and the project already contains <MAX_RUNS>
runs, Polyspace deletes the oldest run in the project.
You can set a deletion policy using both the <MAX_DAYS>
and
<MAX_RUNS>
thresholds. When you specify both thresholds, Polyspace deletes a project run if that run exceeds either threshold. For more
information on deletion policies, see Delete Project Runs or Entire Projects.
Examples
Input Arguments
Version History
Introduced in R2019a