[DockerImageScanner] Update description field
Due to update Jira format, we don't need to escape special character
'\n' anymore.
Change-Id: I79e01417b39cf894cfb6e7dc5c261856059a6a80
Related-PROD: https://mirantis.jira.com/browse/RE-376
diff --git a/src/com/mirantis/mk/DockerImageScanner.groovy b/src/com/mirantis/mk/DockerImageScanner.groovy
index ddf0b7b..6c12bef 100644
--- a/src/com/mirantis/mk/DockerImageScanner.groovy
+++ b/src/com/mirantis/mk/DockerImageScanner.groovy
@@ -193,13 +193,13 @@
jiraNamespace = 'PRODX'
}
jira_summary = "[${image_key}] Found CVEs in Docker image"
- jira_description = "${image.key}\\n"
+ jira_description = "${image.key}\n"
image.value.each{
pkg ->
- jira_description += "__* ${pkg.key}\\n"
+ jira_description += "__* ${pkg.key}\n"
pkg.value.each{
cve ->
- jira_description += "________${cve}\\n"
+ jira_description += "________${cve}\n"
}
}