diff --git a/src/org/ods/component/ScanWithAquaStage.groovy b/src/org/ods/component/ScanWithAquaStage.groovy index ee869e40f..c30341b8f 100644 --- a/src/org/ods/component/ScanWithAquaStage.groovy +++ b/src/org/ods/component/ScanWithAquaStage.groovy @@ -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() } diff --git a/src/org/ods/orchestration/BuildStage.groovy b/src/org/ods/orchestration/BuildStage.groovy index 9390e19cc..ef9d7ee30 100644 --- a/src/org/ods/orchestration/BuildStage.groovy +++ b/src/org/ods/orchestration/BuildStage.groovy @@ -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()