diff --git a/lib/job-summary.js b/lib/job-summary.js index aa42d2c79..252385b5d 100644 --- a/lib/job-summary.js +++ b/lib/job-summary.js @@ -247,7 +247,11 @@ class JobSummary { }); } static wrapContent(fileContent) { - return this.getMarkdownHeader() + fileContent + this.getMarkdownFooter(); + return ('
\n\nJFrog Job Summary\n\n' + + this.getMarkdownHeader() + + fileContent + + this.getMarkdownFooter() + + '\n\n
'); } static getMarkdownFooter() { return `${this.getUsageBadge()} \n\n # \n\n The above Job Summary was generated by the Setup JFrog CLI GitHub Action `; diff --git a/src/job-summary.ts b/src/job-summary.ts index deb2b57b2..34e7cdd25 100644 --- a/src/job-summary.ts +++ b/src/job-summary.ts @@ -251,7 +251,13 @@ export class JobSummary { } private static wrapContent(fileContent: string) { - return this.getMarkdownHeader() + fileContent + this.getMarkdownFooter(); + return ( + '
\n\nJFrog Job Summary\n\n' + + this.getMarkdownHeader() + + fileContent + + this.getMarkdownFooter() + + '\n\n
' + ); } private static getMarkdownFooter() {