Refactor package-export script for reuse
[ci-management.git] / jjb / com-log / com-log.yaml
index 10936a9..5465a47 100644 (file)
@@ -15,7 +15,7 @@
     # pull from the public mirror + releases registry
     container-public-registry: nexus3.o-ran-sc.org:10001
     # push to the staging repo bcos all builds are RCs
-    container-push-registry:  nexus3.o-ran-sc.org:10004
+    container-push-registry: nexus3.o-ran-sc.org:10004
     stream:
       - master:
           branch: master
     container-tag-method: latest
     # maven settings file has docker credentials
     mvn-settings: com-log-settings
+    # copy packages to Jenkins filesystem
+    post_docker_build_script: !include-raw-escape:
+      - ../shell/export-packages.sh
     jobs:
-      # verify only; no merge bcos no image is pushed
+      # TODO: define a merge template to push package, not image
       - gerrit-docker-verify
     <<: *log_docker_common
+
+- project:
+    name: com-log-info
+    project: com/log
+    project-name: com-log
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify