Commit ef6b1b5b authored by Carsten Heidmann's avatar Carsten Heidmann
Browse files

enable Sonar tests

put Sonar tests in own stage
let failing Sonar tests break the pipeline
adjust superfluous comma in ci-analysis.js
parent 9cfa795a
Pipeline #34800 passed with stages
in 6 minutes and 5 seconds
stages: stages:
- build - build
- test - test
- test_sonar
- package - package
- deploy - deploy
...@@ -14,4 +15,4 @@ cache: ...@@ -14,4 +15,4 @@ cache:
include: include:
- local: .gitlab/ci/ci.yml - local: .gitlab/ci/ci.yml
# - local: .gitlab/ci/build-and-sonarqube-ci.yml - local: .gitlab/ci/static-code-analysis.yml
sonarqube_node12: sonarqube_node12:
only: stage: test_sonar
- master
stage: test
image: node:12-buster-slim image: node:12-buster-slim
before_script: before_script:
- apt-get update -yqq - apt-get update -yqq
...@@ -17,9 +15,7 @@ sonarqube_node12: ...@@ -17,9 +15,7 @@ sonarqube_node12:
- npm run test:sonarqube - npm run test:sonarqube
sonarqube_node14: sonarqube_node14:
only: stage: test_sonar
- master
stage: test
image: node:14-buster-slim image: node:14-buster-slim
before_script: before_script:
- apt-get update -yqq - apt-get update -yqq
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment