Merge "Add self-release jobs to portal/ric-dashboard"
diff --git a/jjb/ric-app-ml/ric-app-ml.yaml b/jjb/ric-app-ml/ric-app-ml.yaml
new file mode 100644
index 0000000..88f4481
--- /dev/null
+++ b/jjb/ric-app-ml/ric-app-ml.yaml
@@ -0,0 +1,44 @@
+---
+- project:
+    name: ric-app-ml-project-view
+    project-name: ric-app-ml
+    views:
+      - project-view
+
+- project:
+    name: ric-app-ml-info
+    project: ric-app/ml
+    project-name: ric-app-ml
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
+
+- ric_app_ml_docker_common: &ric_app_ml_docker_common
+    # values apply to all ml docker projects
+    name: ric-app-ml-docker-common
+    # git repo
+    project: ric-app/ml
+    # jenkins job name prefix
+    project-name: ric-app-ml
+    # maven settings file has docker credentials
+    mvn-settings: ric-app-ml-settings
+
+- project:
+    <<: *ric_app_ml_docker_common
+    name: ric-app-ml
+    # image name
+    docker-name: '{name}'
+    # root of docker build
+    docker-root: AcumosXappAdapter
+    # source of docker tag
+    container-tag-method: yaml-file
+    # use host network to clone from our gerrit
+    docker-build-args: '--network=host'
+    gerrit_trigger_file_paths:
+      - compare-type: REG_EXP
+        pattern: '{docker-root}/.*'
+    jobs:
+      - '{project-name}-gerrit-docker-jobs'
+    stream:
+      - master:
+          branch: master