JobSpecification.withJobReleaseTask(JobReleaseTask jobReleaseTask) 方法

定义

Set the primary purpose of the Job Release task is to undo changes to compute nodes made by the Job Preparation task. Example activities include deleting local files, or shutting down services that were started as part of job preparation. A Job Release task cannot be specified without also specifying a Job Preparation task for the job. The Batch service runs the Job Release task on the compute nodes that have run the Job Preparation task.

public JobSpecification withJobReleaseTask(JobReleaseTask jobReleaseTask)

参数

jobReleaseTask
JobReleaseTask

the jobReleaseTask value to set

返回

the JobSpecification object itself.

适用于