mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-07 04:09:15 +02:00
feat:#35 updated sonarqube pipe
This commit is contained in:
@@ -85,24 +85,6 @@ sonarqube-check-backend:
|
|||||||
- main
|
- main
|
||||||
- develop
|
- 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:
|
build-frontend:
|
||||||
image: node:lts
|
image: node:lts
|
||||||
stage: build
|
stage: build
|
||||||
|
Reference in New Issue
Block a user