Skip to content

Commit 0efc7e3

Browse files
committed
ci: Configure $CI_JOB_NAME correctly
Looks like some env vars were tweaked on Azure's side of things, so update how we configure `CI_JOB_NAME`.
1 parent 78ca1bd commit 0efc7e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.azure-pipelines/steps/run.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ steps:
100100

101101
# Configure our CI_JOB_NAME variable which log analyzers can use for the main
102102
# step to see what's going on.
103-
- bash: echo "##vso[task.setvariable variable=CI_JOB_NAME]$SYSTEM_JOBNAME"
103+
- bash: |
104+
builder=$(echo $AGENT_JOBNAME | cut -d ' ' -f 2)
105+
echo "##vso[task.setvariable variable=CI_JOB_NAME]$builder"
104106
displayName: Configure Job Name
105107

106108
# As a quick smoke check on the otherwise very fast mingw-check linux builder

0 commit comments

Comments
 (0)