File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
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= SolutionPersonal - dsl= ProjectPersonal
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
12
12
CheckLastExitCode
13
13
14
14
[xml ]$xml = Get-Content " $outputPath "
@@ -47,7 +47,7 @@ function RunCleanupCode {
47
47
$mergeCommitHash = git rev- parse " HEAD"
48
48
$targetCommitHash = git rev- parse " $env: APPVEYOR_REPO_BRANCH "
49
49
50
- dotnet regitlint - s JsonApiDotNetCore.sln -- print- command -- jb -- profile -- jb -- profile= ' \"JADNC Full Cleanup\"' -- jb -- properties:Configuration= Release -- jb -- verbosity= WARN -f commits - a $mergeCommitHash - b $targetCommitHash -- fail- on- diff -- print- diff
50
+ dotnet regitlint - s JsonApiDotNetCore.sln -- print- command -- jb -- profile -- jb -- profile= ' \"JADNC Full Cleanup\"' -- jb -- properties:Configuration= Release -- jb -- verbosity= WARN -- jb - dsl = GlobalAll -- jb - dsl = GlobalPerProduct -- jb - dsl = SolutionPersonal -- jb - dsl = ProjectPersonal - f commits - a $mergeCommitHash - b $targetCommitHash -- fail- on- diff -- print- diff
51
51
CheckLastExitCode
52
52
}
53
53
}
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ if ($LASTEXITCODE -ne 0) {
14
14
throw " Package restore failed with exit code $LASTEXITCODE "
15
15
}
16
16
17
- dotnet regitlint - s JsonApiDotNetCore.sln -- print- command -- jb -- profile -- jb -- profile= ' \"JADNC Full Cleanup\"' -- jb -- properties:Configuration= Release -- jb -- verbosity= WARN
17
+ dotnet regitlint - s JsonApiDotNetCore.sln -- print- command -- jb -- profile -- jb -- profile= ' \"JADNC Full Cleanup\"' -- jb -- properties:Configuration= Release -- jb -- verbosity= WARN -- jb - dsl = GlobalAll -- jb - dsl = GlobalPerProduct -- jb - dsl = SolutionPersonal -- jb - dsl = ProjectPersonal
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if ($LASTEXITCODE -ne 0) {
10
10
11
11
$outputPath = [System.IO.Path ]::Combine([System.IO.Path ]::GetTempPath(), ' jetbrains-inspectcode-results.xml' )
12
12
$resultPath = [System.IO.Path ]::Combine([System.IO.Path ]::GetTempPath(), ' jetbrains-inspectcode-results.html' )
13
- dotnet jb inspectcode JsonApiDotNetCore.sln -- build -- output= " $outputPath " -- profile= WarningSeverities.DotSettings -- properties:Configuration= Release -- severity= WARNING -- verbosity= WARN - dsl= GlobalAll - dsl= SolutionPersonal - dsl= ProjectPersonal
13
+ dotnet jb inspectcode JsonApiDotNetCore.sln -- build -- output= " $outputPath " -- profile= WarningSeverities.DotSettings -- properties:Configuration= Release -- severity= WARNING -- verbosity= WARN - dsl= GlobalAll - dsl= GlobalPerProduct - dsl = SolutionPersonal - dsl= ProjectPersonal
14
14
15
15
if ($LASTEXITCODE -ne 0 ) {
16
16
throw " Code inspection failed with exit code $LASTEXITCODE "
You can’t perform that action at this time.
0 commit comments