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
Add jobs for ric-app/bouncer
[ci-management.git]
/
jjb
/
portal-ric-dashboard
/
portal-ric-dashboard.yaml
diff --git
a/jjb/portal-ric-dashboard/portal-ric-dashboard.yaml
b/jjb/portal-ric-dashboard/portal-ric-dashboard.yaml
index
7027048
..
83c3945
100644
(file)
--- a/
jjb/portal-ric-dashboard/portal-ric-dashboard.yaml
+++ b/
jjb/portal-ric-dashboard/portal-ric-dashboard.yaml
@@
-9,7
+9,7
@@
name: portal-ric-dashboard-info
project: portal/ric-dashboard
project-name: portal-ric-dashboard
name: portal-ric-dashboard-info
project: portal/ric-dashboard
project-name: portal-ric-dashboard
- build-node: centos
7
-builder-1c-1g
+ build-node: centos
8
-builder-1c-1g
jobs:
- gerrit-info-yaml-verify
jobs:
- gerrit-info-yaml-verify
@@
-25,10
+25,14
@@
# defaults.yaml value is NOT used due to value set in lf-maven-jobs.yaml
java-version: openjdk11
# defaults.yaml value is NOT used due to value set in lf-maven-jobs.yaml
java-version: openjdk11
+# build docker images from code
- project:
<<: *portal_ric_dashboard_common
name: portal-ric-dashboard-project
- project:
<<: *portal_ric_dashboard_common
name: portal-ric-dashboard-project
- mvn-params: -Dbuild.number=${{BUILD_NUMBER}}
+ mvn-params: -f dashboard -Dbuild.number=${{BUILD_NUMBER}}
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: 'dashboard/.*'
jobs:
- gerrit-maven-docker-verify
- gerrit-maven-docker-merge
jobs:
- gerrit-maven-docker-verify
- gerrit-maven-docker-merge
@@
-39,21
+43,22
@@
- master:
branch: master
- master:
branch: master
+# analyze code periodically
- project:
<<: *portal_ric_dashboard_common
name: portal-ric-dashboard-clm
- project:
<<: *portal_ric_dashboard_common
name: portal-ric-dashboard-clm
- mvn-goals: test
- branch: master
+ # template goal install builds docker image unnecessarily
+ mvn-params: -f dashboard -Ddocker.skip=true
nexus-iq-namespace: 'oran-'
jobs:
- gerrit-maven-clm
nexus-iq-namespace: 'oran-'
jobs:
- gerrit-maven-clm
+# report test coverage periodically
- project:
<<: *portal_ric_dashboard_common
name: portal-ric-dashboard-sonar
- project:
<<: *portal_ric_dashboard_common
name: portal-ric-dashboard-sonar
- branch: master
- # template goal install builds image which is not needed
- mvn-params: -Ddocker.skip=true
+ # template goal install builds docker image unnecessarily
+ mvn-params: -f dashboard -Ddocker.skip=true
sonarcloud: true
sonarcloud-api-token: '{sonarcloud_api_token}'
sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
sonarcloud: true
sonarcloud-api-token: '{sonarcloud_api_token}'
sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
@@
-61,10
+66,10
@@
jobs:
- gerrit-maven-sonar
jobs:
- gerrit-maven-sonar
+# promote container images to release registry
- project:
<<: *portal_ric_dashboard_common
name: portal-ric-dashboard-release
- project:
<<: *portal_ric_dashboard_common
name: portal-ric-dashboard-release
- branch: master
# maven release requires sigul which requires centos
# container release requires docker
build-node: centos7-docker-2c-8g
# maven release requires sigul which requires centos
# container release requires docker
build-node: centos7-docker-2c-8g