2

Is there any way to purge failed deployments? I've had to do a few from Eclipse ahead of a massive Inbound ChangeSet, and a few failures occurred in the process. There's no particular reason other than my own OCD (I don't particularly want to look at a bunch of failures for the next 90 days) and that it freaks me out during deployments when I glance at the page and see failures, only to realize they are historical failures...

enter image description here

  • Can you include some sort of screenshot so it is more clear what you are talking about? – Adrian Larson Aug 10 '15 at 22:53
  • @AdrianLarson done – Nathan Williams Aug 10 '15 at 22:57
  • So this doesn't really have anything to do with Eclipse, since it seems you are looking to purge them from the UI. – Adrian Larson Aug 10 '15 at 23:08
  • Correct. However, it has to do with Eclipse only because when it's from an Inbound Change Set, I can delete the Change Set and it'll purge the deployment record. Since it's Eclipse, there's no Change Set for me to kill... – Nathan Williams Aug 11 '15 at 0:23
  • Maybe try Database.delete(Id.valueOf('0AF0000006Wy1q'))? – Adrian Larson Aug 11 '15 at 0:37
1

Currently there is no way we can delete the DeployRequest records in salesforce as Sys admins would want to keep track of everything being deployed into their Production ORG and for customer's to be SOX Compliant.(Though it can be tracked in Audit trail)

A funny solution to your problem would be to Validate a successful package 10 times, so that you will not see the failure records on the main deployment status page :)

  • Not true. Failures are displayed in a separate table above the successes. Adding ten successes will not effect the entries displayed in the failures table. – martin Aug 11 '15 at 3:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.