Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Current Situation
- The min_tasks attribute is used exclusively for API jobs. However, it could be misconfigured for shell jobs with unwanted results.
- If you configure a shelll jobs with the min_tasks attribute then the job start is endlessly repeated.
<job min_tasks="1"> <script language="shell"> <![CDATA[ echo Job is running ]]> </script> </job>
Desired Behavior
- The JobScheduler should ignore the min_tasks attribute in a shell job.
Note
- In a Java API job the min_tasks attribute can be used to improve the performance as it pre-loads the JVM, see Performance Optimization for API jobs
- The min_tasks attribute must not be used for shell jobs
Attachments
Issue Links
- Wiki Page
-
Wiki Page Loading...