Core Plugins and tasks PurgeCurrentExecutionFiles

Core Plugins and tasks PurgeCurrentExecutionFiles

Certified

Purge files created by the current Execution.

Deletes all internal-storage files produced by this Execution (inputs, outputs, triggers). No-op if nothing was generated.

yaml
type: io.kestra.plugin.core.storage.PurgeCurrentExecutionFiles

Purge all files created by this execution.

yaml
    id: purge_execution_files
    namespace: company.team

    tasks:
      - id: download
        type: io.kestra.plugin.core.http.Download
        uri: https://huggingface.co/datasets/kestra/datasets/raw/main/json/user_events.json

      - id: purge
        type: io.kestra.plugin.core.storage.PurgeCurrentExecutionFiles
Properties

Reference (ref) of the pluginDefaults to apply to this task.

SubTypestring

The deleted file URIs from Kestra's internal storage