File tree 1 file changed +16
-9
lines changed
1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,21 @@ steps:
25
25
inputs :
26
26
SonarCloud : ' SonarCloud'
27
27
organization : ' axaguildev'
28
- scannerMode : ' MSBuild'
29
- projectKey : ' skizzle'
30
- projectVersion : ' 1.0.1'
28
+ scannerMode : ' CLI'
29
+ configMode : ' manual'
30
+ cliProjectKey : ' skizzle'
31
+ cliProjectName : ' skizzle'
32
+ cliProjectVersion : ' 1.0.1'
33
+ cliSources : ' src'
34
+ extraProperties : |
35
+ # Additional properties that will be passed to the scanner,
36
+ # Put one key=value per line, example:
37
+ sonar.tests=src
38
+ sonar.test.inclusions=src/**/*.test.js
39
+ sonar.javascript.lcov.reportPaths=coverage/lcov.info
31
40
32
- - script : |
33
- npm install
34
- npm run build
35
- npm run test:coverage
36
- displayName : ' npm install, build and test coverage'
41
+ - script : npm install && npm run bootstrap
42
+ displayName : ' npm install and bootstrap'
37
43
38
- - task : SonarCloudAnalyze@1
44
+ - script : npm test -- --coverage
45
+ displayName : ' npm run test:coverage'
You can’t perform that action at this time.
0 commit comments