-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask.json
More file actions
86 lines (86 loc) · 1.87 KB
/
task.json
File metadata and controls
86 lines (86 loc) · 1.87 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"atomCode": "run",
"execution": {
"packagePath": "run-jar-with-dependencies.jar",
"language": "java",
"minimumVersion": "1.8",
"demands": [],
"target": "java -jar run-jar-with-dependencies.jar"
},
"input": {
"shell": {
"rule": {},
"type": "enum-input",
"label": "指定脚本语言",
"desc": "指定脚本语言,默认时Windows执行Batch,Linux和Macos执行Shell。",
"required": false,
"hidden": false,
"component": "enum-input",
"list": [
{
"value": "auto",
"label": "默认"
},{
"value": "bash",
"label": "BASH"
},
{
"value": "cmd",
"label": "CMD"
},
{
"value": "pwsh",
"label": "POWERSHELL_CORE"
},
{
"value": "powershell",
"label": "POWERSHELL_DESKTOP"
},
{
"value": "python",
"label": "PYTHON"
},
{
"value": "sh",
"label": "SH"
}
],
"default": "auto"
},
"script": {
"label": "执行脚本",
"default": "",
"placeholder": "输入脚本",
"type": "atom-ace-editor",
"desc": "输入脚本",
"required": true,
"disabled": false,
"hidden": false,
"isSensitive": false
},
"charsetType": {
"rule": {},
"type": "enum-input",
"label": "windows下字符集类型",
"desc": "仅windows构建机所需参数",
"required": false,
"hidden": false,
"component": "enum-input",
"list": [
{
"value": "DEFAULT",
"label": "DEFAULT"
},
{
"value": "UTF_8",
"label": "UTF-8"
},
{
"value": "GBK",
"label": "GBK"
}
],
"default": "DEFAULT"
}
}
}