CI: Use the tox-verify workflow to test all envs
[releng/global-jjb.git] / .jjb-test / lf-maven-jobs / maven-sonarcloud.yaml
index c3239a2..39acf4b 100644 (file)
@@ -12,7 +12,9 @@
     sonarcloud: true
     sonarcloud-project-key: KEY
     sonarcloud-project-organization: ORGANIZATION
-    sonarcloud-api-token: TOKEN
+    sonarcloud-api-token-cred-id: TOKEN
+    scan-dev-branch: false
+    sonarcloud-qualitygate-wait: false
 
 - project:
     name: example-sonarcloud-with-prescan-script
     sonarcloud: true
     sonarcloud-project-key: KEY
     sonarcloud-project-organization: ORGANIZATION
-    sonarcloud-api-token: TOKEN
+    sonarcloud-api-token-cred-id: TOKEN
     sonar-prescan-script: |
       echo "Run script at start of job."
+    scan-dev-branch: false
+    sonarcloud-qualitygate-wait: false
+
+- project:
+    name: example-sonarcloud-verify
+    jobs:
+      - gerrit-maven-sonar-verify
+
+    project: "sonarcloud"
+    project-name: "sonarcloud"
+    branch: "master"
+    mvn-settings: "sonarcloud-settings"
+    mvn-opts: "-Xmx1024m"
+    sonarcloud: true
+    sonarcloud-project-key: KEY
+    sonarcloud-project-organization: ORGANIZATION
+    sonarcloud-api-token-cred-id: TOKEN
+    scan-dev-branch: true
+    sonarcloud-qualitygate-wait: true