Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
1.9, 1.10, 1.12
-
None
Description
Current Situation
When a job has the attritbute warn_if_shorter_than="xxxxx" and the job does run shorter than the given value an email is sent.
The values for the job name and the task id are empty in the subject and in the body. The message SCHEDULER-711 Task runs shorter than the expected duration of 00:00:05 is missing.
As this is not the case when the attribute {{warn_if_longer_than="xxx" }} is configured in the job and the style-sheet transformation do use the same values, the root cause for this behavior is a wrong xml provided by JobScheduler for the style sheet transformation.
Desired Behavior
When a job has the attritbute warn_if_shorter_than="xxxxx" and the job does run shorter than the given value an email is sent.
The values for the job name and the task id should not be empty in the subject and in the body. The body should contain the message {{ SCHEDULER-711 Task runs shorter than the expected duration of 00:00:05
Testcase
To reproduce run this job
<job stop_on_error="no" warn_if_longer_than="2" warn_if_shorter_than="1111" name="job1"> <params /> <script language="shell"> <![CDATA[ ping -n 10 localhost ]]> </script> <run_time /> </job>
Attachments
Issue Links
- is required by
-
JITL-522 Report jobs to the JobScheduler Monitoring Interface that run shorter/longer than expected
- Released