Moved Sonar testing to its own branch.

This commit is contained in:
Liviu Burcusel 2025-09-15 17:25:01 +02:00
parent 4bc633be08
commit c20396b75e
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C

View file

@ -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