From b1ea0ee30c6137e5a95e186e071ac166018edac1 Mon Sep 17 00:00:00 2001 From: "E. Scott Daniels" Date: Thu, 30 Apr 2020 12:05:40 -0400 Subject: [PATCH] Add jobs to build a docker image for ric-app/ts New verify and merge jobs for the traffic steering xApplication Issue-ID: RIC-349 Change-Id: Ie23659469b57cf7d1c08ee6ee629f1910930e53b Signed-off-by: E. Scott Daniels Signed-off-by: Lott, Christopher (cl778h) --- jjb/ric-app-ts/ric-app-ts.yaml | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/jjb/ric-app-ts/ric-app-ts.yaml b/jjb/ric-app-ts/ric-app-ts.yaml index 0838d4b5..f6d389d3 100644 --- a/jjb/ric-app-ts/ric-app-ts.yaml +++ b/jjb/ric-app-ts/ric-app-ts.yaml @@ -5,10 +5,41 @@ views: - project-view -- project: - name: ric-app-ts-info +- ts_common: &ts_common + # values apply to all projects + name: ts-common + # git repo project: ric-app/ts + # jenkins prefix project-name: ric-app-ts + # maven settings file has docker credentials + mvn-settings: ric-app-ts-settings + +# verify INFO.yaml changes +- project: + <<: *ts_common + name: ric-app-ts-verify build-node: centos7-builder-1c-1g jobs: - gerrit-info-yaml-verify + +# create docker image when source changes +- project: + <<: *ts_common + # also used as image name + name: ric-app-ts + # image name + docker-name: 'o-ran-sc/{name}' + # source type of image tag + container-tag-method: yaml-file + # use host network + docker-build-args: '--network=host' + # trigger on any change other than a file in ./docs + gerrit_trigger_file_paths: + - compare-type: REG_EXP + pattern: '^((?!docs/|\/COMMIT_MSG).)*$' + jobs: + - '{project-name}-gerrit-docker-jobs' + stream: + - master: + branch: master -- 2.16.6