-
Notifications
You must be signed in to change notification settings - Fork 0
/
batchjob.parameters.json
49 lines (49 loc) · 1.66 KB
/
batchjob.parameters.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"deploymentPrefix": "<from arm template>",
"poolname" :"<name of worker pool>",
"jobid" : "<name of job>",
"tasks" : [
{
"id": "lsfiles",
"command": "/bin/bash -c 'ls $AZ_BATCH_NODE_MOUNTS_DIR/azfiles'"
},
{
"id": "env_vars",
"command": "printenv"
},
{
"id" : "task1",
"command" : "/bin/bash -c '$AZ_BATCH_APP_PACKAGE_scripts_1_7/rwfile.sh $AZ_BATCH_NODE_MOUNTS_DIR/azfiles/file1.txt $AZ_BATCH_NODE_MOUNTS_DIR/azfiles/file1_1.txt'"
},
{
"id": "task2",
"command": "/bin/bash -c '$AZ_BATCH_APP_PACKAGE_scripts_1_7/rwfile.sh $AZ_BATCH_NODE_MOUNTS_DIR/azfiles/file1_1.txt $AZ_BATCH_NODE_MOUNTS_DIR/azfiles/file1_2.txt'",
"dependencies" : [
{
"id" : "task1"
}
]
},
{
"id": "task3",
"command": "/bin/bash -c '$AZ_BATCH_APP_PACKAGE_scripts_1_7/rwfile.sh $AZ_BATCH_NODE_MOUNTS_DIR/azfiles/file1_1.txt $AZ_BATCH_NODE_MOUNTS_DIR/azfiles/file1_3.txt'",
"dependencies" : [
{
"id" : "task1"
}
]
},
{
"id": "task4",
"command": "/bin/bash -c '$AZ_BATCH_APP_PACKAGE_scripts_1_7/rwfile.sh $AZ_BATCH_NODE_MOUNTS_DIR/azfiles/file1_3.txt $AZ_BATCH_NODE_MOUNTS_DIR/azfiles/file1_4.txt'",
"dependencies" : [
{
"id" : "task2"
},
{
"id" : "task3"
}
]
}
]
}