jx gitops gc activities

garbage collection for PipelineActivity resources Aliases: pa,act,pr

Usage

jx gitops gc activities

Synopsis

Garbage collect the Jenkins X PipelineActivity resources

Examples

# garbage collect PipelineActivity resources
jx gitops gc activities

# dry run mode
jx gitops gc pa --dry-run

Options

  -d, --dry-run                     Dry run mode. If enabled just list the resources that would be removed
  -h, --help                        help for activities
      --pipelinerun-age duration    Maximum age to keep completed PipelineRuns for all pipelines (default 12h0m0s)
      --pr-history-limit int        Minimum number of PipelineActivities to keep around per repository Pull Request (default 2)
      --prowjob-age duration        Maximum age to keep completed ProwJobs for all pipelines (default 168h0m0s)
  -p, --pull-request-age duration   Maximum age to keep PipelineActivities for Pull Requests (default 48h0m0s)
  -r, --release-age duration        Maximum age to keep PipelineActivities for Releases (default 720h0m0s)
  -l, --release-history-limit int   Maximum number of PipelineActivities to keep around per repository release (default 5)

Source

jenkins-x-plugins/jx-gitops


Last modified March 23, 2022: chore: regenerated plugin docs (0003e9f056)