- Sonarqube: Developer Edition 9.3.0.51899
- Cloud Build trigger:
source:
repoSource:
repoName: – my repo name in bitbucket cloud –
branchName: develop
steps:- name: ‘Google Cloud Platform’
env:- ‘SONAR_HOST_URL=${_SONAR_HOST_URL}’
- ‘SONAR_LOGIN=${_SONAR_LOGIN}’
args: - ‘mvn clean verify sonar:sonar’
- ‘-Dsonar.projectKey=’
- ‘-Dsonar.sources=.’
- ‘-Dsonar.qualitygate.wait=true allow_failure: true’
id: sonarqube
entrypoint: sh
- name: ‘Google Cloud Platform’
but launching the Cloud Build trigger I get the following error:
sh: mvn clean verify sonar:sonar: No such file or directory