-
Notifications
You must be signed in to change notification settings - Fork 33
/
task.json
64 lines (64 loc) · 1.9 KB
/
task.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
64
{
"$schema": "https://raw.githubusercontent.com/Microsoft/azure-pipelines-task-lib/master/tasks.schema.json",
"id": "822d6cb9-d4d1-431b-9513-e7db7d718a49",
"name": "QodanaScan",
"friendlyName": "Qodana Scan",
"description": "Scan your project with Qodana (https://jetbrains.com/qodana)",
"helpMarkDown": "Qodana documentation is available at https://jetbrains.com/help/qodana/. This task will scan your project.",
"category": "Utility",
"author": "JetBrains",
"version": {
"Major": 1,
"Minor": 0,
"Patch": 4
},
"demands": ["RemoteDockerServerOS -equals linux"],
"instanceNameFormat": "Qodana Scan",
"inputs": [
{
"name": "args",
"type": "string",
"label": "Qodana CLI arguments",
"defaultValue": "",
"required": false,
"helpMarkDown": "[Qodana CLI `scan` arguments](https://github.com/jetbrains/qodana-cli#scan)"
},
{
"name": "resultsDir",
"type": "string",
"label": "Results Directory",
"defaultValue": "$(Agent.TempDirectory)/qodana/results",
"required": false,
"helpMarkDown": "Directory to store the analysis results"
},
{
"name": "uploadResult",
"type": "boolean",
"label": "Upload Result",
"defaultValue": true,
"required": false,
"helpMarkDown": "Upload Qodana results as an artifact to the job"
},
{
"name": "artifactName",
"type": "string",
"label": "Artifact Name",
"defaultValue": "qodana-report",
"required": false,
"helpMarkDown": "Specify Qodana results artifact name, used for results uploading"
},
{
"name": "cacheDir",
"type": "string",
"label": "Cache Directory",
"defaultValue": "$(Agent.TempDirectory)/qodana/cache",
"required": false,
"helpMarkDown": "Directory to store Qodana caches"
}
],
"execution": {
"Node10": {
"target": "index.js"
}
}
}