blob: c1a9e4c73dc81125338c6a23beb842e6cb5088cd [file] [log] [blame]
LF Jenkins CI3824aee2021-12-02 19:16:15 +00001---
2- project:
3 name: ric-app-rc-project-view
4 project-name: ric-app-rc
5 views:
6 - project-view
7
Anil Belur439502c2023-05-07 12:39:38 +10008- _rc_common: &rc_common # values apply to all projects
Nitin Gupta (Bangalore)d9cf0ab2021-12-30 20:24:21 +05309 name: rc-common
10 # git repo
LF Jenkins CI3824aee2021-12-02 19:16:15 +000011 project: ric-app/rc
Nitin Gupta (Bangalore)d9cf0ab2021-12-30 20:24:21 +053012 # jenkins prefix
LF Jenkins CI3824aee2021-12-02 19:16:15 +000013 project-name: ric-app-rc
Nitin Gupta (Bangalore)d9cf0ab2021-12-30 20:24:21 +053014 # maven settings file has docker credentials
15 mvn-settings: ric-app-rc-settings
16
Nitin Gupta (Bangalore)d9cf0ab2021-12-30 20:24:21 +053017# create docker image when source changes
18- project:
19 <<: *rc_common
20 # also used as image name
21 name: ric-app-rc
22 # image name
Anil Belur439502c2023-05-07 12:39:38 +100023 docker-name: "o-ran-sc/{name}"
Nitin Gupta (Bangalore)d9cf0ab2021-12-30 20:24:21 +053024 # source type of image tag
25 container-tag-method: yaml-file
26 # use host network
Anil Belur439502c2023-05-07 12:39:38 +100027 docker-build-args: "--network=host"
Nitin Gupta (Bangalore)d9cf0ab2021-12-30 20:24:21 +053028 # trigger on any change other than a file in ./docs
29 gerrit_trigger_file_paths:
Anil Belur439502c2023-05-07 12:39:38 +100030 - compare-type: REG_EXP
31 pattern: '^((?!docs/|\/COMMIT_MSG).)*$'
Nitin Gupta (Bangalore)d9cf0ab2021-12-30 20:24:21 +053032 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100033 - "{project-name}-gerrit-docker-jobs"
Nitin Gupta (Bangalore)d9cf0ab2021-12-30 20:24:21 +053034 stream:
Anil Belur439502c2023-05-07 12:39:38 +100035 - master:
36 branch: master
Nitin Gupta (Bangalore)d9cf0ab2021-12-30 20:24:21 +053037
38# push nexus image from staging to release
39- project:
40 <<: *rc_common
41 name: ric-app-rc-release
42 # maven release requires sigul which requires centos
43 # container release requires docker
44 build-node: centos7-docker-2c-8g
45 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100046 - "{project-name}-gerrit-release-jobs"