File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -73,18 +73,21 @@ def submit_job_with_prep_and_release_tasks(
7373
7474 job = batchmodels .JobAddParameter (id = job_id , pool_info = pool_info )
7575
76- job .job_preparation_task = batchmodels .JobPreparationTask (command_line = common .helpers .wrap_commands_in_shell (
76+ job .job_preparation_task = batchmodels .JobPreparationTask (
77+ command_line = common .helpers .wrap_commands_in_shell (
7778 'linux' , ['echo job preparation task!' ]))
78-
79- job .job_release_task = batchmodels .JobReleaseTask (command_line = common .helpers .wrap_commands_in_shell (
79+
80+ job .job_release_task = batchmodels .JobReleaseTask (
81+ command_line = common .helpers .wrap_commands_in_shell (
8082 'linux' , ['echo job release task!' ]))
8183
8284 batch_client .job .add (job )
8385
8486 task = batchmodels .TaskAddParameter (
8587 id = "JobPrepAndRelease" ,
8688 command_line = common .helpers .wrap_commands_in_shell (
87- 'linux' , ['echo Hello world from the Batch Job prep and release sample!' ])
89+ 'linux' ,
90+ ['echo Hello world from the Batch Job prep and release sample!' ])
8891 )
8992
9093 batch_client .task .add (job_id = job .id , task = task )
You can’t perform that action at this time.
0 commit comments