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