Skip to content

Commit

Permalink
CI - Try catch PublishCoverity.exe publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Liryna committed Apr 5, 2018
1 parent 3afd8dc commit 4104b87
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,21 @@
--overwrite}
Write-Host "Uploading Coverity results..."
& PublishCoverity\tools\PublishCoverity.exe publish `
--nologo `
-t "$env:CoverityProjectToken" `
-e "$env:CoverityNotificationEmail" `
-r "dokan-dev/dokany" `
-z "coverity.zip" `
-d "Appveyor build." `
--codeVersion "$env:APPVEYOR_BUILD_VERSION"
try
{
Exec-External {& PublishCoverity\tools\PublishCoverity.exe publish `
--nologo `
-t "$env:CoverityProjectToken" `
-e "$env:CoverityNotificationEmail" `
-r "dokan-dev/dokany" `
-z "coverity.zip" `
-d "Appveyor build." `
--codeVersion "$env:APPVEYOR_BUILD_VERSION"}
}
catch
{
Write-Output "Ignore PublishCoverity error"
}
}
- ps: |
Expand Down

0 comments on commit 4104b87

Please sign in to comment.