X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fportal-nonrtric-controlpanel%2Fportal-nonrtric-controlpanel.yaml;h=4912b56dd0ee70198ccf8dfc1ab2fcd5267addbe;hb=a5f910f6c877000699a40af29124c5b2ee0f54ce;hp=0181138379f24ce4b9b504ea1e18f106916d188d;hpb=3bcdb1f34221f271df9da070c693efabba5ac004;p=ci-management.git diff --git a/jjb/portal-nonrtric-controlpanel/portal-nonrtric-controlpanel.yaml b/jjb/portal-nonrtric-controlpanel/portal-nonrtric-controlpanel.yaml index 01811383..4912b56d 100644 --- a/jjb/portal-nonrtric-controlpanel/portal-nonrtric-controlpanel.yaml +++ b/jjb/portal-nonrtric-controlpanel/portal-nonrtric-controlpanel.yaml @@ -5,16 +5,8 @@ views: - project-view -- project: - name: portal-nonrtric-controlpanel-info - project: portal/nonrtric-controlpanel - project-name: portal-nonrtric-controlpanel - build-node: centos7-builder-1c-1g - jobs: - - gerrit-info-yaml-verify - -- _portal_nonrtric_controlpanel_common: &portal_nonrtric_controlpanel_common - # values apply to all projects here +- _portal_nonrtric_controlpanel_common: + &portal_nonrtric_controlpanel_common # values apply to all projects here name: portal-nonrtric-controlpanel-common # git repo project: portal/nonrtric-controlpanel @@ -32,19 +24,19 @@ <<: *portal_nonrtric_controlpanel_common name: nonrtric-controlpanel-frontend # image name - docker-name: 'o-ran-sc/nonrtric-controlpanel' + docker-name: "o-ran-sc/nonrtric-controlpanel" # get tag from YAML container-tag-method: yaml-file # use host network to clone from our gerrit - docker-build-args: '--network=host' + docker-build-args: "--network=host" # Directory with Dockerfile - docker-root: 'webapp-frontend' + docker-root: "webapp-frontend" # Limit build trigger to appropriate files gerrit_trigger_file_paths: - compare-type: REG_EXP - pattern: 'webapp-frontend/.*' + pattern: "webapp-frontend/.*" - compare-type: REG_EXP - pattern: 'docker-compose/.*' + pattern: "docker-compose/.*" build-node: ubuntu1804-docker-4c-4g # Includes verify and merge jobs jobs: @@ -55,6 +47,10 @@ - g-release: java-version: openjdk11 branch: g-release + - h-release: + branch: h-release + - i-release: + branch: i-release - project: <<: *portal_nonrtric_controlpanel_common @@ -63,20 +59,20 @@ # container release requires docker build-node: centos7-docker-2c-8g jobs: - - '{project-name}-gerrit-release-jobs' + - "{project-name}-gerrit-release-jobs" - project: <<: *portal_nonrtric_controlpanel_common name: portal-nonrtric-controlpanel-gateway-sonar # template goal install builds docker image unnecessarily - mvn-params: '-Ddocker.skip=true -f nonrtric-gateway' + mvn-params: "-Ddocker.skip=true -f nonrtric-gateway" gerrit_trigger_file_paths: - compare-type: REG_EXP - pattern: 'nonrtric-gateway/.*' + pattern: "nonrtric-gateway/.*" sonarcloud: true - sonarcloud-api-token: '{sonarcloud_api_token}' - sonarcloud-project-key: '{project-name}-gateway' - sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: "{sonarcloud_api_token}" + sonarcloud-project-key: "{project-name}-gateway" + sonarcloud-project-organization: "{sonarcloud_project_organization}" jobs: - gerrit-maven-sonar @@ -85,7 +81,7 @@ name: portal-nonrtric-controlpanel-frontend-sonar gerrit_trigger_file_paths: - compare-type: REG_EXP - pattern: 'webapp-frontend/.*' + pattern: "webapp-frontend/.*" build-node: ubuntu1804-docker-4c-4g java-version: openjdk11 sonarcloud: true @@ -96,11 +92,11 @@ - project: <<: *portal_nonrtric_controlpanel_common name: portal-nonrtric-controlpanel-gateway - project-name: '{name}' - mvn-params: '-f nonrtric-gateway' + project-name: "{name}" + mvn-params: "-f nonrtric-gateway" gerrit_trigger_file_paths: - compare-type: REG_EXP - pattern: 'nonrtric-gateway/.*' + pattern: "nonrtric-gateway/.*" build-node: ubuntu1804-builder-4c-4g jobs: - gerrit-maven-verify @@ -113,17 +109,21 @@ - g-release: java-version: openjdk11 branch: g-release + - h-release: + branch: h-release + - i-release: + branch: i-release - project: <<: *portal_nonrtric_controlpanel_common name: portal-nonrtric-controlpanel-gateway-docker - project-name: '{name}' - mvn-params: '-P docker -f nonrtric-gateway' + project-name: "{name}" + mvn-params: "-P docker -f nonrtric-gateway" gerrit_trigger_file_paths: - compare-type: REG_EXP - pattern: 'nonrtric-gateway/.*' + pattern: "nonrtric-gateway/.*" - compare-type: REG_EXP - pattern: 'docker-compose/.*' + pattern: "docker-compose/.*" build-node: ubuntu1804-docker-4c-4g jobs: - gerrit-maven-docker-verify @@ -135,3 +135,7 @@ - g-release: java-version: openjdk11 branch: g-release + - h-release: + branch: h-release + - i-release: + branch: i-release