feat:#35 updated sonarqube pipe

This commit is contained in:
Elmar Kresse
2024-06-13 20:18:43 +02:00
parent d05ac301ce
commit ac2a633462

View File

@ -85,24 +85,6 @@ sonarqube-check-backend:
- main
- develop
sonarqube-vulnerability-report-backend:
stage: sonarqube-vulnerability-report
script:
- cd backend
- 'curl -u "${SONAR_TOKEN}:" "${SONAR_HOST_URL}/api/issues/gitlab_sast_export?projectKey=htwk-software_htwkalender_57f05352-f163-462f-b844-18c74b8c70fd&branch=${CI_COMMIT_BRANCH}&pullRequest=${CI_MERGE_REQUEST_IID}" -o gl-sast-sonar-report.json'
allow_failure: true
only:
- merge_requests
- master
- main
- develop
artifacts:
expire_in: 1 day
reports:
sast: gl-sast-sonar-report.json
dependencies:
- sonarqube-check-backend
build-frontend:
image: node:lts
stage: build