[SDC] Execute UI and API integration tests separately to speed up verify feedback
[ci-management.git] / jjb / sdc / sdc-csit.yaml
index 4f4a0fa..fcc43dc 100644 (file)
@@ -2,20 +2,33 @@
 - project:
     name: sdc-csit
     jobs:
-      - "{project-name}-{stream}-verify-java":
-          # this build is integration test only - CSIT (Verify 2/2)
+      - "{project-name}-{stream}-{subproject}-verify-java":
+          # this build is integration test only - CSIT (Verify 2/3)
+          subproject: ui
           mvn-goals: clean install
           # yamllint disable-line rule:line-length
-          mvn-params: "-Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/ -Ddocker.skip.push=true -P docker,all-for-integration-tests-only,integration-tests-with-helm-validator"
+          mvn-params: "-Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/ -Ddocker.skip.push=true -P docker,all-for-integration-tests-only,integration-tests-ui-with-helm-validator"
           build-node: "ubuntu1804-docker-8c-16g"
           archive-artifacts: >
             **/*.log
             **/hs_err_*.log
             **/target/**/feature.xml
             **/target/failsafe-reports/failsafe-summary.xml
-            integration-tests/target/ExtentReport/API/*.html
             integration-tests/target/ExtentReport/UI/*.html
             integration-tests/target/ExtentReport/UI/screenshots/*.png
+      - "{project-name}-{stream}-{subproject}-verify-java":
+          # this build is integration test only - CSIT (Verify 3/3)
+          subproject: api
+          mvn-goals: clean install
+          # yamllint disable-line rule:line-length
+          mvn-params: "-Dnpm.registry=https://nexus3.onap.org/repository/npm.public/npm/-/ -Ddocker.skip.push=true -P docker,all-for-integration-tests-only,integration-tests-api-with-helm-validator"
+          build-node: "ubuntu1804-docker-8c-16g"
+          archive-artifacts: >
+            **/*.log
+            **/hs_err_*.log
+            **/target/**/feature.xml
+            **/target/failsafe-reports/failsafe-summary.xml
+            integration-tests/target/ExtentReport/API/*.html
     project-name: "sdc-integration-tests"
     # project name in gerrit
     project: "sdc"