Skip to content

Commit

Permalink
Смена дефолтной версии форматтера стеби на 10.3+
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 committed Aug 30, 2024
1 parent 0647dcb commit 6561fe1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion resources/globalConfiguration.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
},
"resultsTransform": {
"transformer": "stebi",
"genericIssueFormat": "Generic_Issue",
"genericIssueFormat": "Generic_Issue_10_3",
"removeSupport": true,
"supportLevel": 0
},
Expand Down
4 changes: 2 additions & 2 deletions resources/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@
"properties" : {
"transformer" : {
"type" : "string",
"description" : "Способ преобразования замечаний.\n Поддерживается stebi и edt-ripper\n По умолчанию содержит значение \"stebi\".\n ",
"description" : "Способ преобразования замечаний.\n Поддерживается stebi и edt-ripper.\n По умолчанию содержит значение \"stebi\".\n ",
"enum" : [ "stebi", "edt-ripper" ]
},
"removeSupport" : {
Expand All @@ -359,7 +359,7 @@
},
"genericIssueFormat" : {
"type" : "string",
"description" : "Формат отчета generic issue. Только для stebi.\n Для SonarQube 10.3+ необходимо использовать Generic_Issue_10_3.\n По умолчанию Generic_Issue\n ",
"description" : "Формат отчета generic issue. Только для stebi.\n Для SonarQube старее 10.3 необходимо использовать Generic_Issue.\n По умолчанию Generic_Issue_10_3\n ",
"enum" : [ "Generic_Issue", "Generic_Issue_10_3" ]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import ru.pulsar.jenkins.library.configuration.sonarqube.GenericIssueFormat
class ResultsTransformOptions implements Serializable {

@JsonPropertyDescription("""Способ преобразования замечаний.
Поддерживается stebi и edt-ripper
Поддерживается stebi и edt-ripper.
По умолчанию содержит значение "stebi".
""")
ResultsTransformerType transformer = ResultsTransformerType.STEBI
Expand All @@ -25,10 +25,10 @@ class ResultsTransformOptions implements Serializable {
Integer supportLevel

@JsonPropertyDescription("""Формат отчета generic issue. Только для stebi.
Для SonarQube 10.3+ необходимо использовать Generic_Issue_10_3.
По умолчанию Generic_Issue
Для SonarQube старее 10.3 необходимо использовать Generic_Issue.
По умолчанию Generic_Issue_10_3
""")
GenericIssueFormat genericIssueFormat = GenericIssueFormat.GENERIC_ISSUE
GenericIssueFormat genericIssueFormat = GenericIssueFormat.GENERIC_ISSUE_10_3

@Override
@NonCPS
Expand Down

0 comments on commit 6561fe1

Please sign in to comment.