Skip to main content

Module collector

Module collector 

Source
Expand description

Auto-collection of artifact and external log files after task execution.

After GuestPlugin::on_stop returns, the runtime walks the artifact and external-log directories and sends any files that were not already explicitly sent (or marked as collected) by the plugin.

Structsยง

AutoCollectSection ๐Ÿ”’
Resolved auto-collection settings for a single directory.

Functionsยง

auto_collect ๐Ÿ”’
Collect files from dir and send them as results via ctx.results().push().
build_globset ๐Ÿ”’
collect_files ๐Ÿ”’
collect_files_recursive ๐Ÿ”’