diff options
Diffstat (limited to 'jjb')
32 files changed, 266 insertions, 10 deletions
diff --git a/jjb/ccsdk/apps.yaml b/jjb/ccsdk/apps.yaml index ab202ed9c..c69c670e0 100644 --- a/jjb/ccsdk/apps.yaml +++ b/jjb/ccsdk/apps.yaml @@ -12,7 +12,6 @@ - gerrit-maven-verify - gerrit-maven-merge: cron: '@daily' - mvn-params: '-P dependency-list' - gerrit-maven-stage: build-node: centos7-builder-4c-4g sign-artifacts: true diff --git a/jjb/ccsdk/cds.yaml b/jjb/ccsdk/cds.yaml index d2bde424f..410485950 100644 --- a/jjb/ccsdk/cds.yaml +++ b/jjb/ccsdk/cds.yaml @@ -6,7 +6,6 @@ - gerrit-maven-verify - gerrit-maven-merge: cron: '@daily' - mvn-params: '-P dependency-list' - gerrit-maven-stage: build-node: centos7-builder-4c-4g sign-artifacts: true diff --git a/jjb/ccsdk/distribution.yaml b/jjb/ccsdk/distribution.yaml index b61a9ea1b..aea76c6f1 100644 --- a/jjb/ccsdk/distribution.yaml +++ b/jjb/ccsdk/distribution.yaml @@ -5,7 +5,6 @@ jobs: - gerrit-maven-verify - gerrit-maven-merge: - mvn-params: '-P dependency-list' cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g diff --git a/jjb/ccsdk/features.yaml b/jjb/ccsdk/features.yaml index 0ce073e79..90837d7d1 100644 --- a/jjb/ccsdk/features.yaml +++ b/jjb/ccsdk/features.yaml @@ -5,7 +5,6 @@ jobs: - gerrit-maven-verify - gerrit-maven-merge: - mvn-params: '-P dependency-list' cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g diff --git a/jjb/ccsdk/parent.yaml b/jjb/ccsdk/parent.yaml index 38ed19902..cd04db752 100644 --- a/jjb/ccsdk/parent.yaml +++ b/jjb/ccsdk/parent.yaml @@ -6,7 +6,6 @@ - gerrit-maven-verify - gerrit-maven-merge: cron: '@daily' - mvn-params: '-P dependency-list' - gerrit-maven-stage: build-node: centos7-builder-4c-4g sign-artifacts: true diff --git a/jjb/ccsdk/sli-adaptors.yaml b/jjb/ccsdk/sli-adaptors.yaml index daf2b42a5..343051609 100644 --- a/jjb/ccsdk/sli-adaptors.yaml +++ b/jjb/ccsdk/sli-adaptors.yaml @@ -5,7 +5,6 @@ jobs: - gerrit-maven-verify - gerrit-maven-merge: - mvn-params: '-P dependency-list' cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g diff --git a/jjb/ccsdk/sli-core.yaml b/jjb/ccsdk/sli-core.yaml index 12bc10244..868151aa9 100644 --- a/jjb/ccsdk/sli-core.yaml +++ b/jjb/ccsdk/sli-core.yaml @@ -5,7 +5,6 @@ jobs: - gerrit-maven-verify - gerrit-maven-merge: - mvn-params: '-P dependency-list' cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g diff --git a/jjb/ccsdk/sli-northbound.yaml b/jjb/ccsdk/sli-northbound.yaml index 7f7c77988..73ea82386 100644 --- a/jjb/ccsdk/sli-northbound.yaml +++ b/jjb/ccsdk/sli-northbound.yaml @@ -5,7 +5,6 @@ jobs: - gerrit-maven-verify - gerrit-maven-merge: - mvn-params: '-P dependency-list' cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g diff --git a/jjb/ccsdk/sli-plugins.yaml b/jjb/ccsdk/sli-plugins.yaml index 245c64e70..71ce51b60 100644 --- a/jjb/ccsdk/sli-plugins.yaml +++ b/jjb/ccsdk/sli-plugins.yaml @@ -5,7 +5,6 @@ jobs: - gerrit-maven-verify - gerrit-maven-merge: - mvn-params: '-P dependency-list' cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g diff --git a/jjb/clamp/clamp.yaml b/jjb/clamp/clamp.yaml index c2f2d5f34..b3dae54ef 100644 --- a/jjb/clamp/clamp.yaml +++ b/jjb/clamp/clamp.yaml @@ -44,6 +44,11 @@ jobs: - gerrit-maven-sonar: mvn-params: '-Ddocker.pull.registry=nexus3.onap.org:10001' + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-docker-8c-8g project: 'clamp' diff --git a/jjb/dcaegen2/dcaegen2-platform-adapter.yaml b/jjb/dcaegen2/dcaegen2-platform-adapter.yaml index bb0a9f73b..a203a7577 100644 --- a/jjb/dcaegen2/dcaegen2-platform-adapter.yaml +++ b/jjb/dcaegen2/dcaegen2-platform-adapter.yaml @@ -32,8 +32,10 @@ name: dcaegen2-platform-aoadapter # root of docker build docker-root: adapter/acumos + # tag override + docker-get-container-tag-script: ../../shell/docker-ts-tag-override.sh # image name - docker-name: '{name}' + docker-name: 'onap/{name}' stream: - master: branch: master @@ -58,3 +60,15 @@ jobs: - gerrit-tox-sonar cron: '@daily' + +- project: + <<: *dcaegen2_platform_common + name: dcaegen2-platform-aoadapter-clm + docker-root: adapter/acumos + jobs: + - gerrit-maven-clm + nexus-iq-namespace: 'onap-' + project-name: 'dcaegen2-platform-aoadapter-clm' + mvn-params: '-f adapter/acumos/pom.xml' + branch: 'master' + diff --git a/jjb/dcaegen2/dcaegen2-platform-mod-distributorapi.yaml b/jjb/dcaegen2/dcaegen2-platform-mod-distributorapi.yaml index b8387d0d8..1210edbdc 100644 --- a/jjb/dcaegen2/dcaegen2-platform-mod-distributorapi.yaml +++ b/jjb/dcaegen2/dcaegen2-platform-mod-distributorapi.yaml @@ -32,3 +32,14 @@ jobs: - gerrit-tox-sonar cron: '@daily' + +- project: + <<: *dcaegen2_platform_common + name: dcaegen2-platform-mod-distributorapi-clm + docker-root: mod/distributorapi + jobs: + - gerrit-maven-clm + nexus-iq-namespace: 'onap-' + project-name: 'dcaegen2-platform-mod-distributorapi-clm' + mvn-params: '-f mod/distributorapi/pom.xml' + branch: 'master' diff --git a/jjb/dcaegen2/dcaegen2-platform-mod-onboardingapi.yaml b/jjb/dcaegen2/dcaegen2-platform-mod-onboardingapi.yaml index ffe564008..ca63a42cc 100644 --- a/jjb/dcaegen2/dcaegen2-platform-mod-onboardingapi.yaml +++ b/jjb/dcaegen2/dcaegen2-platform-mod-onboardingapi.yaml @@ -32,3 +32,14 @@ jobs: - gerrit-tox-sonar cron: '@daily' + +- project: + <<: *dcaegen2_platform_common + name: dcaegen2-platform-mod-onboardingapi-clm + docker-root: mod/onboardingapi + jobs: + - gerrit-maven-clm + nexus-iq-namespace: 'onap-' + project-name: 'dcaegen2-platform-mod-onboardingapi-clm' + mvn-params: '-f mod/onboardingapi/pom.xml' + branch: 'master' diff --git a/jjb/dcaegen2/dcaegen2-platform-oti-eventhandler.yaml b/jjb/dcaegen2/dcaegen2-platform-oti-eventhandler.yaml new file mode 100644 index 000000000..fa64115f6 --- /dev/null +++ b/jjb/dcaegen2/dcaegen2-platform-oti-eventhandler.yaml @@ -0,0 +1,45 @@ +--- +# dcagen2_platform_common is defined in dcaegen2-platform-adapter.yaml + +- project: + <<: *dcaegen2_platform_common + name: dcaegen2-platform-oti-event-handler + # root of docker build + docker-root: oti/event-handler + # image name + docker-name: '{name}' + stream: + - master: + branch: master + jobs: + - '{project-name}-gerrit-docker-jobs' + +- project: + <<: *dcaegen2_platform_common + name: dcagen2-platform-oti-event-handler-verify + docker-root: oti/event-handler + stream: + - all: + branch: '*' + jobs: + - gerrit-tox-verify + +- project: + <<: *dcaegen2_platform_common + name: dcaegen2-platform-oti-event-handler-sonar + docker-root: oti/event-handler + branch: master + jobs: + - gerrit-tox-sonar + cron: '@daily' + +- project: + <<: *dcaegen2_platform_common + name: dcaegen2-platform-oti-event-handler-clm + docker-root: oti/event-handler + jobs: + - gerrit-maven-clm + nexus-iq-namespace: 'onap-' + project-name: 'dcaegen2-platform-oti-event-handler-clm' + mvn-params: '-f oti/event-handler/pom.xml' + branch: 'master' diff --git a/jjb/dcaegen2/dcaegen2-platform-oti-eventproc.yaml b/jjb/dcaegen2/dcaegen2-platform-oti-eventproc.yaml new file mode 100644 index 000000000..d29517123 --- /dev/null +++ b/jjb/dcaegen2/dcaegen2-platform-oti-eventproc.yaml @@ -0,0 +1,80 @@ +--- +- project: + name: dcaegen2-platform-oti-event-proc + project-name: dcaegen2-platform-oti + # git repo + project: dcaegen2/platform + jobs: + - '{project-name}-{stream}-{subproject}-verify-java' + - '{project-name}-{stream}-{subproject}-merge-java': + mvn-goals: 'clean install' + subproject: + - eventproc: + pom: 'oti/event-proc/pom.xml' + pattern: 'oti/event-proc/**' + stream: + - 'master': + branch: 'master' + mvn-settings: dcaegen2-platform-settings + files: '**' + archive-artifacts: '' + build-node: ubuntu1604-docker-8c-8g + +- project: + name: dcaegen2-platform-oti-event-proc-release + project: 'dcaegen2/platform' + project-name: 'dcaegen2-platform-oti-event-proc' + jobs: + - gerrit-maven-stage: + sign-artifacts: true + build-node: centos7-docker-8c-8g + maven-versions-plugin: true + version-properties-file: 'oti/event-proc/version.properties' + mvn-pom: 'oti/event-proc/pom.xml' + mvn-params: '-f oti/event-proc/pom.xml' + mvn-goals: 'clean deploy -Ddockerfile.skip -f oti/event-proc/pom.xml' + pattern: 'oti/event-proc/**' + - gerrit-maven-docker-stage: + build-node: ubuntu1604-docker-8c-8g + mvn-goals: 'clean package dockerfile:build dockerfile:push -f oti/event-proc/pom.xml' + container-public-registry: 'nexus3.onap.org:10001' + container-staging-registry: 'nexus3.onap.org:10003' + pattern: 'oti/event-proc/**' + + stream: + - 'master': + branch: 'master' + mvn-settings: 'dcaegen2-platform-settings' + maven-deploy-properties: | + deployAtEnd=true + files: '**' + archive-artifacts: '' + build-node: 'ubuntu1604-docker-8c-8g' + +- project: + name: dcaegen2-platform-oti-event-proc-sonar + jobs: + - gerrit-maven-sonar + cron: '@daily' + build-node: ubuntu1604-builder-4c-4g + project: 'dcaegen2/platform' + project-name: 'dcaegen2-platform-oti-event-proc' + branch: 'master' + mvn-settings: 'dcaegen2-platform-settings' + mvn-params: '-f oti/event-proc/pom.xml' + mvn-goals: 'clean install' + mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' + + +- project: + name: dcaegen2-platform-oti-event-proc-clm + jobs: + - gerrit-maven-clm + nexus-iq-namespace: 'onap-' + build-node: ubuntu1604-docker-8c-8g + project: 'dcaegen2/platform' + project-name: dcaegen2-platform-oti-event-proc-clm + mvn-params: '-f oti/event-proc/pom.xml' + branch: 'master' + mvn-settings: 'dcaegen2-platform-settings' + diff --git a/jjb/demo/demo.yaml b/jjb/demo/demo.yaml index 49eea2892..fffa81d26 100644 --- a/jjb/demo/demo.yaml +++ b/jjb/demo/demo.yaml @@ -32,6 +32,11 @@ name: demo-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'demo' diff --git a/jjb/externalapi/externalapi-nbi.yaml b/jjb/externalapi/externalapi-nbi.yaml index 4c69d4cca..47fcf39e6 100644 --- a/jjb/externalapi/externalapi-nbi.yaml +++ b/jjb/externalapi/externalapi-nbi.yaml @@ -67,6 +67,11 @@ name: externalapi-nbi-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'externalapi/nbi' diff --git a/jjb/msb/msb-apigateway.yaml b/jjb/msb/msb-apigateway.yaml index ec988621f..6a51fc5a3 100644 --- a/jjb/msb/msb-apigateway.yaml +++ b/jjb/msb/msb-apigateway.yaml @@ -54,6 +54,11 @@ name: msb-apigateway-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'msb/apigateway' diff --git a/jjb/msb/msb-discovery.yaml b/jjb/msb/msb-discovery.yaml index 3e2fe170f..149238e1e 100644 --- a/jjb/msb/msb-discovery.yaml +++ b/jjb/msb/msb-discovery.yaml @@ -47,6 +47,11 @@ name: msb-discovery-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'msb/discovery' diff --git a/jjb/msb/msb-java-sdk.yaml b/jjb/msb/msb-java-sdk.yaml index 436719324..579f4635b 100644 --- a/jjb/msb/msb-java-sdk.yaml +++ b/jjb/msb/msb-java-sdk.yaml @@ -22,6 +22,11 @@ name: msb-java-sdk-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'msb/java-sdk' diff --git a/jjb/msb/msb-swagger-sdk.yaml b/jjb/msb/msb-swagger-sdk.yaml index 8e5a1ce67..09426a2a9 100644 --- a/jjb/msb/msb-swagger-sdk.yaml +++ b/jjb/msb/msb-swagger-sdk.yaml @@ -22,6 +22,11 @@ name: msb-swagger-sdk-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'msb/swagger-sdk' diff --git a/jjb/multicloud/multicloud-azure-java.yaml b/jjb/multicloud/multicloud-azure-java.yaml index 7ac4fca90..b8bf8a1a4 100644 --- a/jjb/multicloud/multicloud-azure-java.yaml +++ b/jjb/multicloud/multicloud-azure-java.yaml @@ -57,6 +57,11 @@ name: multicloud-azure-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'multicloud/azure' diff --git a/jjb/multicloud/multicloud-framework-java.yaml b/jjb/multicloud/multicloud-framework-java.yaml index 388f94c30..d5e24d205 100644 --- a/jjb/multicloud/multicloud-framework-java.yaml +++ b/jjb/multicloud/multicloud-framework-java.yaml @@ -62,6 +62,11 @@ name: multicloud-framework-multivimbroker-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'multicloud/framework' @@ -87,6 +92,11 @@ name: multicloud-framework-artifactbroker-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'multicloud/framework' diff --git a/jjb/multicloud/multicloud-openstack-vmware-java.yaml b/jjb/multicloud/multicloud-openstack-vmware-java.yaml index c29787214..205d374a1 100644 --- a/jjb/multicloud/multicloud-openstack-vmware-java.yaml +++ b/jjb/multicloud/multicloud-openstack-vmware-java.yaml @@ -59,6 +59,11 @@ name: multicloud-openstack-vmware-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'multicloud/openstack/vmware' diff --git a/jjb/multicloud/multicloud-openstack.yaml b/jjb/multicloud/multicloud-openstack.yaml index da9605fe6..eefdc7721 100644 --- a/jjb/multicloud/multicloud-openstack.yaml +++ b/jjb/multicloud/multicloud-openstack.yaml @@ -96,6 +96,11 @@ name: multicloud-openstack-windriver-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'multicloud/openstack' @@ -110,6 +115,11 @@ name: multicloud-openstack-pike-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'multicloud/openstack' @@ -124,6 +134,11 @@ name: multicloud-openstack-starlingx-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'multicloud/openstack' @@ -149,6 +164,11 @@ name: multicloud-openstack-fcaps-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'multicloud/openstack' @@ -163,6 +183,11 @@ # name: multicloud-openstack-lenovo-sonar # jobs: # - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" # cron: '@daily' # build-node: ubuntu1604-builder-4c-4g # project: 'multicloud/openstack' diff --git a/jjb/policy/policy-common.yaml b/jjb/policy/policy-common.yaml index 3ac5b2550..ec7d7834d 100644 --- a/jjb/policy/policy-common.yaml +++ b/jjb/policy/policy-common.yaml @@ -37,6 +37,7 @@ project-name: 'policy-common' branch: 'master' mvn-settings: 'policy-common-settings' + java-version: openjdk11 mvn-goals: 'clean install' mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' @@ -49,6 +50,7 @@ project-name: 'policy-common' branch: 'master' mvn-settings: 'policy-common-settings' + java-version: openjdk11 - project: name: policy-common-info diff --git a/jjb/policy/policy-drools-applications.yaml b/jjb/policy/policy-drools-applications.yaml index 8949ed808..905958d69 100644 --- a/jjb/policy/policy-drools-applications.yaml +++ b/jjb/policy/policy-drools-applications.yaml @@ -57,6 +57,7 @@ project-name: 'policy-drools-applications' branch: 'master' mvn-settings: 'policy-drools-applications-settings' + build-node: ubuntu1604-docker-8c-8g - project: name: policy-drools-applications-info diff --git a/jjb/policy/policy-parent.yaml b/jjb/policy/policy-parent.yaml index dca24521b..86a532662 100644 --- a/jjb/policy/policy-parent.yaml +++ b/jjb/policy/policy-parent.yaml @@ -31,6 +31,7 @@ project-name: 'policy-parent' branch: 'master' mvn-settings: 'policy-parent-settings' + java-version: openjdk11 - project: name: policy-parent-info diff --git a/jjb/vnfsdk/vnfsdk-functest.yaml b/jjb/vnfsdk/vnfsdk-functest.yaml index 30a1de50f..583b7b670 100644 --- a/jjb/vnfsdk/vnfsdk-functest.yaml +++ b/jjb/vnfsdk/vnfsdk-functest.yaml @@ -23,6 +23,11 @@ name: vnfsdk-functest-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'vnfsdk/functest' diff --git a/jjb/vnfsdk/vnfsdk-refrepo.yaml b/jjb/vnfsdk/vnfsdk-refrepo.yaml index db4954b68..53efe1788 100644 --- a/jjb/vnfsdk/vnfsdk-refrepo.yaml +++ b/jjb/vnfsdk/vnfsdk-refrepo.yaml @@ -57,6 +57,11 @@ name: vnfsdk-refrepo-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'vnfsdk/refrepo' diff --git a/jjb/vnfsdk/vnfsdk-validation.yaml b/jjb/vnfsdk/vnfsdk-validation.yaml index 17092438e..b3a664f20 100644 --- a/jjb/vnfsdk/vnfsdk-validation.yaml +++ b/jjb/vnfsdk/vnfsdk-validation.yaml @@ -22,6 +22,11 @@ name: vnfsdk-validation-sonar jobs: - gerrit-maven-sonar + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'vnfsdk/validation' diff --git a/jjb/vnfsdk/vnfsdk-ves-agent.yaml b/jjb/vnfsdk/vnfsdk-ves-agent.yaml index 8bcbd0b11..52751aace 100644 --- a/jjb/vnfsdk/vnfsdk-ves-agent.yaml +++ b/jjb/vnfsdk/vnfsdk-ves-agent.yaml @@ -48,6 +48,11 @@ make-opts: -j6 stream: master build-node: centos7-builder-4c-4g + sonarcloud: true + sonarcloud-project-organization: '{sonarcloud_project_organization}' + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'vnfsdk/ves-agent' |