Use batch inserting of jobs

Change-Id: Iec57820d8814c07004a808270cb28c310cc7ef37
Merge "Use batch inserting of jobs"