UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Tools
ironbank-plugins-pipeline
Commits
cdb64d26
Commit
cdb64d26
authored
Dec 08, 2020
by
David Freeman
Browse files
capitalize var
parent
b650796a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
stages/report-generation/report-generation.sh
stages/report-generation/report-generation.sh
+5
-5
No files found.
stages/report-generation/report-generation.sh
View file @
cdb64d26
...
...
@@ -3,18 +3,18 @@ set -Eeuo pipefail
mkdir
-p
"
${
REPORT_PATH
}
"
utc_date
=
"
$(
date
--utc
'+%F%H%M%S.%3N'
)
"
UTC_DATE
=
"
$(
date
--utc
'+%F%H%M%S.%3N'
)
"
python3
"
${
PIPELINE_REPO_DIR
}
/stages/report-generation/pipeline_csv_gen.py"
\
--anchore-sec
"
${
ARTIFACT_STORAGE
}
/scan-results/anchore/anchore_security.json"
\
--content-dir
"
${
ARTIFACT_STORAGE
}
/scan-results/anchore/content_reports/"
\
--utc-timestamp
"
${
utc_date
}
"
\
--utc-timestamp
"
${
UTC_DATE
}
"
\
--output-dir
"
${
REPORT_PATH
}
"
/
cp
"README.md"
"
${
REPORT_PATH
}
"
tar
-czvf
"
${
PLUGIN_NAME
}
-
${
utc_date
}
_plugin_scan_result.tar.gz"
-C
"
${
REPORT_PATH
}
"
"
${
PLUGIN_NAME
}
-
${
utc_date
}
.xlsx"
"README.md"
tar
-czvf
"
${
PLUGIN_NAME
}
-
${
UTC_DATE
}
_plugin_scan_result.tar.gz"
-C
"
${
REPORT_PATH
}
"
"
${
PLUGIN_NAME
}
-
${
UTC_DATE
}
.xlsx"
"README.md"
mv
"
${
PLUGIN_NAME
}
-
${
utc_date
}
_plugin_scan_result.tar.gz"
"
${
REPORT_PATH
}
/"
mv
"
${
PLUGIN_NAME
}
-
${
UTC_DATE
}
_plugin_scan_result.tar.gz"
"
${
REPORT_PATH
}
/"
echo
"REPORT_DATE=
${
utc_date
}
"
>>
"
${
REPORT_PATH
}
/report_generation.env"
echo
"REPORT_DATE=
${
UTC_DATE
}
"
>>
"
${
REPORT_PATH
}
/report_generation.env"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment