Initial JJB def for kpimon repo.
Change-Id: I409ff65a689d8beb932a808d3dbc45613856b360
Signed-off-by: wrider <lji@research.att.com>
diff --git a/jjb/ric-app-kpimon/ric-app-kpimon.yaml b/jjb/ric-app-kpimon/ric-app-kpimon.yaml
new file mode 100644
index 0000000..51f9ea8
--- /dev/null
+++ b/jjb/ric-app-kpimon/ric-app-kpimon.yaml
@@ -0,0 +1,49 @@
+---
+- project:
+ name: ric-app-kpimon-project-view
+ project-name: ric-app-kpimon
+ views:
+ - project-view
+
+- project:
+ name: ric-app-kpimon-info
+ project: ric-app/kpimon
+ project-name: ric-app-kpimon
+ build-node: centos7-builder-1c-1g
+ jobs:
+ - gerrit-info-yaml-verify
+
+- ric_app_kpimon_docker_common: &ric_app_kpimon_docker_common
+ # values apply to all kpimon docker projects
+ name: ric-app-kpimon-docker-common
+ # git repo
+ project: ric-app/kpimon
+ # jenkins job name prefix
+ project-name: ric-app-kpimon
+ # maven settings file has docker credentials
+ mvn-settings: ric-app-kpimon-settings
+
+- project:
+ <<: *ric_app_kpimon_docker_common
+ name: ric-app-kpimon
+ # image name
+ docker-name: 'o-ran-sc/{name}'
+ # source of docker tag
+ container-tag-method: yaml-file
+ # use host network to clone from our gerrit
+ docker-build-args: '--network=host'
+ jobs:
+ - '{project-name}-gerrit-docker-jobs'
+ stream:
+ - master:
+ branch: master
+
+- project:
+ <<: *ric_app_kpimon_docker_common
+ name: ric-app-kpimon-release
+ branch: master
+ # maven release requires sigul which requires centos
+ # container release requires docker
+ build-node: centos7-docker-2c-8g
+ jobs:
+ - '{project-name}-gerrit-release-jobs'