blob: b5a5eb68e95c82714f591425991a0deb463f4db7 [file] [log] [blame]
---
- project:
name: ric-app-hw-rust-project-view
project-name: ric-app-hw-rust
views:
- project-view
- _hw-rust_common: &hw-rust_common # values apply to all projects
name: hw-rust-common
# git repo
project: ric-app/hw-rust
# jenkins prefix
project-name: ric-app-hw-rust
# maven settings file has docker credentials
mvn-settings: ric-app-hw-rust-settings
# create docker image when source changes
- project:
<<: *hw-rust_common
name: ric-app-hw-rust
# image name
docker-name: "o-ran-sc/{name}"
# source of docker tag
container-tag-method: yaml-file
# use host network to clone from our gerrit
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:
<<: *hw-rust_common
name: ric-app-hw-rust-release
# maven release requires sigul which requires centos
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
- "{project-name}-gerrit-release-jobs"