Skip to content

Commit

Permalink
fix: check result name
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitri-segard committed Sep 4, 2024
1 parent bac22e2 commit 6b9618c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ SONARQUBE_VERSION=latest
DOCKERFILE=Dockerfile

# The version of the plugin to include in the image
PLUGIN_VERSION=1.21.1-paypay
PLUGIN_VERSION=1.21.2-paypay
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.21.1-paypay
version=1.21.2-paypay
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public DecorationResult decorateQualityGateStatus(AnalysisDetails analysisDetail
.withStartTime(analysisDetails.getAnalysisDate().toInstant().atZone(ZoneId.of("UTC")))
.withEndTime(ZonedDateTime.now(clock))
.withExternalId(analysisDetails.getAnalysisId())
.withName(String.format("%s Sonarqube Results", analysisDetails.getAnalysisProjectName()))
.withName("Sonarqube Results")
.withTitle("Quality Gate " + (analysisDetails.getQualityGateStatus() == QualityGate.Status.OK ? "success" : "failed"))
.withProjectKey(analysisDetails.getAnalysisProjectKey())
.build();
Expand Down

0 comments on commit 6b9618c

Please sign in to comment.