]> source.dussan.org Git - sonarqube.git/commitdiff
Rename 'vulnerability-report' to 'sonarqube-vulnerability-report'
authorDimitris Kavvathas <dimitris.kavvathas@sonarsource.com>
Fri, 14 Jul 2023 10:16:48 +0000 (12:16 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 18 Jul 2023 20:03:23 +0000 (20:03 +0000)
server/sonar-web/src/main/js/components/tutorials/gitlabci/__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap
server/sonar-web/src/main/js/components/tutorials/gitlabci/commands/PipeCommand.tsx

index e70bf7303d5a9de5efe9c50789106ab8ffbba151..6d812c80298da2ed50dab29608cc3708102d658c 100644 (file)
@@ -3,7 +3,7 @@
 exports[`should follow and complete all steps: .NET: gitlab-ci.yml 1`] = `
 "stages:
     - sonarqube-check
-    - vulnerability-report
+    - sonarqube-vulnerability-report
 
 sonarqube-check:
   stage: sonarqube-check
@@ -30,8 +30,8 @@ sonarqube-check:
     - main
     - develop
 
-vulnerability-report:
-  stage: vulnerability-report
+sonarqube-vulnerability-report:
+  stage: sonarqube-vulnerability-report
   script:
     - 'curl -u "\${SONAR_TOKEN}:" "\${SONAR_HOST_URL}/api/issues/gitlab_sast_export?projectKey=my-project&branch=\${CI_COMMIT_BRANCH}&pullRequest=\${CI_MERGE_REQUEST_IID}" -o gl-sast-sonar-report.json'
   allow_failure: true
@@ -52,7 +52,7 @@ vulnerability-report:
 exports[`should follow and complete all steps: Gradle: gitlab-ci.yml 1`] = `
 "stages:
     - sonarqube-check
-    - vulnerability-report
+    - sonarqube-vulnerability-report
 
 sonarqube-check:
   stage: sonarqube-check
@@ -72,8 +72,8 @@ sonarqube-check:
     - main
     - develop
 
-vulnerability-report:
-  stage: vulnerability-report
+sonarqube-vulnerability-report:
+  stage: sonarqube-vulnerability-report
   script:
     - 'curl -u "\${SONAR_TOKEN}:" "\${SONAR_HOST_URL}/api/issues/gitlab_sast_export?projectKey=my-project&branch=\${CI_COMMIT_BRANCH}&pullRequest=\${CI_MERGE_REQUEST_IID}" -o gl-sast-sonar-report.json'
   allow_failure: true
@@ -122,7 +122,7 @@ sonar {
 exports[`should follow and complete all steps: Maven: gitlab-ci.yml 1`] = `
 "stages:
     - sonarqube-check
-    - vulnerability-report
+    - sonarqube-vulnerability-report
 
 sonarqube-check:
   stage: sonarqube-check
@@ -143,8 +143,8 @@ sonarqube-check:
     - main
     - develop
 
-vulnerability-report:
-  stage: vulnerability-report
+sonarqube-vulnerability-report:
+  stage: sonarqube-vulnerability-report
   script:
     - 'curl -u "\${SONAR_TOKEN}:" "\${SONAR_HOST_URL}/api/issues/gitlab_sast_export?projectKey=my-project&branch=\${CI_COMMIT_BRANCH}&pullRequest=\${CI_MERGE_REQUEST_IID}" -o gl-sast-sonar-report.json'
   allow_failure: true
@@ -173,7 +173,7 @@ exports[`should follow and complete all steps: Maven: pom.xml 1`] = `
 exports[`should follow and complete all steps: Other: gitlab-ci.yml 1`] = `
 "stages:
     - sonarqube-check
-    - vulnerability-report
+    - sonarqube-vulnerability-report
 
 sonarqube-check:
   stage: sonarqube-check
@@ -196,8 +196,8 @@ sonarqube-check:
     - main
     - develop
 
-vulnerability-report:
-  stage: vulnerability-report
+sonarqube-vulnerability-report:
+  stage: sonarqube-vulnerability-report
   script:
     - 'curl -u "\${SONAR_TOKEN}:" "\${SONAR_HOST_URL}/api/issues/gitlab_sast_export?projectKey=my-project&branch=\${CI_COMMIT_BRANCH}&pullRequest=\${CI_MERGE_REQUEST_IID}" -o gl-sast-sonar-report.json'
   allow_failure: true
index b47321d779bd2e7647a373a7c2f9bfbbad6909c4..542818a2f354560d937bd72703d0d810c46807a8 100644 (file)
@@ -64,7 +64,7 @@ export default function PipeCommand(props: PipeCommandProps) {
 
   const command = `stages:
     - sonarqube-check
-    - vulnerability-report
+    - sonarqube-vulnerability-report
 
 sonarqube-check:
   stage: sonarqube-check
@@ -84,8 +84,8 @@ sonarqube-check:
     - main
     - develop
 
-vulnerability-report:
-  stage: vulnerability-report
+sonarqube-vulnerability-report:
+  stage: sonarqube-vulnerability-report
   script:
     - 'curl -u "\${SONAR_TOKEN}:" "\${SONAR_HOST_URL}/api/issues/gitlab_sast_export?projectKey=${projectKey}&branch=\${CI_COMMIT_BRANCH}&pullRequest=\${CI_MERGE_REQUEST_IID}" -o gl-sast-sonar-report.json'
   allow_failure: true