Add Jenkins job def for o-du/phy 69/1769/1
authorwrider <lji@research.att.com>
Mon, 25 Nov 2019 19:16:55 +0000 (14:16 -0500)
committerwrider <lji@research.att.com>
Mon, 25 Nov 2019 19:19:06 +0000 (14:19 -0500)
Change-Id: I04352baae4724feb867b49091db2f77dce07db5c
Signed-off-by: wrider <lji@research.att.com>
jjb/o-du-phy/o-du-phy.yaml [new file with mode: 0644]

diff --git a/jjb/o-du-phy/o-du-phy.yaml b/jjb/o-du-phy/o-du-phy.yaml
new file mode 100644 (file)
index 0000000..118f5af
--- /dev/null
@@ -0,0 +1,44 @@
+---
+- project:
+    name: o-du-phy-project-view
+    project-name: o-du-phy
+    views:
+      - project-view
+
+- project:
+    name: o-du-phy-info
+    project: o-du/phy
+    project-name: o-du-phy
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
+
+- o_du_phy_common: &o_du_phy_common
+    # values apply to all o-du/phy docker projects
+    name: o-du-phy-docker-common
+    # git repo
+    project: o-du/phy
+    # jenkins job name prefix
+    project-name: o-du-phy
+    # maven settings file has docker credentials
+    mvn-settings: o-du-phy-settings
+
+# build and publish packages to PackageCloud.io
+- project:
+    <<: *o_du_phy_common
+    name: o-du-phy-package
+    # jenkins job name prefix
+    project-name: '{name}'
+    # image is not pushed, use trivial tag
+    container-tag-method: latest
+    # image name
+    docker-name: 'o-ran-sc/{name}'
+    # use host network for network resources
+    docker-build-args: '--network=host -f Dockerfile'
+    jobs:
+      - gerrit-docker-verify
+    #  - oran-gerrit-docker-ci-pc-merge
+    stream:
+      - master:
+          branch: master
+