diff options
Diffstat (limited to 'jjb')
48 files changed, 357 insertions, 201 deletions
diff --git a/jjb/aaf/aaf-authz.yaml b/jjb/aaf/aaf-authz.yaml index 5531462a6..fb5c8a702 100644 --- a/jjb/aaf/aaf-authz.yaml +++ b/jjb/aaf/aaf-authz.yaml @@ -60,6 +60,11 @@ name: aaf-authz-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: 'aaf/authz' diff --git a/jjb/aaf/aaf-cadi.yaml b/jjb/aaf/aaf-cadi.yaml index 7d61e587f..8ce051273 100644 --- a/jjb/aaf/aaf-cadi.yaml +++ b/jjb/aaf/aaf-cadi.yaml @@ -21,6 +21,11 @@ name: aaf-cadi-shiro-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: 'aaf/cadi' @@ -52,6 +57,11 @@ name: aaf-cadi-fproxy-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: 'aaf/cadi' @@ -83,6 +93,11 @@ name: aaf-cadi-rproxy-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: 'aaf/cadi' diff --git a/jjb/aai/aai-chameleon.yaml b/jjb/aai/aai-chameleon.yaml deleted file mode 100644 index 4b100749a..000000000 --- a/jjb/aai/aai-chameleon.yaml +++ /dev/null @@ -1,54 +0,0 @@ ---- -- project: - name: aai-chameleon-project-view - project-name: aai-chameleon - views: - - project-view - -- project: - name: aai-chameleon - project-name: 'aai-chameleon' - jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' - - gerrit-maven-stage: - sign-artifacts: true - build-node: centos7-builder-4c-4g - maven-versions-plugin: true - - gerrit-maven-docker-stage: - mvn-params: 'package dockerfile:build dockerfile:push -B -Dmaven.test.skip=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' - build-node: ubuntu1604-docker-8c-8g - container-public-registry: 'nexus3.onap.org:10001' - container-staging-registry: 'nexus3.onap.org:10003' - - '{project-name}-gerrit-release-jobs': - build-node: centos7-docker-8c-8g - project: 'aai/chameleon' - stream: - - 'elalto': - branch: 'elalto' - - 'master': - branch: 'master' - mvn-settings: 'aai-chameleon-settings' - files: '**' - archive-artifacts: '' - build-node: ubuntu1604-builder-4c-4g - -- project: - name: aai-chameleon-clm - jobs: - - gerrit-maven-clm - nexus-iq-namespace: 'onap-' - project: 'aai/chameleon' - project-name: 'aai-chameleon' - stream: - - 'master': - branch: 'master' - mvn-settings: 'aai-chameleon-settings' - -- project: - name: aai-chameleon-info - project-name: aai-chameleon - jobs: - - gerrit-info-yaml-verify - project: aai/chameleon - branch: master diff --git a/jjb/aai/aai-gallifrey.yaml b/jjb/aai/aai-gallifrey.yaml deleted file mode 100644 index cbce3ed9b..000000000 --- a/jjb/aai/aai-gallifrey.yaml +++ /dev/null @@ -1,47 +0,0 @@ ---- -- project: - name: aai-gallifrey - project-name: 'aai-gallifrey' - jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' - - gerrit-maven-stage: - sign-artifacts: true - build-node: centos7-builder-4c-4g - maven-versions-plugin: true - - gerrit-maven-docker-stage: - mvn-params: 'package dockerfile:build dockerfile:push -B -Dmaven.test.skip=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' - build-node: ubuntu1604-docker-8c-8g - container-public-registry: 'nexus3.onap.org:10001' - container-staging-registry: 'nexus3.onap.org:10003' - - '{project-name}-gerrit-release-jobs': - build-node: centos7-docker-8c-8g - project: 'aai/gallifrey' - stream: - - 'elalto': - branch: 'elalto' - - 'master': - branch: 'master' - mvn-settings: 'aai-gallifrey-settings' - files: '**' - archive-artifacts: '' - -- project: - name: aai-gallifrey-clm - jobs: - - gerrit-maven-clm - nexus-iq-namespace: 'onap-' - project: 'aai/gallifrey' - project-name: 'aai-gallifrey' - stream: - - 'master': - branch: 'master' - mvn-settings: 'aai-gallifrey-settings' - -- project: - name: aai-gallifrey-info - project-name: aai-gallifrey - jobs: - - gerrit-info-yaml-verify - project: aai/gallifrey - branch: master diff --git a/jjb/ccsdk/apps.yaml b/jjb/ccsdk/apps.yaml index 6e690fa51..ab202ed9c 100644 --- a/jjb/ccsdk/apps.yaml +++ b/jjb/ccsdk/apps.yaml @@ -9,11 +9,14 @@ name: ccsdk-apps project-name: 'ccsdk-apps' jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' + - 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 + cron: '' - gerrit-maven-docker-stage: build-node: ubuntu1604-docker-8c-8g container-public-registry: 'nexus3.onap.org:10001' @@ -39,6 +42,8 @@ archive-artifacts: '' maven-version: "mvn35" build-node: ubuntu1604-builder-4c-4g + mvn-snapshot-id: 'ecomp-snapshots' + nexus-snapshot-repo: 'snapshots' - project: name: ccsdk-apps-sonar diff --git a/jjb/ccsdk/cds.yaml b/jjb/ccsdk/cds.yaml index ea3d2915b..d2bde424f 100644 --- a/jjb/ccsdk/cds.yaml +++ b/jjb/ccsdk/cds.yaml @@ -3,12 +3,15 @@ name: ccsdk-cds project-name: 'ccsdk-cds' jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' + - 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 maven-versions-plugin: true + cron: '' - gerrit-maven-docker-stage: build-node: ubuntu1604-docker-8c-8g container-public-registry: 'nexus3.onap.org:10001' @@ -16,6 +19,7 @@ mvn-params: '-Dmaven.test.skip=true -P docker' maven-version: "mvn35" maven-versions-plugin: true + cron: '' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g @@ -35,6 +39,8 @@ archive-artifacts: '' maven-version: "mvn35" build-node: ubuntu1604-builder-4c-4g + mvn-snapshot-id: 'ecomp-snapshots' + nexus-snapshot-repo: 'snapshots' - project: name: ccsdk-cds-sonar diff --git a/jjb/ccsdk/dashboard.yaml b/jjb/ccsdk/dashboard.yaml index 298afa2fe..727b6eef2 100644 --- a/jjb/ccsdk/dashboard.yaml +++ b/jjb/ccsdk/dashboard.yaml @@ -3,10 +3,12 @@ name: ccsdk-dashboard project-name: 'ccsdk-dashboard' jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' + - gerrit-maven-verify + - gerrit-maven-merge: + cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g + cron: '' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g @@ -25,6 +27,8 @@ files: '**' archive-artifacts: '' build-node: ubuntu1604-docker-8c-8g + mvn-snapshot-id: 'ecomp-snapshots' + nexus-snapshot-repo: 'snapshots' - project: name: ccsdk-dashboard-sonar diff --git a/jjb/ccsdk/distribution.yaml b/jjb/ccsdk/distribution.yaml index 104ebc476..b61a9ea1b 100644 --- a/jjb/ccsdk/distribution.yaml +++ b/jjb/ccsdk/distribution.yaml @@ -3,12 +3,15 @@ name: ccsdk-distribution project-name: 'ccsdk-distribution' jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' + - gerrit-maven-verify + - gerrit-maven-merge: + mvn-params: '-P dependency-list' + cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g sign-artifacts: true maven-versions-plugin: true + cron: '' - gerrit-maven-docker-stage: build-node: ubuntu1604-docker-8c-8g container-public-registry: 'nexus3.onap.org:10001' @@ -16,6 +19,7 @@ mvn-params: '-Dmaven.test.skip=true -P docker' maven-version: "mvn35" maven-versions-plugin: true + cron: '' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g project: 'ccsdk/distribution' @@ -33,6 +37,8 @@ docker-pom: 'pom.xml' mvn-profile: docker build-node: ubuntu1604-docker-8c-8g + mvn-snapshot-id: 'ecomp-snapshots' + nexus-snapshot-repo: 'snapshots' #- project: diff --git a/jjb/ccsdk/features.yaml b/jjb/ccsdk/features.yaml index a5df9d0af..0ce073e79 100644 --- a/jjb/ccsdk/features.yaml +++ b/jjb/ccsdk/features.yaml @@ -3,11 +3,14 @@ name: ccsdk-features project-name: 'ccsdk-features' jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' + - gerrit-maven-verify + - gerrit-maven-merge: + mvn-params: '-P dependency-list' + cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g sign-artifacts: true + cron: '' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g @@ -28,8 +31,10 @@ files: '**' archive-artifacts: '' maven-version: "mvn35" - mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' + mvn-opts: '-Xmx3072m -XX:MaxPermSize=1024m' build-node: ubuntu1604-builder-4c-4g + mvn-snapshot-id: 'ecomp-snapshots' + nexus-snapshot-repo: 'snapshots' - project: name: ccsdk-features-sonar diff --git a/jjb/ccsdk/parent.yaml b/jjb/ccsdk/parent.yaml index cd04db752..38ed19902 100644 --- a/jjb/ccsdk/parent.yaml +++ b/jjb/ccsdk/parent.yaml @@ -6,6 +6,7 @@ - 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/platform-plugins.yaml b/jjb/ccsdk/platform-plugins.yaml index e344e88ef..3dcb72965 100644 --- a/jjb/ccsdk/platform-plugins.yaml +++ b/jjb/ccsdk/platform-plugins.yaml @@ -3,11 +3,13 @@ name: ccsdk-platform-plugins project-name: 'ccsdk-platform-plugins' jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' + - gerrit-maven-verify + - gerrit-maven-merge: + cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g sign-artifacts: true + cron: '' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g @@ -26,6 +28,8 @@ files: '**' archive-artifacts: '' build-node: centos7-redis-4c-4g + mvn-snapshot-id: 'ecomp-snapshots' + nexus-snapshot-repo: 'snapshots' - project: name: ccsdk-platform-plugins-sonar diff --git a/jjb/ccsdk/sli-adaptors.yaml b/jjb/ccsdk/sli-adaptors.yaml index 23480cf27..daf2b42a5 100644 --- a/jjb/ccsdk/sli-adaptors.yaml +++ b/jjb/ccsdk/sli-adaptors.yaml @@ -3,11 +3,14 @@ name: ccsdk-sli-adaptors project-name: 'ccsdk-sli-adaptors' jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' + - gerrit-maven-verify + - gerrit-maven-merge: + mvn-params: '-P dependency-list' + cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g sign-artifacts: true + cron: '' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g @@ -29,6 +32,8 @@ archive-artifacts: '' maven-version: "mvn35" build-node: ubuntu1604-builder-4c-4g + mvn-snapshot-id: 'ecomp-snapshots' + nexus-snapshot-repo: 'snapshots' - project: name: ccsdk-sli-adaptors-sonar diff --git a/jjb/ccsdk/sli-core.yaml b/jjb/ccsdk/sli-core.yaml index 9f41d4ca7..12bc10244 100644 --- a/jjb/ccsdk/sli-core.yaml +++ b/jjb/ccsdk/sli-core.yaml @@ -3,11 +3,14 @@ name: ccsdk-sli-core project-name: 'ccsdk-sli-core' jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' + - gerrit-maven-verify + - gerrit-maven-merge: + mvn-params: '-P dependency-list' + cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g sign-artifacts: true + cron: '' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g @@ -29,6 +32,8 @@ archive-artifacts: '' maven-version: "mvn35" build-node: ubuntu1604-builder-4c-4g + mvn-snapshot-id: 'ecomp-snapshots' + nexus-snapshot-repo: 'snapshots' - project: name: ccsdk-sli-core-sonar diff --git a/jjb/ccsdk/sli-northbound.yaml b/jjb/ccsdk/sli-northbound.yaml index 99116ceb5..7f7c77988 100644 --- a/jjb/ccsdk/sli-northbound.yaml +++ b/jjb/ccsdk/sli-northbound.yaml @@ -3,10 +3,13 @@ name: ccsdk-sli-northbound project-name: 'ccsdk-sli-northbound' jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' + - gerrit-maven-verify + - gerrit-maven-merge: + mvn-params: '-P dependency-list' + cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g + cron: '' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g @@ -29,6 +32,8 @@ archive-artifacts: '' maven-version: "mvn35" build-node: ubuntu1604-builder-4c-4g + mvn-snapshot-id: 'ecomp-snapshots' + nexus-snapshot-repo: 'snapshots' - project: name: ccsdk-sli-northbound-sonar diff --git a/jjb/ccsdk/sli-plugins.yaml b/jjb/ccsdk/sli-plugins.yaml index e4c7429bb..245c64e70 100644 --- a/jjb/ccsdk/sli-plugins.yaml +++ b/jjb/ccsdk/sli-plugins.yaml @@ -3,11 +3,14 @@ name: ccsdk-sli-plugins project-name: 'ccsdk-sli-plugins' jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' + - gerrit-maven-verify + - gerrit-maven-merge: + mvn-params: '-P dependency-list' + cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g sign-artifacts: true + cron: '' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g @@ -29,6 +32,8 @@ archive-artifacts: '' maven-version: "mvn35" build-node: ubuntu1604-builder-4c-4g + mvn-snapshot-id: 'ecomp-snapshots' + nexus-snapshot-repo: 'snapshots' - project: name: ccsdk-sli-plugins-sonar diff --git a/jjb/ccsdk/utils.yaml b/jjb/ccsdk/utils.yaml index 03350a881..7b49b60a9 100644 --- a/jjb/ccsdk/utils.yaml +++ b/jjb/ccsdk/utils.yaml @@ -3,11 +3,13 @@ name: ccsdk-utils project-name: 'ccsdk-utils' jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' + - gerrit-maven-verify + - gerrit-maven-merge: + cron: '@daily' - gerrit-maven-stage: build-node: centos7-builder-4c-4g sign-artifacts: true + cron: '' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g @@ -23,6 +25,8 @@ deployAtEnd=true files: '**' archive-artifacts: '' + mvn-snapshot-id: 'ecomp-snapshots' + nexus-snapshot-repo: 'snapshots' - project: name: ccsdk-utils-clm diff --git a/jjb/ci-management/ci-management-packer-jobs.yaml b/jjb/ci-management/ci-management-packer-jobs.yaml index 8b96a2af4..7d3fd7868 100644 --- a/jjb/ci-management/ci-management-packer-jobs.yaml +++ b/jjb/ci-management/ci-management-packer-jobs.yaml @@ -16,6 +16,7 @@ - centos-7 - ubuntu-16.04 - ubuntu-16.04-arm64 + - ubuntu-18.04 templates: builder - project: diff --git a/jjb/clamp/dashboard/info-clamp-dashboard.yaml b/jjb/clamp/dashboard/info-clamp-dashboard.yaml new file mode 100644 index 000000000..273b34128 --- /dev/null +++ b/jjb/clamp/dashboard/info-clamp-dashboard.yaml @@ -0,0 +1,8 @@ +--- +- project: + name: clamp-dashboard-info + project-name: clamp-dashboard + jobs: + - gerrit-info-yaml-verify + project: clamp/dashboard + branch: master diff --git a/jjb/clamp/ui/info-clamp-ui.yaml b/jjb/clamp/ui/info-clamp-ui.yaml new file mode 100644 index 000000000..64fa74309 --- /dev/null +++ b/jjb/clamp/ui/info-clamp-ui.yaml @@ -0,0 +1,8 @@ +--- +- project: + name: clamp-ui-info + project-name: clamp-ui + jobs: + - gerrit-info-yaml-verify + project: clamp/ui + branch: master diff --git a/jjb/cli/cli.yaml b/jjb/cli/cli.yaml index 4963a0907..25b06a889 100644 --- a/jjb/cli/cli.yaml +++ b/jjb/cli/cli.yaml @@ -60,6 +60,11 @@ name: cli-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: 'cli' diff --git a/jjb/dcaegen2/dcaegen2-platform-mod-distributorapi.yaml b/jjb/dcaegen2/dcaegen2-platform-mod-distributorapi.yaml new file mode 100644 index 000000000..b8387d0d8 --- /dev/null +++ b/jjb/dcaegen2/dcaegen2-platform-mod-distributorapi.yaml @@ -0,0 +1,34 @@ +--- +# dcagen2_platform_common is defined in dcaegen2-platform-adapter.yaml + +- project: + <<: *dcaegen2_platform_common + name: dcaegen2-platform-mod-distributorapi + # root of docker build + docker-root: mod/distributorapi + # image name + docker-name: '{name}' + stream: + - master: + branch: master + jobs: + - '{project-name}-gerrit-docker-jobs' + +- project: + <<: *dcaegen2_platform_common + name: dcagen2-platform-mod-distributorapi-verify + docker-root: mod/distributorapi + stream: + - all: + branch: '*' + jobs: + - gerrit-tox-verify + +- project: + <<: *dcaegen2_platform_common + name: dcaegen2-platform-mod-distributorapi-sonar + docker-root: mod/distributorapi + branch: master + jobs: + - gerrit-tox-sonar + cron: '@daily' diff --git a/jjb/dcaegen2/dcaegen2-platform-mod-onboardingapi.yaml b/jjb/dcaegen2/dcaegen2-platform-mod-onboardingapi.yaml new file mode 100644 index 000000000..ffe564008 --- /dev/null +++ b/jjb/dcaegen2/dcaegen2-platform-mod-onboardingapi.yaml @@ -0,0 +1,34 @@ +--- +# dcagen2_platform_common is defined in dcaegen2-platform-adapter.yaml + +- project: + <<: *dcaegen2_platform_common + name: dcaegen2-platform-mod-onboardingapi + # root of docker build + docker-root: mod/onboardingapi + # image name + docker-name: '{name}' + stream: + - master: + branch: master + jobs: + - '{project-name}-gerrit-docker-jobs' + +- project: + <<: *dcaegen2_platform_common + name: dcagen2-platform-mod-onboardingapi-verify + docker-root: mod/onboardingapi + stream: + - all: + branch: '*' + jobs: + - gerrit-tox-verify + +- project: + <<: *dcaegen2_platform_common + name: dcaegen2-platform-mod-onboardingapi-sonar + docker-root: mod/onboardingapi + branch: master + jobs: + - gerrit-tox-sonar + cron: '@daily' diff --git a/jjb/dcaegen2/dcaegen2-platform-mod.yaml b/jjb/dcaegen2/dcaegen2-platform-mod.yaml new file mode 100644 index 000000000..1baf6c0a8 --- /dev/null +++ b/jjb/dcaegen2/dcaegen2-platform-mod.yaml @@ -0,0 +1,8 @@ +--- + +- project: + name: dcaegen2-platform-mod-project-view + project-name: dcaegen2-platform-mod + views: + - project-view + diff --git a/jjb/dcaegen2/dcaegen2-services-pm-subscription-handler.yaml b/jjb/dcaegen2/dcaegen2-services-pm-subscription-handler.yaml index 8212f7f80..7a845453f 100644 --- a/jjb/dcaegen2/dcaegen2-services-pm-subscription-handler.yaml +++ b/jjb/dcaegen2/dcaegen2-services-pm-subscription-handler.yaml @@ -1,67 +1,81 @@ --- +- dcaegen2_services_common: &dcaegen2_services_common + # values apply to all dcaegen2_services docker projects + name: dcaegen2-services-docker-common + project: dcaegen2/services + # maven settings file has docker credentials + mvn-settings: dcaegen2-services-settings + # use host network to clone from our gerrit + container-tag-method: latest + build-node: ubuntu1604-docker-8c-8g + # jenkins job name prefix + project-name: '{name}' + tox-dir: '{docker-root}' + # build only on relevant changes + gerrit_trigger_file_paths: + - compare-type: REG_EXP + pattern: '{docker-root}/.*' + +- project: + <<: *dcaegen2_services_common + name: dcaegen2-services-pmsh + # root of docker build + docker-root: components/pm-subscription-handler + # tag override + # Following is dependent on merge https://gerrit.onap.org/r/#/c/ci-management/+/99313/ + # docker-get-container-tag-script: '../../shell/docker-ts-tag-override.sh' + # image name + docker-name: 'onap/{name}' + stream: + - master: + branch: master + jobs: + - gerrit-docker-verify + - gerrit-docker-merge + +- project: + <<: *dcaegen2_services_common + name: dcaegen2-services-pmsh-verify + docker-root: components/pm-subscription-handler + stream: + - all: + branch: '*' + jobs: + - gerrit-tox-verify + - project: + <<: *dcaegen2_services_common + name: dcaegen2-services-pmsh-sonar + docker-root: components/pm-subscription-handler + branch: master + jobs: + - gerrit-tox-sonar + cron: '@daily' + +- project: + <<: *dcaegen2_services_common + docker-root: components/pm-subscription-handler name: dcaegen2-services-pmsh-release - project: dcaegen2/services project-name: dcaegen2-services-pmsh-release jobs: - - gerrit-maven-docker-stage: - build-node: ubuntu1604-docker-8c-8g - maven-versions-plugin: true - version-properties-file: 'components/pm-subscription-handler/version.properties' - mvn-pom: 'components/pm-subscription-handler/pom.xml' - mvn-goals: 'clean deploy -f components/pm-subscription-handler/pom.xml' - container-public-registry: 'nexus3.onap.org:10001' - container-staging-registry: 'nexus3.onap.org:10003' - pattern: 'components/pm-subscription-handler/**' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g stream: - 'master': branch: master - mvn-settings: dcaegen2-services-settings - maven-deploy-properties: | - deployAtEnd=true - files: '**' - archive-artifacts: '' - build-node: ubuntu1604-docker-8c-8g - -- project: - name: dcaegen2-services-pmsh - project: dcaegen2/services - project-name: dcaegen2-services - subproject: - - 'pmsh': - pom: 'components/pm-subscription-handler/pom.xml' - pattern: 'components/pm-subscription-handler/**' - mvn-settings: dcaegen2-services-settings maven-deploy-properties: | deployAtEnd=true files: '**' archive-artifacts: '' - build-node: ubuntu1604-docker-8c-8g - # used by tox-install.sh to specify the interpreter used to install tox - python-version: python3 - jobs: - # clm and tox - - '{project-name}-python-jobs' - # build docker image - - '{project-name}-{stream}-{subproject}-merge-java' - stream: - - master: - branch: master - project: - name: dcaegen2-services-pmsh-sonar - python-version: python3 + <<: *dcaegen2_services_common + name: dcaegen2-services-pmsh-clm + docker-root: components/pm-subscription-handler jobs: - - gerrit-tox-sonar - cron: '@daily' - build-node: ubuntu1604-builder-4c-4g - project: dcaegen2/services - project-name: dcaegen2-services-pmsh - branch: master - mvn-settings: dcaegen2-services-settings + - gerrit-maven-clm + nexus-iq-namespace: 'onap-' + project-name: 'dcaegen2-services-pmsh-clm' mvn-params: '-f components/pm-subscription-handler/pom.xml' - mvn-goals: 'clean test' - mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' + branch: 'master' 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/dmaap/dmaap-dbcapi.yaml b/jjb/dmaap/dmaap-dbcapi.yaml index bd1391931..94cc44be8 100644 --- a/jjb/dmaap/dmaap-dbcapi.yaml +++ b/jjb/dmaap/dmaap-dbcapi.yaml @@ -9,9 +9,12 @@ sign-artifacts: true build-node: centos7-builder-4c-4g maven-versions-plugin: true + - '{project-name}-gerrit-release-jobs': + build-node: centos7-docker-8c-8g project: 'dmaap/dbcapi' mvn-settings: 'dmaap-dbcapi-settings' + java-version: openjdk11 stream: - 'master': branch: 'master' @@ -35,6 +38,7 @@ mvn-settings: 'dmaap-dbcapi-settings' mvn-goals: 'clean install' mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' + java-version: openjdk11 - project: name: dmaap-dbcapi-clm @@ -45,6 +49,7 @@ project-name: 'dmaap-dbcapi' branch: 'master' mvn-settings: 'dmaap-dbcapi-settings' + java-version: openjdk11 - project: name: dmaap-dbcapi-info 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-apex-pdp.yaml b/jjb/policy/policy-apex-pdp.yaml index 9262dd6c7..67d3474dd 100644 --- a/jjb/policy/policy-apex-pdp.yaml +++ b/jjb/policy/policy-apex-pdp.yaml @@ -31,8 +31,6 @@ stream: - 'master': branch: 'master' - - 'elalto': - branch: 'elalto' mvn-settings: 'policy-apex-pdp-settings' files: '**' archive-artifacts: '' diff --git a/jjb/policy/policy-api.yaml b/jjb/policy/policy-api.yaml index ac1ef4089..538f1170d 100644 --- a/jjb/policy/policy-api.yaml +++ b/jjb/policy/policy-api.yaml @@ -25,8 +25,6 @@ stream: - 'master': branch: 'master' - - 'elalto': - branch: 'elalto' mvn-settings: 'policy-api-settings' files: '**' archive-artifacts: '' diff --git a/jjb/policy/policy-common.yaml b/jjb/policy/policy-common.yaml index 60e077121..3ac5b2550 100644 --- a/jjb/policy/policy-common.yaml +++ b/jjb/policy/policy-common.yaml @@ -16,9 +16,8 @@ stream: - 'master': branch: 'master' - - 'elalto': - branch: 'elalto' mvn-settings: 'policy-common-settings' + java-version: openjdk11 files: '**' archive-artifacts: '' build-node: ubuntu1604-builder-4c-4g diff --git a/jjb/policy/policy-distribution.yaml b/jjb/policy/policy-distribution.yaml index d04ec6fd1..c4ae3aa24 100644 --- a/jjb/policy/policy-distribution.yaml +++ b/jjb/policy/policy-distribution.yaml @@ -25,8 +25,6 @@ stream: - 'master': branch: 'master' - - 'elalto': - branch: 'elalto' mvn-settings: 'policy-distribution-settings' files: '**' archive-artifacts: '' diff --git a/jjb/policy/policy-drools-applications.yaml b/jjb/policy/policy-drools-applications.yaml index 2274fe5fb..905958d69 100644 --- a/jjb/policy/policy-drools-applications.yaml +++ b/jjb/policy/policy-drools-applications.yaml @@ -25,8 +25,6 @@ stream: - 'master': branch: 'master' - - 'elalto': - branch: 'elalto' mvn-settings: 'policy-drools-applications-settings' files: '**' archive-artifacts: '' @@ -59,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-drools-pdp.yaml b/jjb/policy/policy-drools-pdp.yaml index 1d38b6960..93002e186 100644 --- a/jjb/policy/policy-drools-pdp.yaml +++ b/jjb/policy/policy-drools-pdp.yaml @@ -25,8 +25,6 @@ stream: - 'master': branch: 'master' - - 'elalto': - branch: 'elalto' mvn-settings: 'policy-drools-pdp-settings' files: '**' archive-artifacts: '' diff --git a/jjb/policy/policy-engine.yaml b/jjb/policy/policy-engine.yaml index bacfce4d7..d1d113e16 100644 --- a/jjb/policy/policy-engine.yaml +++ b/jjb/policy/policy-engine.yaml @@ -25,8 +25,6 @@ stream: - 'master': branch: 'master' - - 'elalto': - branch: 'elalto' mvn-settings: 'policy-engine-settings' files: '**' archive-artifacts: '' @@ -48,7 +46,7 @@ branch: 'master' mvn-settings: 'policy-engine-settings' mvn-goals: 'clean install' - mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' + mvn-opts: '-Xmx2048m -XX:MaxPermSize=512m' - project: name: policy-engine-clm diff --git a/jjb/policy/policy-models.yaml b/jjb/policy/policy-models.yaml index 3d811b754..1325ddb74 100644 --- a/jjb/policy/policy-models.yaml +++ b/jjb/policy/policy-models.yaml @@ -16,8 +16,6 @@ stream: - 'master': branch: 'master' - - 'elalto': - branch: 'elalto' mvn-settings: 'policy-models-settings' files: '**' archive-artifacts: '' diff --git a/jjb/policy/policy-pap.yaml b/jjb/policy/policy-pap.yaml index a63971e94..4f0358525 100644 --- a/jjb/policy/policy-pap.yaml +++ b/jjb/policy/policy-pap.yaml @@ -25,8 +25,6 @@ stream: - 'master': branch: 'master' - - 'elalto': - branch: 'elalto' mvn-settings: 'policy-pap-settings' files: '**' archive-artifacts: '' diff --git a/jjb/policy/policy-parent.yaml b/jjb/policy/policy-parent.yaml index ef6891cce..dca24521b 100644 --- a/jjb/policy/policy-parent.yaml +++ b/jjb/policy/policy-parent.yaml @@ -16,9 +16,8 @@ stream: - 'master': branch: 'master' - - 'elalto': - branch: 'elalto' mvn-settings: 'policy-parent-settings' + java-version: openjdk11 files: '**' archive-artifacts: '' build-node: ubuntu1604-builder-4c-4g diff --git a/jjb/policy/policy-xacml-pdp.yaml b/jjb/policy/policy-xacml-pdp.yaml index 96bada63f..7c376b77b 100644 --- a/jjb/policy/policy-xacml-pdp.yaml +++ b/jjb/policy/policy-xacml-pdp.yaml @@ -25,8 +25,6 @@ stream: - 'master': branch: 'master' - - 'elalto': - branch: 'elalto' mvn-settings: 'policy-xacml-pdp-settings' files: '**' archive-artifacts: '' diff --git a/jjb/sdnc/sdnc-apps.yaml b/jjb/sdnc/sdnc-apps.yaml index 2de80e0dc..882796ad2 100644 --- a/jjb/sdnc/sdnc-apps.yaml +++ b/jjb/sdnc/sdnc-apps.yaml @@ -9,17 +9,20 @@ name: sdnc-apps project-name: 'sdnc-apps' jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' + - gerrit-maven-verify + - gerrit-maven-merge: + cron: '@daily' - gerrit-maven-stage: sign-artifacts: true build-node: centos7-builder-4c-4g + cron: '' - gerrit-maven-docker-stage: build-node: ubuntu1604-docker-8c-8g container-public-registry: 'nexus3.onap.org:10001' container-staging-registry: 'nexus3.onap.org:10003' mvn-params: '-Dmaven.test.skip=true -P docker' maven-version: "mvn35" + cron: '' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g @@ -42,6 +45,8 @@ archive-artifacts: '' maven-version: "mvn35" build-node: ubuntu1604-builder-4c-4g + mvn-snapshot-id: 'ecomp-snapshots' + nexus-snapshot-repo: 'snapshots' - project: name: sdnc-apps-sonar diff --git a/jjb/sdnc/sdnc-northbound.yaml b/jjb/sdnc/sdnc-northbound.yaml index 507d04496..20665a3a0 100644 --- a/jjb/sdnc/sdnc-northbound.yaml +++ b/jjb/sdnc/sdnc-northbound.yaml @@ -3,11 +3,13 @@ name: sdnc-northbound project-name: 'sdnc-northbound' jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' + - gerrit-maven-verify + - gerrit-maven-merge: + cron: '@daily' - gerrit-maven-stage: sign-artifacts: true build-node: centos7-builder-4c-4g + cron: '' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g @@ -30,6 +32,8 @@ archive-artifacts: '' maven-version: "mvn35" build-node: ubuntu1604-builder-4c-4g + mvn-snapshot-id: 'ecomp-snapshots' + nexus-snapshot-repo: 'snapshots' - project: name: sdnc-northbound-sonar diff --git a/jjb/sdnc/sdnc-oam.yaml b/jjb/sdnc/sdnc-oam.yaml index d74810537..563f47469 100644 --- a/jjb/sdnc/sdnc-oam.yaml +++ b/jjb/sdnc/sdnc-oam.yaml @@ -4,12 +4,14 @@ name: sdnc-oam project-name: 'sdnc-oam' jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' + - gerrit-maven-verify + - gerrit-maven-merge: + cron: '@daily' - gerrit-maven-stage: sign-artifacts: true build-node: centos7-builder-4c-4g maven-versions-plugin: true + cron: '' - gerrit-maven-docker-stage: build-node: ubuntu1604-docker-8c-8g container-public-registry: 'nexus3.onap.org:10001' @@ -17,6 +19,7 @@ mvn-params: '-Dmaven.test.skip=true -P docker' maven-version: "mvn35" maven-versions-plugin: true + cron: '' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g project: 'sdnc/oam' @@ -32,6 +35,8 @@ files: '**' archive-artifacts: '' build-node: ubuntu1604-builder-4c-4g + mvn-snapshot-id: 'ecomp-snapshots' + nexus-snapshot-repo: 'snapshots' # #- project: 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' |