diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-09 21:01:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-09 21:01:58 +0200 |
| commit | 9243c28d5005ff8364da71d2c3782451ed938ea4 (patch) | |
| tree | 178ea35cd1336488eb5a1c9bd17c4c56d62ac557 | |
| parent | 8d0243a01ed1aaca220407fba0c761c9ef8d217a (diff) | |
| parent | 0efc7e3898d840be0870a52b0dbaab50bad4fabd (diff) | |
| download | rust-9243c28d5005ff8364da71d2c3782451ed938ea4.tar.gz rust-9243c28d5005ff8364da71d2c3782451ed938ea4.zip | |
Rollup merge of #62535 - alexcrichton:ci-job-name, r=pietroalbini
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`.
| -rw-r--r-- | .azure-pipelines/steps/run.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.azure-pipelines/steps/run.yml b/.azure-pipelines/steps/run.yml index 1ece3ceb088..9e6fb6c8a8c 100644 --- a/.azure-pipelines/steps/run.yml +++ b/.azure-pipelines/steps/run.yml @@ -100,7 +100,9 @@ steps: # Configure our CI_JOB_NAME variable which log analyzers can use for the main # step to see what's going on. -- bash: echo "##vso[task.setvariable variable=CI_JOB_NAME]$SYSTEM_JOBNAME" +- bash: | + builder=$(echo $AGENT_JOBNAME | cut -d ' ' -f 2) + echo "##vso[task.setvariable variable=CI_JOB_NAME]$builder" displayName: Configure Job Name # As a quick smoke check on the otherwise very fast mingw-check linux builder |
