Updated build process for Zabbix agent (windows)

This commit is contained in:
Alexey Pustovalov 2024-05-20 17:29:18 +09:00
parent 47f4f62147
commit fcfabb0e3e

View File

@ -180,9 +180,9 @@ RUN Set-Location -Path $env:SystemDrive\.; `
` `
Write-Host 'Removing downloaded...'; ` Write-Host 'Removing downloaded...'; `
Remove-Item -Force -Recurse $env:TEMP\*; ` Remove-Item -Force -Recurse $env:TEMP\*; `
Write-Host 'Build environment is ready...'; ` Write-Host 'Build environment is ready...';
`
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; ` RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
` `
New-Item -ItemType directory -Path $env:BUILD_OUTPUT -Force | Out-Null; ` New-Item -ItemType directory -Path $env:BUILD_OUTPUT -Force | Out-Null; `
New-Item -ItemType directory -Path $env:BUILD_SRC -Force | Out-Null; ` New-Item -ItemType directory -Path $env:BUILD_SRC -Force | Out-Null; `