From 444167f5fb29f266cf8447ff932086c403037182 Mon Sep 17 00:00:00 2001 From: Tero Heikkinen Date: Wed, 12 Jun 2024 11:28:13 +0300 Subject: [PATCH] Provisioning: Make Windows Path visible at the end of provisioning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There's possibility that some installations might add more into Path that doesn't get visible during the installation process. Change makes it easier to detect if there's i.e. JRE installed during Mimer, which caused Java SE update to 17 fail in qtbase build for Android, because JRE was the first Java found from Path and it wasn't the required new JDK 17 version. This can lead even to test with incorrect version of Java, which can happen with any other different version installations as well. Task-number: QTQAINFRA-6392 Task-number: QTQAINFRA-6385 Pick-to: 6.8 Change-Id: Idce79eb06d73894ae648e0be53ff1f07bb21392d Reviewed-by: Tony Sarajärvi --- coin/provisioning/common/windows/version.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coin/provisioning/common/windows/version.ps1 b/coin/provisioning/common/windows/version.ps1 index 7f701f63..127393fd 100644 --- a/coin/provisioning/common/windows/version.ps1 +++ b/coin/provisioning/common/windows/version.ps1 @@ -4,3 +4,6 @@ Write-Host '*****************************************************' Write-Host '******************** Get-PSDrive ********************' Get-PSDrive Write-Host '*****************************************************' +Write-Host '******************** Path Content *******************' +$env:Path -split ';' +Write-Host '*****************************************************'