File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -111,14 +111,10 @@ jobs:
111
111
pwsh : true
112
112
targetType : inline
113
113
script : |
114
+ git checkout -b testcoverage-baseline
114
115
$blDir = "./tools/TestFx/Coverage"
115
116
$blCsv = Join-Path -Path $blDir -ChildPath "Baseline.csv"
116
- if (Test-Path -Path $blCsv) {
117
- Remove-Item -Path $blCsv -Force
118
- }
119
-
120
- git checkout -b testcoverage-baseline
121
- Copy-Item -Path "$(Pipeline.Workspace)/artifacts/TestCoverageAnalysis/Results/Baseline.csv" -Destination $blDir
117
+ Copy-Item -Path "$(Pipeline.Workspace)/artifacts/TestCoverageAnalysis/Results/Baseline.csv" -Destination $blDir -Force
122
118
git config user.email "[email protected] "
123
119
git config user.name "azure-powershell-bot"
124
120
git add $blCsv
You can’t perform that action at this time.
0 commit comments