Skip to content

Commit c27cf54

Browse files
authored
chore: try to debug "generate-vulnerability-report" flakes (#4958)
chore: try to debug generate vulnerability task
1 parent 8806179 commit c27cf54

File tree

2 files changed

+28
-49
lines changed

2 files changed

+28
-49
lines changed

.evergreen/functions.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,34 @@ post:
9393
- src/.evergreen/logs/*
9494
remote_file: ${project}/${revision}_${revision_order_id}/${build_variant}/${task_name}
9595
content_type: text/plain
96+
- command: s3.put
97+
params:
98+
<<: *save-artifact-params-private
99+
local_file: src/.sbom/dependencies.json
100+
remote_file: ${project}/${revision}_${revision_order_id}/dependencies.json
101+
content_type: application/json
102+
optional: true
103+
- command: s3.put
104+
params:
105+
<<: *save-artifact-params-private
106+
local_file: src/.sbom/snyk-test-result.json
107+
remote_file: ${project}/${revision}_${revision_order_id}/snyk-test-result.json
108+
content_type: application/json
109+
optional: true
110+
- command: s3.put
111+
params:
112+
<<: *save-artifact-params-private
113+
local_file: src/.sbom/snyk-test-result.html
114+
remote_file: ${project}/${revision}_${revision_order_id}/snyk-test-result.html
115+
content_type: text/html
116+
optional: true
117+
- command: s3.put
118+
params:
119+
<<: *save-artifact-params-private
120+
local_file: src/.sbom/vulnerability-report.md
121+
remote_file: ${project}/${revision}_${revision_order_id}/vulnerability-report.md
122+
content_type: text/markdown
123+
optional: true
96124
- command: attach.results
97125
params:
98126
file_location: src/packages/compass-e2e-tests/.log/report.json
@@ -614,31 +642,3 @@ functions:
614642
if [[ "$EVERGREEN_IS_PATCH" != "true" ]]; then
615643
exit $return_code
616644
fi
617-
- command: s3.put
618-
params:
619-
<<: *save-artifact-params-private
620-
local_file: src/.sbom/dependencies.json
621-
remote_file: ${project}/${revision}_${revision_order_id}/dependencies.json
622-
content_type: application/json
623-
optional: true
624-
- command: s3.put
625-
params:
626-
<<: *save-artifact-params-private
627-
local_file: src/.sbom/snyk-test-result.json
628-
remote_file: ${project}/${revision}_${revision_order_id}/snyk-test-result.json
629-
content_type: application/json
630-
optional: true
631-
- command: s3.put
632-
params:
633-
<<: *save-artifact-params-private
634-
local_file: src/.sbom/snyk-test-result.html
635-
remote_file: ${project}/${revision}_${revision_order_id}/snyk-test-result.html
636-
content_type: text/html
637-
optional: true
638-
- command: s3.put
639-
params:
640-
<<: *save-artifact-params-private
641-
local_file: src/.sbom/vulnerability-report.md
642-
remote_file: ${project}/${revision}_${revision_order_id}/vulnerability-report.md
643-
content_type: text/markdown
644-
optional: true

scripts/generate-snyk-reports.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)