-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtask.json
More file actions
100 lines (100 loc) · 2.55 KB
/
task.json
File metadata and controls
100 lines (100 loc) · 2.55 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"atomCode": "AcrossProjectDistribution",
"execution": {
"packagePath": "AcrossProjectDistribution.jar",
"language": "java",
"minimumVersion": "1.8",
"demands": [],
"target": "java -jar AcrossProjectDistribution.jar"
},
"input": {
"customized": {
"default": false,
"type": "enum-input",
"required": true,
"disabled": false,
"hidden": false,
"isSensitive": false,
"list": [
{
"label": "从本次已归档构件中获取",
"value": false
},
{
"label": "从自定义仓库获取",
"value": true
}
]
},
"path": {
"label": "待分发构件",
"default": "",
"placeholder": "已归档构件的相对路径",
"type": "vuex-input",
"required": true,
"disabled": false,
"hidden": false,
"isSensitive": false
},
"targetProjectId": {
"label": "目标项目",
"default": "",
"placeholder": "请选择要分发的项目",
"type": "selector",
"required": true,
"disabled": false,
"hidden": false,
"isSensitive": false,
"optionsConf": {
"searchable": false,
"multiple": false,
"url": "/project/api/user/projects/",
"paramId": "project_code",
"paramName": "project_name"
}
},
"targetPath": {
"label": "目标自定义仓库路径",
"default": "",
"placeholder": "请填写目标自定义仓库路径",
"type": "vuex-input",
"required": false,
"disabled": false,
"hidden": false,
"isSensitive": false
},
"cancelDisplay": {
"type": "atom-checkbox",
"text": "构件列表取消显示",
"required": false,
"desc": "分发本次已归档构件到当前项目自定义仓库时,勾选此项后流水线构件列表中不会显示分发的构件。避免重复显示"
}
},
"releaseInfo": {
"projectId": "demo",
"name": "跨项目推送构件",
"language": "java",
"logoUrl": "${{indexFile(\"logo.png\")}}",
"category": "TASK",
"classifyCode": "deploy",
"jobType": "AGENT",
"os": [
"LINUX",
"MACOS",
"WINDOWS"
],
"labelCodes": [
],
"summary": "跨项目上传构件至其他项目自定义仓库",
"description": "${{indexFile(\"README.md\")}}",
"configInfo": {
"frontendType": "NORMAL"
},
"versionInfo": {
"publisher": "BlueKing",
"releaseType": "NEW",
"version": "1.0.0",
"versionContent": "init"
}
}
}