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

@Assent
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

2 Likes

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