From 19810b9f4e0b5928fa26185c97d8139759d0f8e4 Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Thu, 10 Oct 2019 16:29:00 +1300 Subject: [PATCH] fix(build-system): fix build system on CI for Windows (#3250) * fix(build-system): fix build system on CI for Windows * fix(build-system): fix build system on CI for Windows * fix(build-system): fix build system on CI for Windows * fix(build-system): fix build system on CI for Windows * fix(build-system): fix build system on CI for Windows * fix(build-system): fix build system on CI for Windows * fix(build-system): fix build system on CI for Windows * fix(build-system): fix build system on CI for Windows * fix(build-system): fix build system on CI for Windows --- build/build_binary_azuredevops.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/build_binary_azuredevops.ps1 b/build/build_binary_azuredevops.ps1 index 2e52f299d..9be00609a 100755 --- a/build/build_binary_azuredevops.ps1 +++ b/build/build_binary_azuredevops.ps1 @@ -18,6 +18,7 @@ Copy-Item -Path "api" -Destination "$go_path\src\github.com\portainer\portainer\ Set-Location -Path "api\cmd\portainer" go get -t -d -v ./... -go build -v +## go build -v +& cmd /c 'go build -v 2>&1' Copy-Item -Path "portainer.exe" -Destination "$($env:BUILD_SOURCESDIRECTORY)\dist\portainer.exe" -Force -ErrorAction:SilentlyContinue