Define jenkins jobs for Python package com/pylog 12/1312/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Fri, 1 Nov 2019 13:04:33 +0000 (09:04 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Fri, 1 Nov 2019 13:04:33 +0000 (09:04 -0400)
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Ie09610dcf2dc4fc93cb1be1ac8ec8d6c457b4ec8

jjb/com-pylog/com-pylog.yaml [new file with mode: 0644]

diff --git a/jjb/com-pylog/com-pylog.yaml b/jjb/com-pylog/com-pylog.yaml
new file mode 100644 (file)
index 0000000..bcd9659
--- /dev/null
@@ -0,0 +1,42 @@
+---
+- project:
+    name: com-pylog-project-view
+    project-name: com-pylog
+    views:
+      - project-view
+
+- project:
+    name: com-pylog-info
+    project: com/pylog
+    project-name: com-pylog
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
+
+- pylog_common: &pylog_common
+    name: pylog-common
+    # git repo
+    project: com/pylog
+    # jenkins job name prefix
+    project-name: com-pylog
+    # maven settings file has docker credentials
+    mvn-settings: com-pylog-settings
+    # sigul requires centos
+    build-node: centos7-builder-1c-1g
+
+# build package and publish to test.pypi.org
+- project:
+    <<: *pylog_common
+    name: pylog-pypi
+    stream:
+      - master:
+          branch: master
+    jobs:
+      - '{project-name}-gerrit-pypi-jobs'
+
+# promote package from test.pypi.org to pypi.org
+- project:
+    <<: *pylog_common
+    name: pylog-pypi-release
+    jobs:
+      - '{project-name}-gerrit-pypi-release-jobs'