Add jjbs for dcaegen2 mod projects
* Distributor API
* Onboarding API
Change-Id: If08b2f5f4439b7ee2d3723c901266491430d36c8
Signed-off-by: Michael Hwang <mhwang@research.att.com>
Issue-ID: DCAEGEN2-1860
diff --git a/jjb/dcaegen2/dcaegen2-platform-mod-onboardingapi.yaml b/jjb/dcaegen2/dcaegen2-platform-mod-onboardingapi.yaml
new file mode 100644
index 0000000..ffe5640
--- /dev/null
+++ b/jjb/dcaegen2/dcaegen2-platform-mod-onboardingapi.yaml
@@ -0,0 +1,34 @@
+---
+# dcagen2_platform_common is defined in dcaegen2-platform-adapter.yaml
+
+- project:
+ <<: *dcaegen2_platform_common
+ name: dcaegen2-platform-mod-onboardingapi
+ # root of docker build
+ docker-root: mod/onboardingapi
+ # image name
+ docker-name: '{name}'
+ stream:
+ - master:
+ branch: master
+ jobs:
+ - '{project-name}-gerrit-docker-jobs'
+
+- project:
+ <<: *dcaegen2_platform_common
+ name: dcagen2-platform-mod-onboardingapi-verify
+ docker-root: mod/onboardingapi
+ stream:
+ - all:
+ branch: '*'
+ jobs:
+ - gerrit-tox-verify
+
+- project:
+ <<: *dcaegen2_platform_common
+ name: dcaegen2-platform-mod-onboardingapi-sonar
+ docker-root: mod/onboardingapi
+ branch: master
+ jobs:
+ - gerrit-tox-sonar
+ cron: '@daily'