blob: 4b3d4eb69c500246e984902400f705f31cd79c6c [file] [log] [blame]
---
- project:
name: ric-app-ts-project-view
project-name: ric-app-ts
views:
- project-view
- _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
# 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
# push nexus image from staging to release
- project:
<<: *ts_common
name: ric-app-ts-release
# maven release requires sigul which requires centos
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
- "{project-name}-gerrit-release-jobs"