Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 802 Bytes

File metadata and controls

35 lines (26 loc) · 802 Bytes

Simple bash script Job

This script can be ran as a Job too. Notice it takes Command Line Arguments. This means for this script to be successful you have to provide a command line arguments on a Job Run.

Programatically the command line arguments can be set over the commandLineArguments property like this:

On Job

"jobConfigurationDetails": {
    "jobType": "DEFAULT",
    "environmentVariables": {
    },
    "commandLineArguments": "100 linux \"hi there\""
}

On Job Run

"jobConfigurationOverrideDetails": {
    "jobType": "DEFAULT",
    "environmentVariables": {
    },
    "commandLineArguments": "100 linux \"hi there\""
}

Run

You can run this file as a Job from the python/sdk folder:

python python/sdk/mljobs.py -f shell/shell-with-args.sh