checkFile
Referenced In
Fields
| Field | Type | Description | Default |
|---|---|---|---|
| checkFile | one of: - string - object(Check file (detailed)) | Required. Wait for a finished file, and optionally check its text. A file is finished once it has no .crdownload or .part suffix, no in-progress sibling of the same name with one of those suffixes, and its size stays the same for 250 ms. Outputs filePath, fileName, and fileSize. | — |
Examples
{"checkFile": "out/report.txt"}
{"checkFile": {"path": "out/*.log","content": "/build \\d+ passed/"}}
{"checkFile": {"download": "*.csv"}}
{"checkFile": {"download": "invoice-*.csv","content": "Invoice","timeout": 60000}}