summaryrefslogtreecommitdiffstats
path: root/jjb/sdc
diff options
context:
space:
mode:
authorChrisC <christophe.closset@intl.att.com>2021-02-24 12:57:18 +0100
committerChrisC <christophe.closset@intl.att.com>2021-02-24 20:00:39 +0100
commit1bb38c47e537d04a4d0b604e497cd51008694ed1 (patch)
tree8dc303a3e1ebb931c3517fb49ebe328067a07707 /jjb/sdc
parent2e3e553f3265ee1e17748842f798eac47a5f9ee0 (diff)
[SDC] Use default template for CSIT jobs
Revert from using integration templates for CSIT Use default verify-java template but keep split of jobs to save on running time Merge job is back to single job as we don't need // for merge Issue-ID: SDC-3465 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I84a62d66a4aea8f0854e1202984a689bb3f5c58f
Diffstat (limited to 'jjb/sdc')
-rw-r--r--jjb/sdc/sdc-csit.yaml45
-rw-r--r--jjb/sdc/sdc.yaml20
2 files changed, 22 insertions, 43 deletions
diff --git a/jjb/sdc/sdc-csit.yaml b/jjb/sdc/sdc-csit.yaml
index b943c9f3d..40cf78ca8 100644
--- a/jjb/sdc/sdc-csit.yaml
+++ b/jjb/sdc/sdc-csit.yaml
@@ -2,14 +2,11 @@
- project:
name: sdc-csit
jobs:
- - '{project-name}-review-verification-maven-{stream}':
- build-node: ubuntu1804-docker-8c-16g
- container-public-registry: 'nexus3.onap.org:10001'
- container-snapshot-registry: 'nexus3.onap.org:10003'
+ - '{project-name}-{stream}-verify-java':
+ # this build is integration test only - CSIT (Verify 2/2)
mvn-goals: clean install
mvn-params: '-Dnpm.registry=https://nexus3.onap.org/repository/npm.public/ -Ddocker.skip.push=true -P docker,all-for-integration-tests-only'
- maven-versions-plugin: true
- build-concurrent: true
+ build-node: 'ubuntu1804-docker-8c-16g'
archive-artifacts: >
**/*.log
**/hs_err_*.log
@@ -23,47 +20,13 @@
/tmp/sdc-integration-tests/SDC/ONBOARDING-BE/*.log
/tmp/sdc-integration-tests/SDC/SDC-BE/*.log
/tmp/sdc-integration-tests/SDC/SDC-FE/*.log
- - '{project-name}-merge-verification-maven-{stream}':
- build-node: ubuntu1804-docker-8c-16g
- container-public-registry: 'nexus3.onap.org:10001'
- container-snapshot-registry: 'nexus3.onap.org:10003'
- mvn-goals: clean install
- mvn-params: '-Dnpm.registry=https://nexus3.onap.org/repository/npm.public/ -Ddocker.skip.push=true -P docker,all-for-integration-tests-only'
- maven-versions-plugin: true
-
- project-name: 'sdc'
- recipients: 'christophe.closset@intl.att.com'
+ project-name: 'sdc-integration-tests'
# project name in gerrit
project: 'sdc'
stream:
- 'master':
branch: 'master'
- - 'guilin':
- branch: 'guilin'
java-version: openjdk11
mvn-version: 'mvn36'
mvn-settings: 'sdc-settings'
mvn-global-settings: global-settings
- robot-options: ''
- branch: 'master'
-
-#- project:
-# name: sdc-csit-arm64
-# jobs:
-# - '{project-name}-arm64-{stream}-verify-csit-{functionality}-testng'
-# - '{project-name}-arm64-{stream}-csit-{functionality}-testng'
-# project-name: 'sdc'
-# stream:
-# - 'master':
-# branch: 'master'
-# functionality:
-# - 'sanity':
-# trigger_jobs: '{project-name}-{stream}-sdc-merge-java'
-# - 'nightly':
-# trigger_jobs: '{project-name}-{stream}-docker-version-java-daily'
-# - 'uiSanity':
-# trigger_jobs: '{project-name}-{stream}-docker-version-java-daily'
-# robot-options: ''
-# branch: 'master'
-# html-dir: 'archives'
-# html-files: 'SDC_CI_Extent_Report.html'
diff --git a/jjb/sdc/sdc.yaml b/jjb/sdc/sdc.yaml
index de4ece0ab..1d814029b 100644
--- a/jjb/sdc/sdc.yaml
+++ b/jjb/sdc/sdc.yaml
@@ -28,13 +28,29 @@
project-name: 'sdc'
jobs:
- '{project-name}-{stream}-verify-java':
+ # this build is unit test only (Verify 1/2)
mvn-params: '-P skip-integration-tests -Dnpm.registry=https://nexus3.onap.org/repository/npm.public/'
build-node: 'ubuntu1804-docker-8c-8g'
- '{project-name}-{stream}-sdc-merge-java':
- build-node: 'ubuntu1804-docker-8c-8g'
+ build-node: 'ubuntu1804-docker-8c-16g'
docker-pom: 'pom.xml'
- mvn-profile: 'skip-integration-tests'
+ mvn-profile: 'docker'
mvn-params: '-Dnpm.registry=https://nexus3.onap.org/repository/npm.public/'
+ # running everything (unit tests and integration tests in a single job for merge, as we don't need // run
+ # for merge, but still saving integration tests results and report.
+ archive-artifacts: >
+ **/*.log
+ **/hs_err_*.log
+ **/target/**/feature.xml
+ **/target/failsafe-reports/failsafe-summary.xml
+ **/target/surefire-reports/*-output.txt
+ integration-tests/target/ExtentReport/API/*.html
+ integration-tests/target/ExtentReport/UI/*.html
+ integration-tests/target/ExtentReport/UI/screenshots/*.png
+ /tmp/sdc-integration-tests/*.log*
+ /tmp/sdc-integration-tests/SDC/ONBOARDING-BE/*.log
+ /tmp/sdc-integration-tests/SDC/SDC-BE/*.log
+ /tmp/sdc-integration-tests/SDC/SDC-FE/*.log
- gerrit-maven-stage:
build-timeout: 90
sign-artifacts: true