Add a pipeline variable: System.Debug and set its value to true.
This will give additional logs that would help troubleshoot the issue.
Additionally, if you are deploying web app, you can add a app settings SCM_DO_BUILD_DURING_DEPLOYMENT=true and re-run deployment.