From d549aafafe1bcd06019a88b0d1cc9dc1e7f5c51e Mon Sep 17 00:00:00 2001 From: Liviu Burcusel Date: Mon, 15 Sep 2025 16:23:32 +0200 Subject: [PATCH] Tentatively added bitbucket-pipelines.yml --- bitbucket-pipelines.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 bitbucket-pipelines.yml diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 0000000..a0862e9 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,23 @@ +image: node:lts + +clone: + depth: full # SonarQube Cloud scanner needs the full history to assign issues properly + +definitions: + caches: + sonar: ~/.sonar/cache # Caching SonarQube Cloud artifacts will speed up your build + steps: + - step: &test-sonarcloud + name: Test and analyze on SonarQube Cloud + caches: + - node + - sonar + script: + - npm ci + - npm run coverage + - pipe: sonarsource/sonarcloud-scan:4.0.0 + +pipelines: # More info here: https://confluence.atlassian.com/bitbucket/configure-bitbucket-pipelines-yml-792298910.html + branches: + production: + - step: *test-sonarcloud