CI: Deprecate gerrit-tox-verify Jenkins jobs
[ci-management.git] / jjb / aiml-fw-athp-sdk-feature-store / aiml-fw-athp-sdk-feature-store.yaml
index e30c1c5..18e4db5 100644 (file)
@@ -5,11 +5,35 @@
     views:
       - project-view
 
-- project:
-    name: aiml-fw-athp-sdk-feature-store-info
+- _aiml_fssdk_docker_common:
+    &aiml_fssdk_docker_common # values apply to all training manager projects
+    name: aiml-fw-athp-sdk-feature-store-docker-common
+    # git repo
     project: aiml-fw/athp/sdk/feature-store
+    # jenkins job name prefix
     project-name: aiml-fw-athp-sdk-feature-store
-    build-node: centos7-builder-1c-1g
-    branch: master
+    # maven settings file has docker credentials
+    mvn-settings: aiml-fw-athp-sdk-feature-store-settings
+
+- project:
+    <<: *aiml_fssdk_docker_common
+    name: aiml-fw-athp-sdk-feature-store-sonarqube
+    python-version: python3
+    tox-dir: "."
+    # the install script assumes an ubuntu image
+    build-node: ubuntu1804-builder-2c-2g
+    # do not trigger on changes in docs, releases
+    gerrit_trigger_file_paths:
+      - compare-type: REG_EXP
+        pattern: "featurestoresdk/.*"
+    sonar-project-file: ""
+    sonar-properties: |
+      sonar.login={sonarcloud_api_token}
+      sonar.projectKey={sonarcloud_project_organization}_{project-name}
+      sonar.projectName={project-name}
+      sonar.organization={sonarcloud_project_organization}
+      sonar.build.sourceEncoding=UTF-8
+      sonar.sources=featurestoresdk
+      sonar.python.coverage.reportPaths=coverage.xml
     jobs:
-      - gerrit-info-yaml-verify
\ No newline at end of file
+      - gerrit-tox-sonarqube