From 86cf880d5df8f7e6f49678a348abff24ee3fe3e4 Mon Sep 17 00:00:00 2001 From: "Lott, Christopher (cl778h)" Date: Wed, 5 Jun 2019 07:29:47 -0400 Subject: [PATCH] Add Jenkins verify job for common logging library Only need verify, not merge, because no image is pushed. Signed-off-by: Lott, Christopher (cl778h) Change-Id: I83b3496a1190d804d9e73040ee69ef573a12c07a --- jjb/com-log/com-log.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 jjb/com-log/com-log.yaml diff --git a/jjb/com-log/com-log.yaml b/jjb/com-log/com-log.yaml new file mode 100644 index 00000000..5b9f9cfc --- /dev/null +++ b/jjb/com-log/com-log.yaml @@ -0,0 +1,40 @@ +--- +- project: + name: com-log-project-view + project-name: com-log + views: + - project-view + +- log_docker_common: &log_docker_common + # values apply to all RIC docker-build projects. + # factored out in case log needs multiple projects. + # use a specific name to prevent reuse attempts + # bcos anchors don't cross document boundaries. + name: log-docker-common + build-node: ubuntu1804-docker-4c-4g + # 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 + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # source of docker tag + docker-use-params-from: yaml-file-params + stream: + - master: + branch: master + +- project: + name: com-log + # git repo + project: com/log + # jenkins job name prefix + project-name: '{name}' + # image name + docker-name: '{name}' + # maven settings file has docker credentials + mvn-settings: com-log-settings + jobs: + # verify only; no merge bcos no image is pushed + - gerrit-docker-verify + <<: *log_docker_common -- 2.16.6