From bcd1d2ca378233678334b03ec586258e7ecd1813 Mon Sep 17 00:00:00 2001 From: wrider Date: Mon, 11 Nov 2019 22:07:06 -0500 Subject: [PATCH] Add CI job for camunda and service-api Verified in sandbox: https://jenkins.o-ran-sc.org/sandbox/me/my-views/view/all/job/it-otf-service-api-docker-verify-master/2/ https://jenkins.o-ran-sc.org/sandbox/me/my-views/view/all/job/it-otf-camunda-docker-verify-master/2/ Change-Id: I061b53650b0a8463b387acb1d39b899c83fa30a9 Signed-off-by: wrider --- jjb/it-otf/it-otf.yaml | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/jjb/it-otf/it-otf.yaml b/jjb/it-otf/it-otf.yaml index 4c8419aa..e228a6b9 100644 --- a/jjb/it-otf/it-otf.yaml +++ b/jjb/it-otf/it-otf.yaml @@ -35,8 +35,6 @@ project: it/otf # source of docker tag container-tag-method: yaml-file - # use host network to clone from our gerrit - docker-build-args: '--network=host' # maven settings file has docker credentials mvn-settings: it-otf-settings jobs: @@ -134,3 +132,39 @@ gerrit_trigger_file_paths: - compare-type: REG_EXP pattern: '{docker-root}/.*' + +- project: + <<: *it_otf_common + name: it-otf-camunda + # jenkins job name prefix + project-name: '{name}' + # image name + docker-name: '{name}' + # start in parent directory with shared files + docker-root: otf-camunda + # dockerfile is in subdir of docker root + docker-build-args: '--network=host -f ./docker/Dockerfile' + # tag file is in subdir + container-tag-yaml-dir: '{docker-root}/docker' + # build only on relevant changes + gerrit_trigger_file_paths: + - compare-type: REG_EXP + pattern: '{docker-root}/.*' + +- project: + <<: *it_otf_common + name: it-otf-service-api + # jenkins job name prefix + project-name: '{name}' + # image name + docker-name: '{name}' + # start in parent directory with shared files + docker-root: otf-service-api + # dockerfile is in subdir of docker root + docker-build-args: '--network=host -f ./docker/Dockerfile' + # tag file is in subdir + container-tag-yaml-dir: '{docker-root}/docker' + # build only on relevant changes + gerrit_trigger_file_paths: + - compare-type: REG_EXP + pattern: '{docker-root}/.*' -- 2.16.6