mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-31 12:00:06 -07:00
continue on error
This commit is contained in:
parent
d42bf4c397
commit
15b8f5f49c
1 changed files with 1 additions and 4 deletions
|
@ -268,6 +268,7 @@ Task("Run-Unit-Tests")
|
||||||
|
|
||||||
Task("Upload-Test-Results")
|
Task("Upload-Test-Results")
|
||||||
.IsDependentOn("Run-Unit-Tests")
|
.IsDependentOn("Run-Unit-Tests")
|
||||||
|
.ContinueOnError()
|
||||||
.Does(() => {
|
.Does(() => {
|
||||||
var script = @"
|
var script = @"
|
||||||
$wc = New-Object 'System.Net.WebClient'
|
$wc = New-Object 'System.Net.WebClient'
|
||||||
|
@ -279,10 +280,6 @@ Task("Upload-Test-Results")
|
||||||
";
|
";
|
||||||
// Upload the results
|
// Upload the results
|
||||||
StartPowershellScript(script);
|
StartPowershellScript(script);
|
||||||
}).OnError(exception =>
|
|
||||||
{
|
|
||||||
Error("Exception when attempting to upload the unit test results to AppVeyor");
|
|
||||||
Error(exception);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
Task("Run-Server-Build")
|
Task("Run-Server-Build")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue