forked from TCATools/demo_tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
task_request.json
63 lines (63 loc) · 1.47 KB
/
task_request.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"task_name": "DemoTool",
"module_name": "codelint",
"task_params": {
"scan_languages": [
"python"
],
"rules": [
"DemoRule"
],
"rule_list": [
{
"name": "DemoRule",
"gid": 10800,
"pkg_id": 209,
"pkg_name": "demo rule package",
"pkg_type": 1,
"tool_name": "DemoTool",
"category": 1,
"display_name": "DemoRule",
"rule_title": "find a code problem",
"severity": 2,
"custom": true,
"params": null
}
],
"pre_cmd": null,
"build_cmd": null,
"envs": " \nXCODE_VERSION=11.0\npython_version=3",
"scm_last_revision": "74825dfb813e9c59db912c677677f94f5ba8e22f",
"incr_scan": true,
"checktool": {
"scm_url": "http://xxx/xxx/xxx.git",
"run_cmd": "python src/main.py",
"envs": "python_version=3",
"display_name": "DemoTool",
"virtual_name": "86",
"show_display_name": false,
"build_flag": false
},
"path_filters": {
"inclusion": [
"src/*"
],
"exclusion": [
"src/test/*_test.py"
],
"re_inclusion": [
"lib/.*"
],
"re_exclusion": [
"lib/.*_test.py"
]
},
"scm_url": "[email protected]:xxx/xxxx",
"scm_type": "git",
"project_id": 1309,
"source_dir": "/xxx/xxx",
"scm_revision": "fc531eb01462bca6f7d371ab036001eb22aaf9ed",
"task_id": 50
},
"task_dir": "/xxx/data/taskdirs/local_task_50"
}