Skip to content

Commit 6117644

Browse files
committed
Output job doc URL to allow Rust Log Analyzer to access it
1 parent aab643f commit 6117644

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
timeout-minutes: 360
6969
env:
7070
CI_JOB_NAME: ${{ matrix.name }}
71+
CI_JOB_DOC_URL: ${{ matrix.doc_url }}
7172
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
7273
# commit of PR sha or commit sha. `GITHUB_SHA` is not accurate for PRs.
7374
HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

src/ci/run.sh

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ if [ -n "$CI_JOB_NAME" ]; then
66
echo "[CI_JOB_NAME=$CI_JOB_NAME]"
77
fi
88

9+
if [ -n "$CI_JOB_DOC_URL" ]; then
10+
echo "[CI_JOB_DOC_URL=$CI_JOB_DOC_URL]"
11+
fi
12+
913
if [ "$NO_CHANGE_USER" = "" ]; then
1014
if [ "$LOCAL_USER_ID" != "" ]; then
1115
id -u user &>/dev/null || useradd --shell /bin/bash -u $LOCAL_USER_ID -o -c "" -m user

0 commit comments

Comments
 (0)