Creating a Job Resource¶
The section shows how to create a job resource and add new versions of the resource.
Procedure¶
In the EnOS Management Console, click Batch Data Processing > Task Resources from the left navigation menu and click Create Resource.
In the Create Resource window, provide the basic settings for the job resource.
Name: Enter the name of the job resource.
Description: Provide a description for the job resource.
Select Dir: Select the directory to save the job resource. For details, see Managing Directory.
Click OK.
In the Overview page, click the New Version button to add a job resource version.
Version: Specify the version of the resource using the format:
V<version_number>.<release_number>.<modifier_number>
For example, V1.0.0.
Description: Provide a description for the version.
Resource Package: Select to upload a local resource files or build the resource package from Git (you need to register the Git data source through Data Source Registration first).
Click OK to build the job resource version. Repeat steps 4 to 5 to add more versions for the job resource.
Next Step¶
You can then invoke the scripts packaged in the job resource through a SHELL or PYTHON task in a workflow.