Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion evergreen/evergreen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ functions:
env:
NUGET_SIGN_CERTIFICATE_FINGERPRINT: ${NUGET_SIGN_CERTIFICATE_FINGERPRINT}
PRODUCT_NAME: "mongo-csharp-driver"
github_commit: ${github_commit}
task_id: ${task_id}
script: |
${PREPARE_SHELL}
./evergreen/generate-ssdlc-report.sh
Expand Down
5 changes: 2 additions & 3 deletions evergreen/generate-ssdlc-report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ set -o errexit # Exit the script with error if any of the commands fail
# NUGET_SIGN_CERTIFICATE_FINGERPRINT
# PRODUCT_NAME
# PACKAGE_VERSION
# github_commit
# task_id

echo "$PRODUCT_NAME"
echo "$PACKAGE_VERSION"
echo "$github_commit"

echo "Creating SSDLC reports"

Expand All @@ -30,7 +29,7 @@ fi
sed "${SED_EDIT_IN_PLACE_OPTION[@]}" \
-e "s/\${PRODUCT_NAME}/${PRODUCT_NAME}/g" \
-e "s/\${PACKAGE_VERSION}/$PACKAGE_VERSION/g" \
-e "s/\${github_commit}/$github_commit/g" \
-e "s/\${task_id}/$task_id/g" \
-e "s/\${REPORT_DATE_UTC}/$(date -u +%Y-%m-%d)/g" \
-e "s/\${NUGET_SIGN_CERTIFICATE_FINGERPRINT}/${NUGET_SIGN_CERTIFICATE_FINGERPRINT}/g" \
"${SSDLC_REPORT_PATH}"
Expand Down
2 changes: 1 addition & 1 deletion evergreen/template_ssdlc_compliance_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This information is available in multiple ways:
<tr>
<th>Evergreen</th>
<td>
See the "Submitted by" field in <a href="https://spruce.mongodb.com/version/dot_net_driver_v${PACKAGE_VERSION}_${github_commit}">Evergreen release patch</a>.
See the "Submitted by" field in <a href="https://spruce.mongodb.com/task/${task_id}">Evergreen release task</a>.
</td>
</tr>
<tr>
Expand Down