mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
fixed cake warnings
This commit is contained in:
parent
494b553a8e
commit
367c61b0ae
3 changed files with 8 additions and 18 deletions
|
@ -24,7 +24,7 @@ steps:
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
displayName: Run Build Script
|
displayName: Run Build Script
|
||||||
inputs:
|
inputs:
|
||||||
script: './build.sh --settings_skipverification=true'
|
script: './build.sh'
|
||||||
|
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
displayName: Upload Windows Build
|
displayName: Upload Windows Build
|
||||||
|
|
22
build.cake
22
build.cake
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
#tool "nuget:?package=GitVersion.CommandLine&version=4.0.0"
|
#tool "nuget:?package=GitVersion.CommandLine&version=5.0.1"
|
||||||
#addin nuget:?package=SharpZipLib&version=1.1.0
|
#addin nuget:?package=SharpZipLib&version=1.2.0
|
||||||
#addin nuget:?package=Cake.Compression&version=0.2.2
|
#addin nuget:?package=Cake.Compression&version=0.2.3
|
||||||
#addin "Cake.Incubator&version=3.1.0"
|
#addin "Cake.Incubator&version=5.1.0"
|
||||||
#addin nuget:?package=Cake.Yarn&version=0.4.5
|
#addin nuget:?package=Cake.Yarn&version=0.4.6
|
||||||
#addin "Cake.Powershell"
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
// ARGUMENTS
|
// ARGUMENTS
|
||||||
|
@ -270,16 +269,7 @@ Task("Upload-Test-Results")
|
||||||
.IsDependentOn("Run-Unit-Tests")
|
.IsDependentOn("Run-Unit-Tests")
|
||||||
.ContinueOnError()
|
.ContinueOnError()
|
||||||
.Does(() => {
|
.Does(() => {
|
||||||
var script = @"
|
|
||||||
$wc = New-Object 'System.Net.WebClient'
|
|
||||||
foreach ($name in Resolve-Path .\src\**\TestResults\Test*.trx)
|
|
||||||
{
|
|
||||||
Write-Host ""Uploading File: "" + $name
|
|
||||||
$wc.UploadFile(""https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)"", $name)
|
|
||||||
}
|
|
||||||
";
|
|
||||||
// Upload the results
|
|
||||||
StartPowershellScript(script);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
Task("Run-Server-Build")
|
Task("Run-Server-Build")
|
||||||
|
|
|
@ -24,7 +24,7 @@ steps:
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
displayName: Run Build Script
|
displayName: Run Build Script
|
||||||
inputs:
|
inputs:
|
||||||
script: './build.sh --settings_skipverification=true --target=build'
|
script: './build.sh --target=build'
|
||||||
|
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
displayName: Upload Test Results
|
displayName: Upload Test Results
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue