Bruin Cloud Step 3 of 5
Operate Bruin Cloud From the Terminal
1) Diagnose the latest failure
Instead of listing runs and hunting for the bad one, ask for the diagnosis directly:
bruin cloud runs diagnose --project-id "$PID" --pipeline <pipeline-name> --latest
--latest targets the most recent run of the pipeline and prints its errors and failed checks in one place. If you already have a specific run ID, point at it instead:
bruin cloud runs diagnose --project-id "$PID" --run-id <run-id>
This is the fastest way from "a pipeline is red" to "here is the asset and the error message."