Skip to content
Snippets Groups Projects
Commit 389fb468 authored by François Agneray's avatar François Agneray
Browse files

Update gitlab-ci (client + server)

parent 71a45b34
No related branches found
No related tags found
1 merge request!29Develop
Pipeline #5972 passed
Pipeline: anis-next

#5974

    Pipeline: anis-next

    #5973

      ......@@ -12,7 +12,7 @@ install_dependencies:
      image: node:16-slim
      stage: install_dependencies
      cache:
      key: ${CI_COMMIT_REF_SLUG}
      key: ${CI_COMMIT_REF_SLUG}_client
      paths:
      - client/node_modules
      policy: pull-push
      ......@@ -24,14 +24,14 @@ sonar_scanner:
      image: sonarsource/sonar-scanner-cli:latest
      stage: sonar
      cache:
      key: ${CI_COMMIT_REF_SLUG}
      key: ${CI_COMMIT_REF_SLUG}_client
      paths:
      - client/node_modules
      policy: pull
      script:
      - cd client
      - sonar-scanner
      -Dsonar.projectKey=anis-next
      -Dsonar.projectKey=anis-client
      -Dsonar.sources=src
      -Dsonar.projectVersion=$VERSION
      -Dsonar.host.url=$SONARQUBE_URL
      ......@@ -43,7 +43,7 @@ build:
      image: node:16-slim
      stage: build
      cache:
      key: ${CI_COMMIT_REF_SLUG}
      key: ${CI_COMMIT_REF_SLUG}_client
      paths:
      - client/node_modules
      policy: pull
      ......
      ......@@ -47,7 +47,7 @@ sonar_scanner:
      script:
      - cd server
      - sonar-scanner
      -Dsonar.projectKey=anis-next
      -Dsonar.projectKey=anis-server
      -Dsonar.sources=src
      -Dsonar.projectVersion=$VERSION
      -Dsonar.host.url=$SONARQUBE_URL
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Finish editing this message first!
      Please register or to comment