Skip to content
Open
Changes from 4 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
9 changes: 7 additions & 2 deletions eng/pipelines/arcade/stage-helix-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ parameters:
default:
- Debug
- Release
- name: helixJobMonitorVersion
type: string
default: 11.0.0-beta.26425.2
- name: helixJobMonitorTimeoutInMinutes
type: number
default: 360
Expand Down Expand Up @@ -119,9 +122,9 @@ stages:

toolPath="$AGENT_TEMPDIRECTORY/helix-job-monitor"
bash ./eng/common/dotnet.sh
toolVersion=$(bash ./eng/common/dotnet.sh msbuild eng/Versions.props -getProperty:MicrosoftDotNetHelixSdkPackageVersion -nologo | tail -n 1)
toolVersion="${HELIX_JOB_MONITOR_VERSION:-}"
if [[ -z "$toolVersion" || "$toolVersion" =~ [[:space:]] ]]; then
echo "Could not read the Helix SDK package version from eng/Versions.props." >&2
printf 'The helixJobMonitorVersion parameter must be non-empty and contain no whitespace; received %q.\n' "$toolVersion" >&2
exit 1
fi

Expand All @@ -138,6 +141,8 @@ stages:

echo "##vso[task.setvariable variable=HelixJobMonitorDll]$toolDll"
displayName: Install Helix Job Monitor
env:
HELIX_JOB_MONITOR_VERSION: ${{ parameters.helixJobMonitorVersion }}

- bash: |
set -euo pipefail
Expand Down
Loading