X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fric-plt-lib-rmr%2Fric-plt-lib-rmr.yaml;h=d1f978a82cc36f321d6cec47cb8c6bda3c324e15;hb=refs%2Fchanges%2F46%2F446%2F1;hp=ae2cf0f0677d377f9259fa05ad874ff007f4324b;hpb=f14966fb2dc27dfc3906d7f4a49dc17ef25bd087;p=ci-management.git diff --git a/jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml b/jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml index ae2cf0f0..d1f978a8 100644 --- a/jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml +++ b/jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml @@ -9,17 +9,13 @@ # values apply to all RIC docker-build projects. # factored out in case rmr needs multiple projects. # use a specific name to prevent reuse attempts - # bcos anchors don't cross document boundaries. + # because anchors don't cross document boundaries. name: rmr-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 + # push to the staging repo because all builds are RCs + container-push-registry: nexus3.o-ran-sc.org:10004 stream: - master: branch: master @@ -30,11 +26,27 @@ project: ric-plt/lib/rmr # jenkins job name prefix project-name: '{name}' + # use host network to clone from our gerrit + docker-build-args: '--network=host -f ci/Dockerfile' # image name docker-name: '{name}' + # image tag; use a fixed value + container-tag-method: latest # maven settings file has docker credentials mvn-settings: ric-plt-lib-rmr-settings + # copy deb to Jenkins filesystem + post_docker_build_script: !include-raw-escape: + - shell/copy-rmr-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 <<: *rmr_docker_common + +- project: + name: ric-plt-lib-rmr-info + project: ric-plt/lib/rmr + project-name: ric-plt-lib-rmr + build-node: centos7-builder-1c-1g + + jobs: + - gerrit-info-yaml-verify