Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Debaerdm committed Aug 27, 2020
1 parent fde03e2 commit b2aecba
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,21 @@ steps:
inputs:
SonarCloud: 'SonarCloud'
organization: 'axaguildev'
scannerMode: 'MSBuild'
projectKey: 'skizzle'
projectVersion: '1.0.1'
scannerMode: 'CLI'
configMode: 'manual'
cliProjectKey: 'skizzle'
cliProjectName: 'skizzle'
cliProjectVersion: '1.0.1'
cliSources: 'src'
extraProperties: |
# Additional properties that will be passed to the scanner,
# Put one key=value per line, example:
sonar.tests=src
sonar.test.inclusions=src/**/*.test.js
sonar.javascript.lcov.reportPaths=coverage/lcov.info
- script: |
npm install
npm run build
npm run test:coverage
displayName: 'npm install, build and test coverage'
- script: npm install && npm run bootstrap
displayName: 'npm install and bootstrap'

- task: SonarCloudAnalyze@1
- script: npm test -- --coverage
displayName: 'npm run test:coverage'

0 comments on commit b2aecba

Please sign in to comment.