mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-16 18:04:52 +00:00
Parameterize windows packaging test script (#58980)
This commit is contained in:
parent
96a06685cf
commit
b41bbe2911
@ -1,3 +1,5 @@
|
||||
param($GradleTasks='destructiveDistroTest')
|
||||
|
||||
If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))
|
||||
{
|
||||
# Relaunch as an elevated process:
|
||||
@ -25,7 +27,6 @@ Remove-Item -Recurse -Force \tmp -ErrorAction Ignore
|
||||
New-Item -ItemType directory -Path \tmp
|
||||
|
||||
$ErrorActionPreference="Continue"
|
||||
# TODO: remove the task exclusions once dependencies are set correctly and these don't run for Windows or buldiung the deb on windows is fixed
|
||||
& .\gradlew.bat -g "C:\Users\$env:username\.gradle" --parallel --no-daemon --scan --console=plain destructiveDistroTest
|
||||
& .\gradlew.bat -g "C:\Users\$env:username\.gradle" --parallel --no-daemon --scan --console=plain $GradleTasks
|
||||
|
||||
exit $LastExitCode
|
||||
|
Loading…
x
Reference in New Issue
Block a user