diff --git a/.expeditor/buildkite/artifact.habitat.test.ps1 b/.expeditor/buildkite/artifact.habitat.test.ps1 index 811764eb5..c4ee1869a 100755 --- a/.expeditor/buildkite/artifact.habitat.test.ps1 +++ b/.expeditor/buildkite/artifact.habitat.test.ps1 @@ -9,7 +9,7 @@ $env:HAB_BLDR_CHANNEL = "LTS-2024" $env:HAB_ORIGIN = 'ci' $env:CHEF_LICENSE = 'accept-no-persist' $env:HAB_LICENSE = 'accept-no-persist' -$Plan = 'test-kitchen' +$Plan = 'chef-test-kitchen-enterprise' Write-Host "--- system details" $Properties = 'Caption', 'CSName', 'Version', 'BuildType', 'OSArchitecture' @@ -32,9 +32,11 @@ function Install-Habitat { } try { - hab --version + $v = hab --version + Write-Host "Habitat version:$v is already installed." } catch { + Write-Host "Habitat is not installed, installing..." Set-ExecutionPolicy Bypass -Scope Process -Force Stop-HabProcess @@ -90,4 +92,4 @@ try { finally { # Ensure we always return to the original directory Pop-Location -} \ No newline at end of file +}