-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtask_example.json
More file actions
47 lines (47 loc) · 972 Bytes
/
task_example.json
File metadata and controls
47 lines (47 loc) · 972 Bytes
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
{
"taskName":"hello",
"description":"",
"version":"",
"maxRetries":0,
"continueOnReturnCode":"",
"failOnStderr":false,
"backends":"SGE",
"parameter":{
"mem":{
"type":"Int",
"defaultValue":2,
"required":false, // required为false的才允许设置默认值
"description":"memory(G)"
},
"cpu":{
"type":"Int",
"defaultValue":2,
"required":false,
"description":"thread number"
},
"queue":{
"type":"String",
"defaultValue":"",
"required":false,
"description":"thread number"
},
"param1":{
"type":"String",
"required":false,
"description":"Set it when call this task in workflow"
},
"param2":{
"type":"String",
"required":true,
"description":"Set it when call this task in workflow"
}
},
"command":"",
"output":{
"out1":{
"type":"String",
"expression":"",
"description":""
}
}
}