File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,13 +143,13 @@ else
143143
144144exec { & dotnet build $libraryOnlySolutionPath - c Release }
145145
146- dotnet test - c Release - s " .. \coverletArgs.runsettings" - r " . \TestResults\"
146+ dotnet test - c Release - s " $ ( $ env: APPVEYOR_BUILD_FOLDER ) \coverletArgs.runsettings" - r " $ ( $ env: APPVEYOR_BUILD_FOLDER ) \TestResults\"
147147
148148Get-ChildItem - Path " TestResults" | Resolve-Path - Relative
149149
150- exec { & reportgenerator " -reports:.. \TestResults\*\*.xml" " -targetdir:.. \TestResults\" " -reporttypes:SonarQube" }
150+ exec { & reportgenerator " -reports:$ ( $ env: APPVEYOR_BUILD_FOLDER ) \TestResults\*\*.xml" " -targetdir:$ ( $ env: APPVEYOR_BUILD_FOLDER ) \TestResults\" " -reporttypes:SonarQube" }
151151
152152exec { & dotnet sonarscanner end / d:sonar.login= " $env: sonartoken " }
153153
154154echo " Packing the library"
155- exec { & dotnet pack $projectPath - c Release - o .\..\..\ artifacts -- version- suffix= $revision }
155+ exec { & dotnet pack $projectPath - c Release - o " $ ( $ env: APPVEYOR_BUILD_FOLDER ) \ artifacts" -- version- suffix= $revision }
You can’t perform that action at this time.
0 commit comments