Skip to content

Commit 8073130

Browse files
committed
Updated 'sonar.cs.vstest.reportsPaths'
1 parent 1b7b6f6 commit 8073130

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ install:
1212
before_script:
1313
- export PATH="$PATH:$HOME/.dotnet/tools"
1414
script:
15-
- dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.organization="$SONAR_ORGANIZATION_KEY" /d:sonar.host.url="$SONAR_URL" /d:sonar.login="$SONAR_TOKEN" /d:sonar.cs.vstest.reportsPaths="%CD%\results.trx"
15+
- |
16+
dotnet sonarscanner begin \
17+
/k:"$SONAR_PROJECT_KEY" \
18+
/d:sonar.organization="$SONAR_ORGANIZATION_KEY" \
19+
/d:sonar.host.url="$SONAR_URL" \
20+
/d:sonar.login="$SONAR_TOKEN" \
21+
/d:sonar.cs.vstest.reportsPaths="./Mastercard.Developer.OAuth1Signer.Tests/TestResults/results.trx"
1622
- dotnet test -c Release -l:"trx;LogFileName=results.trx"
1723
- dotnet publish -c Release
1824
- dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN"

0 commit comments

Comments
 (0)