Request enough imager for snapshot creation 03/167303/1
authorhyokeun <hyokeun.jeon@samsung.com>
Wed, 17 Jan 2018 02:29:05 +0000 (11:29 +0900)
committerhyokeun <hyokeun.jeon@samsung.com>
Wed, 17 Jan 2018 02:29:05 +0000 (11:29 +0900)
Change-Id: I18e0f10306b1a8f43c9fad91a91a5a66620cfcae

job_create_snapshot.py

index 07c7a97..5663513 100755 (executable)
@@ -93,7 +93,7 @@ def trigger_image_creation(trigger_data):
             trigger_next("SLAVE_BUILDER", {"data":"dummy"}, \
                          extra_params={"ACTION": "REQUEST_WORKER", \
                                        "PURPOSE": "JENKINS_IMAGER", \
-                                       "REQUESTED_NUM_EXECUTORS": "%d" % (count / 2 + count % 2)})
+                                       "REQUESTED_NUM_EXECUTORS": "%d" % count})
 
 def make_repo(project, backenddb, base_path, live_repo_base):
     """