Skip to content

Commit

Permalink
Fix message comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
zxBCN Valeriu_Tuguran,Constantin (IT EDP) EXTERNAL committed Sep 12, 2024
1 parent db4c7a3 commit a5544ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/org/ods/component/ScanWithAquaStage.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class ScanWithAquaStage extends Stage {
}
}
if (args.nexusReportLink != null) {
message.append("\nYou can find the complete security scan report here: ${args.nexusReportLink}.")
message.append("\nYou can find the complete security scan report here: ${args.nexusReportLink}.\n")
}
return message.toString()
}
Expand Down
4 changes: 2 additions & 2 deletions src/org/ods/orchestration/BuildStage.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -221,13 +221,13 @@ class BuildStage extends Stage {
String repoName, String nexusReportLink) {
StringBuilder message = new StringBuilder()
message.append("\nAqua security scan detected the remotely exploitable critical " +
"vulnerability with name *${vulnerability.name as String}* in repository *[${repoName}:${gitUrl}]* " +
"vulnerability with name *${vulnerability.name as String}* in repository *[${repoName}|${gitUrl}]* " +
"in branch *${gitBranch}*." )
message.append("\n*Description:* " + vulnerability.description as String)
message.append("\n\n*Solution:* " + vulnerability.solution as String)

if (nexusReportLink != null) {
message.append("\n\nYou can find the complete security scan report *[here:${nexusReportLink}]*.")
message.append("\n\nYou can find the complete security scan report *[here|${nexusReportLink}]*.")
}

return message.toString()
Expand Down

0 comments on commit a5544ef

Please sign in to comment.