Jenkins jjb setup for scp-oam-modeling
for mvn builds
Issue-ID: OAM-91
Signed-off-by: herbert <herbert.eiselt@highstreet-technologies.com>
Change-Id: If64cbd1e33624d29af32b51cdac0ba21cceaea50
Signed-off-by: herbert <herbert.eiselt@highstreet-technologies.com>
diff --git a/jjb/scp-oam-modeling/scp-oam-modeling.yaml b/jjb/scp-oam-modeling/scp-oam-modeling.yaml
index c0efc34..cf9f392 100644
--- a/jjb/scp-oam-modeling/scp-oam-modeling.yaml
+++ b/jjb/scp-oam-modeling/scp-oam-modeling.yaml
@@ -1,8 +1,62 @@
---
- project:
+ name: scp-oam-modeling-project-view
+ project-name: scp-oam-modeling
+ views:
+ - project-view
+
+- project:
name: scp-oam-modeling-info
project: scp/oam/modeling
project-name: scp-oam-modeling
build-node: centos7-builder-1c-1g
jobs:
- gerrit-info-yaml-verify
+
+- scp_oam_modeling_features_common: &scp_oam_modeling_features_common
+ # project contains model information for nonrtric-o1-controller features
+ name: scp-oam-modeling-features-common
+ project: scp/oam/modeling
+ project-name: scp-oam-modeling-features
+ mvn-settings: scp-oam-modeling-settings
+ java-version: openjdk8
+ maven-version: mvn35
+ mvn-opts: '-Xmx3072m -XX:MaxPermSize=1024m'
+ mvn-params: '-f features'
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: 'features/.*'
+
+- project:
+ <<: *scp_oam_modeling_features_common
+ name: scp-oam-modeling-features
+ build-node: ubuntu1804-builder-4c-4g
+ jobs:
+ - gerrit-maven-verify
+ - gerrit-maven-merge
+ - gerrit-maven-stage
+ - gerrit-maven-clm
+ stream:
+ - 'master':
+ branch: 'master'
+
+- project:
+ <<: *scp_oam_modeling_features_common
+ name: scp-oam-modeling-features-sonar
+ sonarcloud: true
+ sonarcloud-api-token: '{sonarcloud_api_token}'
+ sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
+ sonarcloud-project-organization: '{sonarcloud_project_organization}'
+ build-node: ubuntu1604-builder-4c-4g
+ jobs:
+ - gerrit-maven-sonar
+
+- project:
+ name: scp-oam-modeling-release
+ project-name: scp-oam-modeling
+ project: scp/oam/modeling
+ mvn-settings: scp-oam-modeling-settings
+ build-node: centos7-docker-2c-8g
+ jobs:
+ - '{project-name}-gerrit-release-jobs'
+