Is there a way to run only failed models from previous run

Hi, I’m automating dbt build in azure pipeline, and idea is to run only failed models from a previous run. Any advice on how to do this? Thanks

yes it is possible

use the below command after dbt run or dbt build to rerun failed models
dbt run --select result:error --state path/to/target-folder


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.