With the task CleanupPipelinesTask you can cleanup finished pipelines. It is enabled by default. If there is no further specification given, pipelines will be cleaned up after 30 days.
Default settings are the following:
Pipelines without type are removed after 30 days, failed nativecheckin pipelines after 5 days and succeeded nativecheckin pipelines after 2 days.
Furthermore it is possible to specify pipeline types and states manually on file level:
#:Help;Settings to cleanup pipelines by type and state used by CleanupPipelinesTask [Cleanup] #:HELP default=30 nativecheckin(failed)=5 nativecheckin(succeeded)=2
Pipelines are saved under $CADENAS_SETUP\pipelines
.
In *.pwp
, under attribute "pipelineType" the type is given, which then can be used in the configuration file pipeline.cfg
.
type(state)
After "type" the "state" is given in brackets. Possible values for "state" are "succeeded", "failed" and "cancelled".
clswizard(failed)=10 clswizard(succeeded)=10
Combinations are also possible:
clswizard(failed,cancelled)=2