
HSingh007417 (Community Member) asked a question.
I am using Veracode C# API wrappers to automate the static scan steps. Once a scan somehow reaches a "Request Incomplete" status, Veracode does not allow us to schedule further scans over it. So, I am looking out for a command(similar to deletebuild) that would delete the latest build only if it was an unsuccessful scan and not the 'Complete' scans.
.png)
Ive been using the java wrapper and powershell- usually I'll write something loosely like
getbuildinfo
if (status -eq "incomplete") { deletebuild}
One major issue I encountered though is that if the policy scan is older than the latest sandbox scan it will not allow you to delete the newest policy scan build. Support confirmed this is known.