/
consts.go
42 lines (34 loc) 路 1.16 KB
/
consts.go
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
package bitbucket
import "time"
const (
httpTimeout = time.Second * 10
reportTypeBug = "BUG"
// reportTypeSecurity = "SECURITY"
// reportTypeCoverage = "COVERAGE"
// reportTypeTest = "TEST"
reportResultPassed = "PASSED"
reportResultFailed = "FAILED"
reportResultPending = "PENDING"
annotationTypeCodeSmell = "CODE_SMELL"
// annotationTypeVulnerability = "VULNERABILITY"
// annotationTypeBug = "BUG"
annotationSeverityHigh = "HIGH"
annotationSeverityMedium = "MEDIUM"
annotationSeverityLow = "LOW"
// annotationSeverityCritical = "CRITICAL"
// list possible, but not used for now annotation results
// annotationResultPassed = "PASSED"
// annotationResultFailed = "FAILED"
// annotationResultSkipped = "SKIPPED"
// annotationResultIgnored = "IGNORED"
// annotationResultPending = "PENDING"
// list of possible, but not used for now
// report data types
// reportDataTypeBool = "BOOLEAN"
// reportDataTypeDate = "DATE"
// reportDataTypeDuration = "DURATION"
// reportDataTypeLink = "LINK"
// reportDataTypeNumber = "NUMBER"
// reportDataTypePercentage = "PERCENTAGE"
// reportDataTypeText = "TEXT"
)