public void deleteAllJobs(RequestExecution requestExecution) throws AmbariException {
    Long firstBatchOrderId = getFirstJobOrderId(requestExecution);
    deleteJobs(requestExecution, firstBatchOrderId);
  }
Delete all jobs and triggers if possible.
@throws AmbariException
ambari-server/src/main/java/org/apache/ambari/server/scheduler/ExecutionScheduleManager.java