commit | 7fe3c6d64bd554345aa32d51b8f46c6e251bc35d | [log] [tgz] |
---|---|---|
author | Ivan Udovichenko <iudovichenko@mirantis.com> | Sat Oct 31 02:49:28 2020 +0300 |
committer | Ivan Udovichenko <iudovichenko@mirantis.com> | Sat Oct 31 02:50:14 2020 +0300 |
tree | 371176fccec4ddcaf146ef718f1d79843a32f4b1 | |
parent | 482fb50a74a7897dcdfecafc516cdb46b06e93d9 [diff] |
[docker-image-scanner] Additionaly escape new line character Change-Id: Ie72e16656757489f6568bf58b8766e28cc2b4985 Related-PROD: https://mirantis.jira.com/browse/RE-435
diff --git a/src/com/mirantis/mk/DockerImageScanner.groovy b/src/com/mirantis/mk/DockerImageScanner.groovy index 69fc25c..6bab04c 100644 --- a/src/com/mirantis/mk/DockerImageScanner.groovy +++ b/src/com/mirantis/mk/DockerImageScanner.groovy
@@ -195,13 +195,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" } }