#!/usr/bin/env bash

sonar-scanner -X \
  -Dsonar.host.url=https://sonarqube.nonprod.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=ynzfLZu0434ROug1dzbJQR
