WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
jx gc activities
list of jx commands
jx gc activities
garbage collection for PipelineActivities and PipelineRun resources
Synopsis
Garbage collect the Jenkins X PipelineActivity and PipelineRun resources
jx gc activities [flags]
Examples
# garbage collect PipelineActivity and PipelineRun resources
jx gc activities
# dry run mode
jx 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)
Options inherited from parent commands
-b, --batch-mode Runs in batch mode without prompting for user input
--verbose Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace
SEE ALSO
- jx gc - Garbage collects Jenkins X resources
Auto generated by spf13/cobra on 2-Sep-2020
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 2, 2020: updated jx commands & API docs from 2.1.138 (4fc0bedc90)