Moved Sonar testing to its own branch.
This commit is contained in:
parent
4bc633be08
commit
c20396b75e
1 changed files with 4 additions and 4 deletions
|
|
@ -1,11 +1,11 @@
|
||||||
image: node:lts
|
image: node:lts
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
depth: full # SonarQube Cloud scanner needs the full history to assign issues properly
|
depth: full
|
||||||
|
|
||||||
definitions:
|
definitions:
|
||||||
caches:
|
caches:
|
||||||
sonar: ~/.sonar # Caching SonarQube Cloud artifacts will speed up your build
|
sonar: ~/.sonar
|
||||||
|
|
||||||
services:
|
services:
|
||||||
docker:
|
docker:
|
||||||
|
|
@ -23,7 +23,7 @@ definitions:
|
||||||
- npm run coverage
|
- npm run coverage
|
||||||
- pipe: sonarsource/sonarcloud-scan:4.0.0
|
- pipe: sonarsource/sonarcloud-scan:4.0.0
|
||||||
|
|
||||||
pipelines: # More info here: https://confluence.atlassian.com/bitbucket/configure-bitbucket-pipelines-yml-792298910.html
|
pipelines:
|
||||||
branches:
|
branches:
|
||||||
production:
|
sonar-test:
|
||||||
- step: *test-sonarcloud
|
- step: *test-sonarcloud
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue