Code Review
/
ci-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
SMO-TEIV: Add jenkins jobs (maven, docker, sonar)
[ci-management.git]
/
jjb
/
scp-ric-app-kpimon
/
scp-ric-app-kpimon.yaml
diff --git
a/jjb/scp-ric-app-kpimon/scp-ric-app-kpimon.yaml
b/jjb/scp-ric-app-kpimon/scp-ric-app-kpimon.yaml
index
3747271
..
1bec030
100644
(file)
--- a/
jjb/scp-ric-app-kpimon/scp-ric-app-kpimon.yaml
+++ b/
jjb/scp-ric-app-kpimon/scp-ric-app-kpimon.yaml
@@
-5,8
+5,7
@@
views:
- project-view
views:
- project-view
-- _kpimon_common: &kpimon_common
- # values apply to all projects
+- _kpimon_common: &kpimon_common # values apply to all projects
name: kpimon-common
# git repo
project: scp/ric-app/kpimon
name: kpimon-common
# git repo
project: scp/ric-app/kpimon
@@
-15,34
+14,26
@@
# maven settings file has docker credentials
mvn-settings: scp-ric-app-kpimon-settings
# maven settings file has docker credentials
mvn-settings: scp-ric-app-kpimon-settings
-# verify INFO.yaml changes
-- project:
- <<: *kpimon_common
- name: scp-ric-app-kpimon-verify
- build-node: centos7-builder-1c-1g
- jobs:
- - gerrit-info-yaml-verify
-
# create docker image when source changes
- project:
<<: *kpimon_common
# also used as image name
name: scp-ric-app-kpimon
# image name
# create docker image when source changes
- project:
<<: *kpimon_common
# also used as image name
name: scp-ric-app-kpimon
# image name
- docker-name:
'o-ran-sc/{name}'
+ docker-name:
"o-ran-sc/{name}"
# source type of image tag
container-tag-method: yaml-file
# use host network
# source type of image tag
container-tag-method: yaml-file
# use host network
- docker-build-args:
'--network=host'
+ docker-build-args:
"--network=host"
# trigger on any change other than a file in ./docs
gerrit_trigger_file_paths:
# trigger on any change other than a file in ./docs
gerrit_trigger_file_paths:
-
- compare-type: REG_EXP
-
pattern: '^((?!docs/|\/COMMIT_MSG).)*$'
+ - compare-type: REG_EXP
+ pattern: '^((?!docs/|\/COMMIT_MSG).)*$'
jobs:
jobs:
- - '{project-name}-gerrit-docker-jobs'
+ - "{project-name}-gerrit-docker-jobs"
stream:
stream:
-
- master:
-
branch: master
+ - master:
+ branch: master
# push nexus image from staging to release
- project:
# push nexus image from staging to release
- project:
@@
-52,4
+43,4
@@
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
- -
'{project-name}-gerrit-release-jobs'
+ -
"{project-name}-gerrit-release-jobs"