Delete deployment after with failed deployment bat tests