Skip to content
Permalink
Browse files

Fix pot file upload

Follow on from #10465 
The pot file was being uploaded from the system test section of the appveyor.yml file.
As long as the file isn't deleted (see #10465), the file will be uploaded by the `on_finish` section.
This section uploads everything in the output folder.

Trying to explicitly upload the pot file causes the build to fail if that file does not exist.
  • Loading branch information
feerrenrut committed Nov 27, 2019
1 parent 05226fe commit 7f2f03cbd8cc81dfe6bdb9cfacf8f472771d4019
Showing with 0 additions and 1 deletion.
  1. +0 −1 appveyor.yml
@@ -186,7 +186,6 @@ test_script:
py -m robot --loglevel DEBUG -d $systemTestOutput -x systemTests.xml -v whichNVDA:installed -P "$testSource/libraries" "$testSource"
Compress-Archive -Path "$systemTestOutput\*" -DestinationPath "$testOutput\systemTestResult.zip"
Push-AppveyorArtifact "$testOutput\systemTestResult.zip"
Push-AppveyorArtifact "$Output\*.pot"
if($LastExitCode -ne 0) { $errorCode=$LastExitCode }
$wc = New-Object 'System.Net.WebClient'
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path "$systemTestOutput\systemTests.xml"))

0 comments on commit 7f2f03c

Please sign in to comment.
You can’t perform that action at this time.