Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.9.10, 1.10.3
-
None
Description
Current Situation
The job JobSchedulerCheckRunHistory implements the query values
- isStartedToday
- isStartedTodayCompletedSuccessful
- isStartedTodayCompletedWithError
- isStartedTodayCompleted
- isCompletedToday
- isCompletedTodaySuccessful
- isCompletedTodayWithError
- isCompletedAfter
- isCompletedWithErrorAfter
- isCompletedSuccessfulAfter
- isStartedAfter
- isStartedWithErrorAfter
- isStartedSuccessfulAfter
- isCompletedBefore
- isCompletedSuccessfulBefore
- isCompletedWithErrorBefore
- iscompletedwitherrorbefore
It is not possible to query the last run of an job.
Desired Behaviour
The Job JobSchedulerCheckRunHistory should also implement the queries
- lastCompletedRunEndedSuccessful
- Return true if the last completed run ended successful
- lastCompletedRunEndedWithError
- Return true if the last completed run ended with error
- lastCompletedRunEndedTodaySuccessful
- Return true if the last completed run ended successful and the last run was today
- lastCompletedRunEndedTodayWithError
- Return true if the last completed run ended with error and the last run was today
- lastSuccessfulCompletedRunEndedAtPosition(p)
- Return true if the last completed run ended successful and the position in the history is p
- lastWithErrorCompletedRunEndedAtPosition(p)
- Return true if the last completed run ended with error and the position in the history is p
- lastSuccessfulCompletedRunEndedTodayAtPosition(p)
- Return true if the last completed run ended successful and the last run was today and the position in the history is p
- lastWithErrorCompletedRunEndedTodayAtPosition(p)
- Return true if the last completed run ended with error and the last run was today and the position in the history is p
Attachments
Issue Links
- is related to
-
JITL-290 The job JobSchedulerCheckRunHistory should query multiple jobs with a query for each job
- Released