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 <lji@research.att.com>
diff --git a/jjb/it-otf/it-otf.yaml b/jjb/it-otf/it-otf.yaml
index 4c8419a..e228a6b 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}/.*'