Redirect winscp output to local log to avoid leaking secret names.

This commit is contained in:
Joseph Lenox 2017-04-04 23:47:48 -05:00
parent c33179b4e0
commit a07dec0316

View File

@ -3,7 +3,8 @@ cd package/win
./compile_wrapper.ps1 524 | Write-Output
./package_win32.ps1 524| Write-Output
cd ../../
& package/deploy/winscp.ps1 -DIR win -KEY $BUILD_FOLDER/package/deploy/slic3r-upload.ppk -FILE *.zip:
Add-AppveyorCompilationMessage -Message "Uploading to server."
& ./package/deploy/winscp.ps1 -DIR win -KEY $env:APPVEYOR_BUILD_FOLDER/package/deploy/slic3r-upload.ppk -FILE *.zip *>> ./sftplog.txt
if (!(Test-Path C:\project\slic3r\slic3r.par)) {
Add-AppveyorCompilationMessage -Message "Failed to package!" -Category Error