File tree 2 files changed +19
-7
lines changed
2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ function CheckLastExitCode {
8
8
9
9
function RunInspectCode {
10
10
$outputPath = [System.IO.Path ]::Combine([System.IO.Path ]::GetTempPath(), ' jetbrains-inspectcode-results.xml' )
11
- dotnet jb inspectcode JsonApiDotNetCore.sln -- no- build -- output= " $outputPath " -- profile= WarningSeverities.DotSettings -- properties:Configuration= Release -- severity= WARNING -- verbosity= WARN - dsl= GlobalAll - dsl= GlobalPerProduct - dsl= SolutionPersonal - dsl= ProjectPersonal -- dotnetcoresdk= 8.0 .100 - preview.4.23260 .5
11
+ dotnet jb inspectcode JsonApiDotNetCore.sln -- no- build -- output= " $outputPath " -- profile= WarningSeverities.DotSettings -- properties:Configuration= Release -- severity= WARNING -- verbosity= TRACE -- LogFolder = $ env: APPVEYOR_BUILD_FOLDER / inspect - code - logs -- debug - dsl= GlobalAll - dsl= GlobalPerProduct - dsl= SolutionPersonal - dsl= ProjectPersonal -- dotnetcoresdk= 8.0 .100 - preview.4.23260 .5
12
12
CheckLastExitCode
13
13
14
14
[xml ]$xml = Get-Content " $outputPath "
@@ -51,7 +51,7 @@ function RunCleanupCode {
51
51
52
52
if ($baseCommitHash -ne $headCommitHash ) {
53
53
Write-Output " Running code cleanup on commit range $baseCommitHash ..$headCommitHash in pull request."
54
- dotnet regitlint - s JsonApiDotNetCore.sln -- print- command -- skip-tool - check -- max- runs= 5 -- jb- profile= " JADNC Full Cleanup" -- jb -- properties:Configuration= Release -- jb -- verbosity= WARN -f commits - a $headCommitHash - b $baseCommitHash -- fail- on- diff -- print- diff -- jb -- dotnetcoresdk= 8.0 .100 - preview.4.23260 .5
54
+ dotnet regitlint - s JsonApiDotNetCore.sln -- print- command -- skip-tool - check -- max- runs= 5 -- jb- profile= " JADNC Full Cleanup" -- jb -- properties:Configuration= Release -- jb -- verbosity= TRACE -- jb -- LogFolder = $ env: APPVEYOR_BUILD_FOLDER / cleanup - code - logs -- jb -- debug -f commits - a $headCommitHash - b $baseCommitHash -- fail- on- diff -- print- diff -- jb -- dotnetcoresdk= 8.0 .100 - preview.4.23260 .5
55
55
CheckLastExitCode
56
56
}
57
57
}
@@ -107,9 +107,9 @@ CheckLastExitCode
107
107
RunInspectCode
108
108
RunCleanupCode
109
109
110
- dotnet test - c Release -- no- build -- collect:" XPlat Code Coverage"
111
- CheckLastExitCode
110
+ # dotnet test -c Release --no-build --collect:"XPlat Code Coverage"
111
+ # CheckLastExitCode
112
112
113
- ReportCodeCoverage
113
+ # ReportCodeCoverage
114
114
115
- CreateNuGetPackage
115
+ # CreateNuGetPackage
Original file line number Diff line number Diff line change 1
1
image :
2
- - Ubuntu2004
2
+ # - Ubuntu2004
3
3
- Visual Studio 2022
4
4
5
5
version : ' {build}'
@@ -11,6 +11,18 @@ environment:
11
11
PGPASSWORD : Password12!
12
12
GIT_ACCESS_TOKEN :
13
13
secure : WPzhuEyDE7yuHeEgLi3RoGJ8we+AHU6nMksbFoWQ0AmI/HJLh4bjOR0Jnnzc6aaG
14
+ APPVEYOR_RDP_PASSWORD : c6IuC99A-bbchKhD
15
+
16
+ # In the VM, run the next commands to release locks before collecting logs:
17
+ # Get-Process | Where-Object {$_.ProcessName -eq 'dotnet'} | Stop-Process -Force
18
+ # Get-Process | Where-Object {$_.ProcessName -eq 'msbuild'} | Stop-Process -Force
19
+ # Get-Process | Where-Object {$_.ProcessName -eq 'VBCSCompiler'} | Stop-Process -Force
20
+
21
+ init :
22
+ - ps : iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
23
+
24
+ on_finish :
25
+ - ps : $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
14
26
15
27
branches :
16
28
only :
You can’t perform that action at this time.
0 commit comments