Skip to content

Commit 91222c9

Browse files
authored
CSHARP-5165: Fix Evergreen link in SSDLC report (#1368)
1 parent e199794 commit 91222c9

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

evergreen/evergreen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ functions:
279279
env:
280280
NUGET_SIGN_CERTIFICATE_FINGERPRINT: ${NUGET_SIGN_CERTIFICATE_FINGERPRINT}
281281
PRODUCT_NAME: "mongo-csharp-driver"
282-
github_commit: ${github_commit}
282+
task_id: ${task_id}
283283
script: |
284284
${PREPARE_SHELL}
285285
./evergreen/generate-ssdlc-report.sh

evergreen/generate-ssdlc-report.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ set -o errexit # Exit the script with error if any of the commands fail
55
# NUGET_SIGN_CERTIFICATE_FINGERPRINT
66
# PRODUCT_NAME
77
# PACKAGE_VERSION
8-
# github_commit
8+
# task_id
99

1010
echo "$PRODUCT_NAME"
1111
echo "$PACKAGE_VERSION"
12-
echo "$github_commit"
1312

1413
echo "Creating SSDLC reports"
1514

@@ -30,7 +29,7 @@ fi
3029
sed "${SED_EDIT_IN_PLACE_OPTION[@]}" \
3130
-e "s/\${PRODUCT_NAME}/${PRODUCT_NAME}/g" \
3231
-e "s/\${PACKAGE_VERSION}/$PACKAGE_VERSION/g" \
33-
-e "s/\${github_commit}/$github_commit/g" \
32+
-e "s/\${task_id}/$task_id/g" \
3433
-e "s/\${REPORT_DATE_UTC}/$(date -u +%Y-%m-%d)/g" \
3534
-e "s/\${NUGET_SIGN_CERTIFICATE_FINGERPRINT}/${NUGET_SIGN_CERTIFICATE_FINGERPRINT}/g" \
3635
"${SSDLC_REPORT_PATH}"

evergreen/template_ssdlc_compliance_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This information is available in multiple ways:
2626
<tr>
2727
<th>Evergreen</th>
2828
<td>
29-
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>.
29+
See the "Submitted by" field in <a href="https://spruce.mongodb.com/task/${task_id}">Evergreen release task</a>.
3030
</td>
3131
</tr>
3232
<tr>

0 commit comments

Comments
 (0)