#!/usr/bin/env bash

sonar-scanner -X \
  -Dsonar.host.url=https://sonarqube.stagenp.platform-test-services.dwpcloud.uk \
  -Dsonar.projectBaseDir="$(pwd)" \
  -Dsonar.javascript.jstest.reportsPath=.coverage/ \
  -Dsonar.javascript.lcov.reportPaths=.coverage/lcov.info \
  -Dsonar.working.directory=/tmp/pwd \
  -Dsonar.projectKey=validate-jwt-token \
  -Dsonar.source.code=src \
  -Dsonar.login=admin \
  -Dsonar.password=0f8c1a06d6918405dea3b96eb2867567c129f126ea2f87671f6ab6e4fee3bd59
