summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
Diffstat (limited to 'jjb')
-rw-r--r--jjb/ci-management/ci-management-coverity.yaml278
-rw-r--r--jjb/ci-management/ci-management-packer-jobs.yaml164
-rw-r--r--jjb/ci-management/ci-management-views.yaml224
-rw-r--r--jjb/ci-management/ci-management.yaml108
-rw-r--r--jjb/cli/cli.yaml191
-rw-r--r--jjb/cps/cps-cps-tbdmt.yaml106
-rw-r--r--jjb/cps/cps-cps-temporal-csit.yaml30
-rw-r--r--jjb/cps/cps-cps-temporal.yaml186
-rw-r--r--jjb/cps/cps-csit.yaml32
-rw-r--r--jjb/cps/cps-ncmp-dmi-plugin-csit.yaml30
-rw-r--r--jjb/cps/cps-ncmp-dmi-plugin.yaml198
-rw-r--r--jjb/cps/cps.yaml182
-rw-r--r--jjb/demo/demo.yaml140
-rw-r--r--jjb/doc/rules.yaml291
-rw-r--r--jjb/externalapi/externalapi-nbi.yaml162
-rw-r--r--jjb/global-templates-java.yaml2130
-rw-r--r--jjb/holmes/holmes-common.yaml118
-rw-r--r--jjb/holmes/holmes-engine-mgt.yaml122
-rw-r--r--jjb/holmes/holmes-rule-mgt.yaml122
-rw-r--r--jjb/lab/lab-templates.yaml57
-rw-r--r--jjb/lab/lab.yaml20
-rw-r--r--jjb/lf-infra-releasedockerhub.yaml115
-rw-r--r--jjb/modeling/modeling-etsicatalog-csit.yaml24
-rw-r--r--jjb/modeling/modeling-etsicatalog.yaml124
-rw-r--r--jjb/msb/msb-apigateway.yaml143
-rw-r--r--jjb/msb/msb-discovery.yaml134
-rw-r--r--jjb/msb/msb-java-sdk.yaml96
-rw-r--r--jjb/msb/msb-swagger-sdk.yaml96
-rw-r--r--jjb/multicloud/multicloud-framework.yaml15
-rw-r--r--jjb/music/music-distributed-kv-store-csit.yaml25
-rw-r--r--jjb/music/music-distributed-kv-store.yaml49
-rw-r--r--jjb/music/music-jar.yaml69
-rw-r--r--jjb/onap-jjb/onap-pypi-template.yaml371
-rw-r--r--jjb/so/so-libs.yaml118
34 files changed, 3090 insertions, 3180 deletions
diff --git a/jjb/ci-management/ci-management-coverity.yaml b/jjb/ci-management/ci-management-coverity.yaml
index c9a8f5e28..ff822ba9b 100644
--- a/jjb/ci-management/ci-management-coverity.yaml
+++ b/jjb/ci-management/ci-management-coverity.yaml
@@ -2,152 +2,152 @@
# Coverity Scan static analysis
- job-template:
- name: '{project-name}-coverity'
- id: onap-gerrit-maven-coverity
- description: >
- <hr/>
- <h2>How to access Coverity Scan static analysis results</h2>
- <ol>
- <li>Visit <a href="https://scan.coverity.com/projects/{coverity-project-name}">Coverity Scan
- project page</a>.</li>
- <li>If you have not been added to the project on Coverity Scan service yet:
+ name: "{project-name}-coverity"
+ id: onap-gerrit-maven-coverity
+ description: >
+ <hr/>
+ <h2>How to access Coverity Scan static analysis results</h2>
<ol>
- <li>Click on <a href="https://scan.coverity.com/memberships/new?project_id={coverity-project-name}">
- Add me to project</a>.</li>
- <li>Wait till the project administrators grant you appropriate permissions.</li>
+ <li>Visit <a href="https://scan.coverity.com/projects/{coverity-project-name}">Coverity Scan
+ project page</a>.</li>
+ <li>If you have not been added to the project on Coverity Scan service yet:
+ <ol>
+ <li>Click on <a href="https://scan.coverity.com/memberships/new?project_id={coverity-project-name}">
+ Add me to project</a>.</li>
+ <li>Wait till the project administrators grant you appropriate permissions.</li>
+ </ol>
+ <li>Click on <a href="https://scan.coverity.com/projects/{coverity-project-name}/view_defects">
+ View Defects</a>.</li>
</ol>
- <li>Click on <a href="https://scan.coverity.com/projects/{coverity-project-name}/view_defects">
- View Defects</a>.</li>
- </ol>
- <p>Please note that processing data takes some time. You will get an email when it's done.</p>
- <p>See more <a href="https://wiki.onap.org/x/Y6vQAw">Coverity Scan HOWTOs</a> on ONAP Developer Wiki.</p>
- <hr/>
+ <p>Please note that processing data takes some time. You will get an email when it's done.</p>
+ <p>See more <a href="https://wiki.onap.org/x/Y6vQAw">Coverity Scan HOWTOs</a> on ONAP Developer Wiki.</p>
+ <hr/>
- project-type: freestyle
- node: '{build-node}'
- branch: master
- build-days-to-keep: 7
- build-timeout: 240
- cron: '@daily'
- disabled: false
- dry-run: false
- git-url: '$GIT_URL/$PROJECT'
- java-version: openjdk8
- mvn-global-settings: global-settings
- mvn-opts: ''
- mvn-params: ''
- mvn-version: mvn35
- coverity-project-name: ''
- coverity-token: ''
- coverity-user-email: ''
- coverity-search-paths: ''
- coverity-search-exclude-regexs: ''
- max-git-repo-age-hours: 0
- stream: master
- submodule-recursive: true
- submodule-timeout: 10
- submodule-disable: false
- archive-artifacts: >
- cov-int/BUILD.metrics.xml
- cov-int/build-log.txt
- cov-int/build-timings.txt
- cov-int/cov-import-scm-timings.txt
- cov-int/coverity-scan-analysed-files.txt
- cov-int/scm-untracked-files.txt
- cov-int/failed_jsp/*
- cov-int/java-security-da-input.dat
- cov-int/java-security-da-whitelist.dat
- cov-int/jsp-compilation-log.txt
- cov-int/jsp-debug-log.txt
- cov-int/security.log
+ project-type: freestyle
+ node: "{build-node}"
+ branch: master
+ build-days-to-keep: 7
+ build-timeout: 240
+ cron: "@daily"
+ disabled: false
+ dry-run: false
+ git-url: "$GIT_URL/$PROJECT"
+ java-version: openjdk8
+ mvn-global-settings: global-settings
+ mvn-opts: ""
+ mvn-params: ""
+ mvn-version: mvn35
+ coverity-project-name: ""
+ coverity-token: ""
+ coverity-user-email: ""
+ coverity-search-paths: ""
+ coverity-search-exclude-regexs: ""
+ max-git-repo-age-hours: 0
+ stream: master
+ submodule-recursive: true
+ submodule-timeout: 10
+ submodule-disable: false
+ archive-artifacts: >
+ cov-int/BUILD.metrics.xml
+ cov-int/build-log.txt
+ cov-int/build-timings.txt
+ cov-int/cov-import-scm-timings.txt
+ cov-int/coverity-scan-analysed-files.txt
+ cov-int/scm-untracked-files.txt
+ cov-int/failed_jsp/*
+ cov-int/java-security-da-input.dat
+ cov-int/java-security-da-whitelist.dat
+ cov-int/jsp-compilation-log.txt
+ cov-int/jsp-debug-log.txt
+ cov-int/security.log
- properties:
- - lf-infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
+ properties:
+ - lf-infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
- parameters:
- - lf-infra-parameters:
- project: '{project}'
- branch: '{branch}'
- stream: '{stream}'
- - lf-infra-maven-parameters:
- mvn-opts: '{mvn-opts}'
- mvn-params: '{mvn-params}'
- mvn-version: '{mvn-version}'
- - string:
- name: ARCHIVE_ARTIFACTS
- default: '{archive-artifacts}'
- description: Artifacts to archive to the logs server.
- - string:
- name: SEARCH_PATHS
- default: '{coverity-search-paths}'
- description: >
- Additional directories to search for files to analyse by Coverity
- Scan service (space separated).
- - string:
- name: SEARCH_EXCLUDE_REGEXS
- default: '{coverity-search-exclude-regexs}'
- description: >
- File path patterns to exclude from analysis by Coverity Scan
- service (e.g. 3rd-party or auto-generated sources, space
- separated).
- - string:
- name: COVERITY_USER_EMAIL
- default: '{coverity-user-email}'
- description: >
- E-mail address to receive analysis status report after submittion.
- It must be a registered user on Coverity Scan service added as a
- member to appropriate Coverity Scan project with "Maintainer/Owner"
- role.
- - bool:
- name: DRY_RUN
- default: '{dry-run}'
- description: Do not submit results to Coverity Scan server at the end of the build.
- - string:
- name: 'MAX_GIT_REPO_AGE_HOURS'
- default: '{max-git-repo-age-hours}'
- description: >
- If set to non-zero run the code scan only if there were no git
- repository commits last MAX_GIT_REPO_AGE_HOURS hours.
- It makes sense to set the value twice the 'cron' interval for the
- job (e.g. if 'cron: @daily', then MAX_GIT_REPO_AGE_HOURS=48)
+ parameters:
+ - lf-infra-parameters:
+ project: "{project}"
+ branch: "{branch}"
+ stream: "{stream}"
+ - lf-infra-maven-parameters:
+ mvn-opts: "{mvn-opts}"
+ mvn-params: "{mvn-params}"
+ mvn-version: "{mvn-version}"
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: "{archive-artifacts}"
+ description: Artifacts to archive to the logs server.
+ - string:
+ name: SEARCH_PATHS
+ default: "{coverity-search-paths}"
+ description: >
+ Additional directories to search for files to analyse by Coverity
+ Scan service (space separated).
+ - string:
+ name: SEARCH_EXCLUDE_REGEXS
+ default: "{coverity-search-exclude-regexs}"
+ description: >
+ File path patterns to exclude from analysis by Coverity Scan
+ service (e.g. 3rd-party or auto-generated sources, space
+ separated).
+ - string:
+ name: COVERITY_USER_EMAIL
+ default: "{coverity-user-email}"
+ description: >
+ E-mail address to receive analysis status report after submittion.
+ It must be a registered user on Coverity Scan service added as a
+ member to appropriate Coverity Scan project with "Maintainer/Owner"
+ role.
+ - bool:
+ name: DRY_RUN
+ default: "{dry-run}"
+ description: Do not submit results to Coverity Scan server at the end of the build.
+ - string:
+ name: "MAX_GIT_REPO_AGE_HOURS"
+ default: "{max-git-repo-age-hours}"
+ description: >
+ If set to non-zero run the code scan only if there were no git
+ repository commits last MAX_GIT_REPO_AGE_HOURS hours.
+ It makes sense to set the value twice the 'cron' interval for the
+ job (e.g. if 'cron: @daily', then MAX_GIT_REPO_AGE_HOURS=48)
- triggers:
- - timed: '{obj:cron}'
+ triggers:
+ - timed: "{obj:cron}"
- wrappers:
- - lf-infra-wrappers:
- build-timeout: '{build-timeout}'
- jenkins-ssh-credential: '{jenkins-ssh-credential}'
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: "{build-timeout}"
+ jenkins-ssh-credential: "{jenkins-ssh-credential}"
- builders:
- - lf-infra-pre-build
- - lf-maven-install:
- mvn-version: '{mvn-version}'
- - lf-update-java-alternatives:
- java-version: '{java-version}'
- - lf-provide-maven-settings:
- global-settings-file: global-settings
- settings-file: '{mvn-settings}'
- - inject:
- properties-content: |
- COVERITY_PROJECT_NAME={coverity-project-name}
- COVERITY_TOKEN={coverity-token}
- - shell: !include-raw-escape:
- - ../../global-jjb/shell/common-variables.sh
- - ../../shell/maven-coverity.sh
- - lf-provide-maven-settings-cleanup
+ builders:
+ - lf-infra-pre-build
+ - lf-maven-install:
+ mvn-version: "{mvn-version}"
+ - lf-update-java-alternatives:
+ java-version: "{java-version}"
+ - lf-provide-maven-settings:
+ global-settings-file: global-settings
+ settings-file: "{mvn-settings}"
+ - inject:
+ properties-content: |
+ COVERITY_PROJECT_NAME={coverity-project-name}
+ COVERITY_TOKEN={coverity-token}
+ - shell: !include-raw-escape:
+ - ../../global-jjb/shell/common-variables.sh
+ - ../../shell/maven-coverity.sh
+ - lf-provide-maven-settings-cleanup
- publishers:
- - lf-infra-publish
+ publishers:
+ - lf-infra-publish
- scm:
- - lf-infra-gerrit-scm:
- jenkins-ssh-credential: '{jenkins-ssh-credential}'
- git-url: '{git-url}'
- refspec: $GERRIT_REFSPEC
- branch: $GERRIT_BRANCH
- submodule-recursive: '{submodule-recursive}'
- submodule-timeout: '{submodule-timeout}'
- submodule-disable: '{submodule-disable}'
- choosing-strategy: default
+ scm:
+ - lf-infra-gerrit-scm:
+ jenkins-ssh-credential: "{jenkins-ssh-credential}"
+ git-url: "{git-url}"
+ refspec: $GERRIT_REFSPEC
+ branch: $GERRIT_BRANCH
+ submodule-recursive: "{submodule-recursive}"
+ submodule-timeout: "{submodule-timeout}"
+ submodule-disable: "{submodule-disable}"
+ choosing-strategy: default
diff --git a/jjb/ci-management/ci-management-packer-jobs.yaml b/jjb/ci-management/ci-management-packer-jobs.yaml
index ab6543feb..aa367dfa6 100644
--- a/jjb/ci-management/ci-management-packer-jobs.yaml
+++ b/jjb/ci-management/ci-management-packer-jobs.yaml
@@ -1,98 +1,98 @@
---
- project:
- name: packer-builder-jobs
- jobs:
- - gerrit-packer-merge
- - gerrit-packer-verify-build
-
- project: ci-management
- project-name: ci-management
- branch: master
- archive-artifacts: '**/*.log'
-
- build-node: centos8-builder-2c-1g
- build-timeout: 90
-
- platforms:
- - centos-cs-8
- - ubuntu-18.04
- - ubuntu-20.04
- templates: builder
- update-cloud-image: true
+ name: packer-builder-jobs
+ jobs:
+ - gerrit-packer-merge
+ - gerrit-packer-verify-build
+
+ project: ci-management
+ project-name: ci-management
+ branch: master
+ archive-artifacts: "**/*.log"
+
+ build-node: centos8-builder-2c-1g
+ build-timeout: 90
+
+ platforms:
+ - centos-cs-8
+ - ubuntu-18.04
+ - ubuntu-20.04
+ templates: builder
+ update-cloud-image: true
- project:
- name: packer-docker-jobs
- jobs:
- - gerrit-packer-merge
- - gerrit-packer-verify-build
-
- project: ci-management
- project-name: ci-management
- branch: master
- archive-artifacts: '**/*.log'
-
- build-node: centos8-builder-2c-1g
- build-timeout: 90
-
- platforms:
- - centos-7
- - centos-cs-8
- - ubuntu-18.04
- - ubuntu-20.04
- templates: docker
- update-cloud-image: true
+ name: packer-docker-jobs
+ jobs:
+ - gerrit-packer-merge
+ - gerrit-packer-verify-build
+
+ project: ci-management
+ project-name: ci-management
+ branch: master
+ archive-artifacts: "**/*.log"
+
+ build-node: centos8-builder-2c-1g
+ build-timeout: 90
+
+ platforms:
+ - centos-7
+ - centos-cs-8
+ - ubuntu-18.04
+ - ubuntu-20.04
+ templates: docker
+ update-cloud-image: true
- project:
- name: packer-memcached-jobs
- jobs:
- - gerrit-packer-merge
- - gerrit-packer-verify-build
+ name: packer-memcached-jobs
+ jobs:
+ - gerrit-packer-merge
+ - gerrit-packer-verify-build
- project: ci-management
- project-name: ci-management
- branch: master
- archive-artifacts: '**/*.log'
+ project: ci-management
+ project-name: ci-management
+ branch: master
+ archive-artifacts: "**/*.log"
- build-node: centos8-builder-2c-1g
- build-timeout: 90
+ build-node: centos8-builder-2c-1g
+ build-timeout: 90
- platforms:
- - ubuntu-20.04
- templates: memcached
- update-cloud-image: true
+ platforms:
+ - ubuntu-20.04
+ templates: memcached
+ update-cloud-image: true
- project:
- name: packer-redis-jobs
- jobs:
- - gerrit-packer-merge
- - gerrit-packer-verify-build
+ name: packer-redis-jobs
+ jobs:
+ - gerrit-packer-merge
+ - gerrit-packer-verify-build
- project: ci-management
- project-name: ci-management
- branch: master
- archive-artifacts: '**/*.log'
+ project: ci-management
+ project-name: ci-management
+ branch: master
+ archive-artifacts: "**/*.log"
- build-node: centos8-builder-2c-1g
+ build-node: centos8-builder-2c-1g
- platforms:
- - centos-cs-8
- templates: redis
- update-cloud-image: true
+ platforms:
+ - centos-cs-8
+ templates: redis
+ update-cloud-image: true
- project:
- name: packer-helm-jobs
- jobs:
- - gerrit-packer-merge
- - gerrit-packer-verify-build
-
- project: ci-management
- project-name: ci-management
- branch: master
- archive-artifacts: '**/*.log'
-
- build-node: centos8-builder-2c-1g
-
- platforms:
- - ubuntu-20.04
- templates: helm
- update-cloud-image: true
+ name: packer-helm-jobs
+ jobs:
+ - gerrit-packer-merge
+ - gerrit-packer-verify-build
+
+ project: ci-management
+ project-name: ci-management
+ branch: master
+ archive-artifacts: "**/*.log"
+
+ build-node: centos8-builder-2c-1g
+
+ platforms:
+ - ubuntu-20.04
+ templates: helm
+ update-cloud-image: true
diff --git a/jjb/ci-management/ci-management-views.yaml b/jjb/ci-management/ci-management-views.yaml
index 8986c694e..6ba346007 100644
--- a/jjb/ci-management/ci-management-views.yaml
+++ b/jjb/ci-management/ci-management-views.yaml
@@ -1,140 +1,140 @@
---
- _releng_view: &releng_view_common
- name: releng-view-common
- view-type: list
- filter-executors: false
- filter-queue: false
- columns:
- - status
- - weather
- - job
- - last-success
- - last-failure
- - last-duration
- - build-button
- - jacoco
- - find-bugs
- - robot-list
- recurse: false
+ name: releng-view-common
+ view-type: list
+ filter-executors: false
+ filter-queue: false
+ columns:
+ - status
+ - weather
+ - job
+ - last-success
+ - last-failure
+ - last-duration
+ - build-button
+ - jacoco
+ - find-bugs
+ - robot-list
+ recurse: false
- project:
- name: '00-Empty View'
- views:
- - common-view
- view-name: '00-Empty View'
- view-description: >
- Empty job view. This is used as the default landing view to keep the
- Jenkins UI responding better while a) under high load and b) when there
- are a lot of jobs defined in the system
- view-regex: ''
+ name: "00-Empty View"
+ views:
+ - common-view
+ view-name: "00-Empty View"
+ view-description: >
+ Empty job view. This is used as the default landing view to keep the
+ Jenkins UI responding better while a) under high load and b) when there
+ are a lot of jobs defined in the system
+ view-regex: ""
- view:
- name: 01-Recent
- regex: '.*'
- description: 'List of most recent jobs'
- job-filters:
- most-recent:
- max-to-include: 25
- check-start-time: true
- <<: *releng_view_common
+ name: 01-Recent
+ regex: ".*"
+ description: "List of most recent jobs"
+ job-filters:
+ most-recent:
+ max-to-include: 25
+ check-start-time: true
+ <<: *releng_view_common
- project:
- name: All-Sonar
- views:
- - common-view
- view-name: All-Sonar
- view-regex: '^(?=.*-sonar)(?!.*-no-sonar).*'
- view-description: 'List of Sonar jobs'
+ name: All-Sonar
+ views:
+ - common-view
+ view-name: All-Sonar
+ view-regex: "^(?=.*-sonar)(?!.*-no-sonar).*"
+ view-description: "List of Sonar jobs"
- project:
- name: All-Coverity
- views:
- - common-view
- view-name: All-Coverity
- view-regex: '.*-coverity'
- view-description: >
- <h1>List of Coverity Scan static code analysis jobs</h1>
- <p>See <a href="https://wiki.onap.org/x/Y6vQAw">how to add your component to Coverity Scan</a>
- on ONAP Developer Wiki.</p>
+ name: All-Coverity
+ views:
+ - common-view
+ view-name: All-Coverity
+ view-regex: ".*-coverity"
+ view-description: >
+ <h1>List of Coverity Scan static code analysis jobs</h1>
+ <p>See <a href="https://wiki.onap.org/x/Y6vQAw">how to add your component to Coverity Scan</a>
+ on ONAP Developer Wiki.</p>
- view:
- name: CLM
- description: 'List of CLM jobs'
- regex: '.*-clm-.*'
- view-type: list
- filter-executors: false
- filter-queue: false
- columns:
- - status
- - weather
- - job
- - last-success
- - last-failure
- - last-duration
- - build-button
- - policy-violations
- recurse: false
+ name: CLM
+ description: "List of CLM jobs"
+ regex: ".*-clm-.*"
+ view-type: list
+ filter-executors: false
+ filter-queue: false
+ columns:
+ - status
+ - weather
+ - job
+ - last-success
+ - last-failure
+ - last-duration
+ - build-button
+ - policy-violations
+ recurse: false
- project:
- name: CSIT
- views:
- - csit-view
- view-name: CSIT
- view-description: 'List of CSIT jobs'
- view-regex: '^(?=.*-csit-.*)(?!.*-verify-csit.*).*'
+ name: CSIT
+ views:
+ - csit-view
+ view-name: CSIT
+ view-description: "List of CSIT jobs"
+ view-regex: "^(?=.*-csit-.*)(?!.*-verify-csit.*).*"
- project:
- name: CSIT-Verify
- views:
- - csit-view
- view-name: CSIT-Verify
- view-description: 'List of CSIT Verify jobs'
- view-regex: '^.*-verify-csit.*'
+ name: CSIT-Verify
+ views:
+ - csit-view
+ view-name: CSIT-Verify
+ view-description: "List of CSIT Verify jobs"
+ view-regex: "^.*-verify-csit.*"
- view:
- name: Daily-Jobs
- views:
- - common-view
- view-name: Daily-Jobs
- view-description: 'List of Daily Jobs'
- view-regex: '.*-daily'
+ name: Daily-Jobs
+ views:
+ - common-view
+ view-name: Daily-Jobs
+ view-description: "List of Daily Jobs"
+ view-regex: ".*-daily"
- view:
- name: External-Labs
- views:
- - common-view
- view-name: External-Labs
- view-description: 'List of External Labs jobs'
- view-regex: '^lab-.*'
+ name: External-Labs
+ views:
+ - common-view
+ view-name: External-Labs
+ view-description: "List of External Labs jobs"
+ view-regex: "^lab-.*"
- project:
- name: Merge-Jobs
- views:
- - common-view
- view-name: Merge-Jobs
- view-description: 'List of Merge jobs'
- view-regex: '.*-merge-.*'
+ name: Merge-Jobs
+ views:
+ - common-view
+ view-name: Merge-Jobs
+ view-description: "List of Merge jobs"
+ view-regex: ".*-merge-.*"
- project:
- name: Thirdparty
- views:
- - common-view
- view-name: Thirdparty
- view-description: 'List of Nexus Thirdparty dependencies jobs'
- view-regex: '.*-thirdparty-.*'
+ name: Thirdparty
+ views:
+ - common-view
+ view-name: Thirdparty
+ view-description: "List of Nexus Thirdparty dependencies jobs"
+ view-regex: ".*-thirdparty-.*"
- project:
- name: Verify-Jobs
- views:
- - common-view
- view-name: Verify-Jobs
- view-description: 'List of Verify jobs'
- view-regex: '^.*-verify-.*'
+ name: Verify-Jobs
+ views:
+ - common-view
+ view-name: Verify-Jobs
+ view-description: "List of Verify jobs"
+ view-regex: "^.*-verify-.*"
- project:
- name: Release-Jobs
- views:
- - common-view
- view-name: Release-Jobs
- view-description: 'List of Release Merge jobs'
- view-regex: '.*release-merge.*'
+ name: Release-Jobs
+ views:
+ - common-view
+ view-name: Release-Jobs
+ view-description: "List of Release Merge jobs"
+ view-regex: ".*release-merge.*"
diff --git a/jjb/ci-management/ci-management.yaml b/jjb/ci-management/ci-management.yaml
index 863e1de17..5fb7aa2a8 100644
--- a/jjb/ci-management/ci-management.yaml
+++ b/jjb/ci-management/ci-management.yaml
@@ -1,70 +1,70 @@
---
- project:
- name: ci-management-project-view
- project-name: ci-management
- views:
- - project-view
+ name: ci-management-project-view
+ project-name: ci-management
+ views:
+ - project-view
- project:
- name: ci-management-info
- project-name: ci-management
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: ci-management
- branch: master
+ name: ci-management-info
+ project-name: ci-management
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: ci-management
+ branch: master
- project:
- name: ci-management-jobs
- jobs:
- - gerrit-jenkins-cfg-verify
- - gerrit-jenkins-sandbox-cleanup
- - gerrit-jjb-deploy-job
- - gerrit-jjb-merge
- - gerrit-jjb-verify
- - gerrit-packer-verify
+ name: ci-management-jobs
+ jobs:
+ - gerrit-jenkins-cfg-verify
+ - gerrit-jenkins-sandbox-cleanup
+ - gerrit-jjb-deploy-job
+ - gerrit-jjb-merge
+ - gerrit-jjb-verify
+ - gerrit-packer-verify
- project: 'ci-management'
- project-name: 'ci-management'
- archive-artifacts: '**/*.log'
- branch: 'master'
- build-timeout: '60'
- build-node: 'centos8-builder-2c-1g'
- jjb-version: 4.1.0
- # configure the gerrit-jjb-verify job
- build-node-label-check: true
- build-node-label-list: ""
+ project: "ci-management"
+ project-name: "ci-management"
+ archive-artifacts: "**/*.log"
+ branch: "master"
+ build-timeout: "60"
+ build-node: "centos8-builder-2c-1g"
+ jjb-version: 4.1.0
+ # configure the gerrit-jjb-verify job
+ build-node-label-check: true
+ build-node-label-list: ""
- project:
- name: builder-openstack
- jobs:
- - gerrit-openstack-cron
+ name: builder-openstack
+ jobs:
+ - gerrit-openstack-cron
- project: ci-management
- project-name: ci-management
- build-node: centos8-builder-2c-1g
+ project: ci-management
+ project-name: ci-management
+ build-node: centos8-builder-2c-1g
- jenkins-urls: >
- https://jenkins.onap.org
- https://jenkins.onap.org/sandbox
- openstack-cloud: vex
+ jenkins-urls: >
+ https://jenkins.onap.org
+ https://jenkins.onap.org/sandbox
+ openstack-cloud: vex
- project:
- name: openstack-update-cloud-images
- jobs:
- - gerrit-openstack-update-cloud-image
+ name: openstack-update-cloud-images
+ jobs:
+ - gerrit-openstack-update-cloud-image
- project: ci-management
- project-name: ci-management
- branch: master
- archive-artifacts: '**/*.log'
- jenkins-ssh-credential: onap-jenkins-ssh
+ project: ci-management
+ project-name: ci-management
+ branch: master
+ archive-artifacts: "**/*.log"
+ jenkins-ssh-credential: onap-jenkins-ssh
- build-node: centos8-builder-2c-1g
- # update-cloud-image: true
- build-timeout: 10
+ build-node: centos8-builder-2c-1g
+ # update-cloud-image: true
+ build-timeout: 10
- gerrit-user: "jenkins-$SILO"
- gerrit-host: "gerrit.onap.org"
- gerrit-topic: "update-cloud-image"
- reviewers-email: "onap-jobbuilder@jenkins.onap.org"
+ gerrit-user: "jenkins-$SILO"
+ gerrit-host: "gerrit.onap.org"
+ gerrit-topic: "update-cloud-image"
+ reviewers-email: "onap-jobbuilder@jenkins.onap.org"
diff --git a/jjb/cli/cli.yaml b/jjb/cli/cli.yaml
index 6f8fcb032..e4f140fd6 100644
--- a/jjb/cli/cli.yaml
+++ b/jjb/cli/cli.yaml
@@ -1,117 +1,100 @@
---
- project:
- name: cli-project-view
- project-name: cli
- views:
- - project-view
+ name: cli-project-view
+ project-name: cli
+ views:
+ - project-view
- project:
- name: cli
- java-version: openjdk11
- project-name: 'cli'
- jobs:
- - '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
- - gerrit-maven-stage:
- sign-artifacts: true
- build-node: centos8-docker-4c-4g
- maven-versions-plugin: true
- - gerrit-maven-docker-stage:
- sign-artifacts: true
- build-node: centos8-docker-8c-8g
- maven-versions-plugin: true
- mvn-params: '-Dskip.docker.build=false -Dskip.docker.push=false -Dskip.docker.tag=false -Ddocker.push.registry=nexus3.onap.org:10003'
- container-public-registry: 'nexus3.onap.org:10001'
- container-staging-registry: 'nexus3.onap.org:10003'
- - '{project-name}-gerrit-release-jobs':
- build-node: centos7-docker-2c-1g
- - '{project-name}-{stream}-aai-docker-java-daily':
- pom: 'deployment/docker/pom.xml'
- mvn-goals: 'docker:build'
- docker-image-name: 'onap/cli'
- build-node: ubuntu1804-docker-8c-8g
- project: 'cli'
- stream:
- - 'master':
- branch: 'master'
+ name: cli
+ java-version: openjdk11
+ project-name: "cli"
+ jobs:
+ - "{project-name}-{stream}-verify-java"
+ - "{project-name}-{stream}-merge-java"
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ build-node: centos8-docker-4c-4g
+ maven-versions-plugin: true
+ - gerrit-maven-docker-stage:
+ sign-artifacts: true
+ build-node: centos8-docker-8c-8g
+ maven-versions-plugin: true
+ # yamllint disable-line rule:line-length
+ mvn-params: "-Dskip.docker.build=false -Dskip.docker.push=false -Dskip.docker.tag=false -Ddocker.push.registry=nexus3.onap.org:10003"
+ container-public-registry: "nexus3.onap.org:10001"
+ container-staging-registry: "nexus3.onap.org:10003"
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
+ - "{project-name}-{stream}-aai-docker-java-daily":
+ pom: "deployment/docker/pom.xml"
+ mvn-goals: "docker:build"
+ docker-image-name: "onap/cli"
+ build-node: ubuntu1804-docker-8c-8g
+ project: "cli"
+ stream:
+ - "master":
+ branch: "master"
java-version: openjdk11
- mvn-settings: 'cli-settings'
- files: '**'
- archive-artifacts: ''
- build-node: ubuntu1804-builder-4c-4g
+ mvn-settings: "cli-settings"
+ files: "**"
+ archive-artifacts: ""
+ build-node: ubuntu1804-builder-4c-4g
-#- project:
-# name: cli-arm64
-# project-name: 'cli-arm64'
-# jobs:
-# - '{project-name}-{stream}-aai-docker-java-daily':
-# pom: 'deployment/docker/pom.xml'
-# mvn-goals: 'docker:build'
-# docker-image-name: 'onap/cli'
-#
-# project: 'cli'
-# stream:
-# - 'master':
-# branch: 'master'
-# mvn-settings: 'cli-settings'
-# files: '**'
-# archive-artifacts: ''
-# build-node: ubuntu1804-docker-arm64-4c-2g
-#
- project:
- name: cli-sonar
- java-version: openjdk11
- jobs:
- - gerrit-maven-sonar
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: ubuntu1804-builder-4c-4g
- project: 'cli'
- project-name: 'cli'
- branch: 'master'
- mvn-settings: 'cli-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: cli-sonar
+ java-version: openjdk11
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: ubuntu1804-builder-4c-4g
+ project: "cli"
+ project-name: "cli"
+ branch: "master"
+ mvn-settings: "cli-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
- project:
- name: cli-clm
- java-version: openjdk11
- jobs:
- - gerrit-maven-clm
- nexus-iq-namespace: 'onap-'
- project: 'cli'
- project-name: 'cli'
- branch: 'master'
- mvn-settings: 'cli-settings'
- build-node: ubuntu1804-builder-4c-4g
+ name: cli-clm
+ java-version: openjdk11
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: "onap-"
+ project: "cli"
+ project-name: "cli"
+ branch: "master"
+ mvn-settings: "cli-settings"
+ build-node: ubuntu1804-builder-4c-4g
- project:
- name: cli-info
- project-name: cli
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: cli
- branch: master
+ name: cli-info
+ project-name: cli
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: cli
+ branch: master
- project:
- name: cli-sonar-verify
- java-version: openjdk11
- mvn-version: "mvn36"
- maven-version: "mvn36"
- jobs:
- - gerrit-maven-sonar-verify
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- build-node: ubuntu1804-docker-8c-8g
- project: 'cli'
- project-name: 'cli'
- branch: 'master'
- mvn-settings: 'cli-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: cli-sonar-verify
+ java-version: openjdk11
+ mvn-version: "mvn36"
+ maven-version: "mvn36"
+ jobs:
+ - gerrit-maven-sonar-verify
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ build-node: ubuntu1804-docker-8c-8g
+ project: "cli"
+ project-name: "cli"
+ branch: "master"
+ mvn-settings: "cli-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
diff --git a/jjb/cps/cps-cps-tbdmt.yaml b/jjb/cps/cps-cps-tbdmt.yaml
index ddbd20090..de65d8211 100644
--- a/jjb/cps/cps-cps-tbdmt.yaml
+++ b/jjb/cps/cps-cps-tbdmt.yaml
@@ -1,17 +1,17 @@
---
- project:
- name: cps-tbdmt-project-view
- project-name: cps-cps-tbdmt
- views:
- - project-view
+ name: cps-tbdmt-project-view
+ project-name: cps-cps-tbdmt
+ views:
+ - project-view
- project:
- name: cps-tbdmt-info
- project: cps/cps-tbdmt
- project-name: cps-cps-tbdmt
- build-node: centos8-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
+ name: cps-tbdmt-info
+ project: cps/cps-tbdmt
+ project-name: cps-cps-tbdmt
+ build-node: centos8-builder-2c-1g
+ jobs:
+ - gerrit-info-yaml-verify
- project:
name: cps-tbdmt-clm
@@ -20,11 +20,11 @@
maven-version: "mvn36"
jobs:
- gerrit-maven-clm
- nexus-iq-namespace: 'onap-'
+ nexus-iq-namespace: "onap-"
project: cps/cps-tbdmt
project-name: cps-cps-tbdmt
- branch: 'master'
- mvn-settings: 'cps-cps-tbdmt-settings'
+ branch: "master"
+ mvn-settings: "cps-cps-tbdmt-settings"
build-node: centos8-docker-8c-8g
- project:
@@ -34,11 +34,11 @@
maven-version: "mvn36"
project-name: cps-cps-tbdmt
project: cps/cps-tbdmt
- mvn-snapshot-id: 'ecomp-snapshots'
- nexus-snapshot-repo: 'snapshots'
+ mvn-snapshot-id: "ecomp-snapshots"
+ nexus-snapshot-repo: "snapshots"
jobs:
- gerrit-maven-verify:
- mvn-goals: 'clean install'
+ mvn-goals: "clean install"
- gerrit-maven-merge
- gerrit-maven-stage:
sign-artifacts: true
@@ -47,17 +47,17 @@
- gerrit-maven-docker-stage:
build-node: centos8-docker-8c-8g
maven-versions-plugin: true
- mvn-params: '-P docker'
- container-public-registry: 'nexus3.onap.org:10001'
- container-staging-registry: 'nexus3.onap.org:10003'
- - '{project-name}-gerrit-release-jobs':
+ mvn-params: "-P docker"
+ container-public-registry: "nexus3.onap.org:10001"
+ container-staging-registry: "nexus3.onap.org:10003"
+ - "{project-name}-gerrit-release-jobs":
build-node: centos7-docker-2c-1g
stream:
- - 'master':
- branch: 'master'
- mvn-settings: 'cps-cps-tbdmt-settings'
- files: '**'
- archive-artifacts: ''
+ - "master":
+ branch: "master"
+ mvn-settings: "cps-cps-tbdmt-settings"
+ files: "**"
+ archive-artifacts: ""
build-node: centos8-docker-8c-8g
- project:
@@ -68,34 +68,34 @@
jobs:
- gerrit-maven-sonar
sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
build-node: centos8-docker-8c-8g
- project: 'cps/cps-tbdmt'
- project-name: 'cps-cps-tbdmt'
- branch: 'master'
- mvn-settings: 'cps-cps-tbdmt-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ project: "cps/cps-tbdmt"
+ project-name: "cps-cps-tbdmt"
+ branch: "master"
+ mvn-settings: "cps-cps-tbdmt-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
- project:
- name: cps-tbdmt-sonar-verify
- java-version: openjdk11
- mvn-version: "mvn36"
- maven-version: "mvn36"
- jobs:
- - gerrit-maven-sonar-verify
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonarcloud-qualitygate-wait: true
- sonar-mvn-goal: '{sonar_mvn_goal}'
- build-node: centos8-docker-8c-8g
- project: 'cps/cps-tbdmt'
- project-name: 'cps-cps-tbdmt'
- branch: 'master'
- mvn-settings: 'cps-cps-tbdmt-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: cps-tbdmt-sonar-verify
+ java-version: openjdk11
+ mvn-version: "mvn36"
+ maven-version: "mvn36"
+ jobs:
+ - gerrit-maven-sonar-verify
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonarcloud-qualitygate-wait: true
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ build-node: centos8-docker-8c-8g
+ project: "cps/cps-tbdmt"
+ project-name: "cps-cps-tbdmt"
+ branch: "master"
+ mvn-settings: "cps-cps-tbdmt-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
diff --git a/jjb/cps/cps-cps-temporal-csit.yaml b/jjb/cps/cps-cps-temporal-csit.yaml
index 362ef580d..2bf9391c7 100644
--- a/jjb/cps/cps-cps-temporal-csit.yaml
+++ b/jjb/cps/cps-cps-temporal-csit.yaml
@@ -2,22 +2,22 @@
- project:
name: cps-cps-temporal-csit
jobs:
- - '{project-name}-review-verification-maven-{stream}':
+ - "{project-name}-review-verification-maven-{stream}":
mvn-goals: clean install
- mvn-params: '-Dmaven.test.skip=true -Ddocker.repository.push= -Pdocker'
- - '{project-name}-merge-verification-maven-{stream}':
+ mvn-params: "-Dmaven.test.skip=true -Ddocker.repository.push= -Pdocker"
+ - "{project-name}-merge-verification-maven-{stream}":
mvn-goals: clean install
- mvn-params: '-Dmaven.test.skip=true -Ddocker.repository.push= -Pdocker'
- project-name: 'cps-cps-temporal'
- recipients: 'toine.siebelink@est.tech'
+ mvn-params: "-Dmaven.test.skip=true -Ddocker.repository.push= -Pdocker"
+ project-name: "cps-cps-temporal"
+ recipients: "toine.siebelink@est.tech"
# project name in gerrit
- project: 'cps/cps-temporal'
+ project: "cps/cps-temporal"
stream:
- - 'master':
- branch: 'master'
- - 'jakarta':
- branch: 'jakarta'
- - 'kohn':
- branch: 'kohn'
- mvn-settings: 'cps-cps-temporal-settings'
- robot-options: ''
+ - "master":
+ branch: "master"
+ - "jakarta":
+ branch: "jakarta"
+ - "kohn":
+ branch: "kohn"
+ mvn-settings: "cps-cps-temporal-settings"
+ robot-options: ""
diff --git a/jjb/cps/cps-cps-temporal.yaml b/jjb/cps/cps-cps-temporal.yaml
index cf4f66dc1..cf7a524d5 100644
--- a/jjb/cps/cps-cps-temporal.yaml
+++ b/jjb/cps/cps-cps-temporal.yaml
@@ -1,105 +1,105 @@
---
- project:
- name: cps-cps-temporal-project-view
- project-name: cps-cps-temporal
- views:
- - project-view
+ name: cps-cps-temporal-project-view
+ project-name: cps-cps-temporal
+ views:
+ - project-view
- project:
- name: cps-cps-temporal-info
- project: cps/cps-temporal
- project-name: cps-cps-temporal
- build-node: centos8-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
+ name: cps-cps-temporal-info
+ project: cps/cps-temporal
+ project-name: cps-cps-temporal
+ build-node: centos8-builder-2c-1g
+ jobs:
+ - gerrit-info-yaml-verify
- project:
- name: cps-cps-temporal
- java-version: openjdk11
- mvn-version: mvn36
- maven-version: mvn36
- project-name: cps-cps-temporal
- project: cps/cps-temporal
- mvn-snapshot-id: 'ecomp-snapshots'
- nexus-snapshot-repo: 'snapshots'
- jobs:
- - gerrit-maven-docker-verify:
- container-public-registry: nexus3.onap.org:10001
- - gerrit-maven-docker-merge:
- container-public-registry: nexus3.onap.org:10001
- container-snapshot-registry: nexus3.onap.org:10003
- - gerrit-maven-docker-stage:
- build-node: centos8-docker-8c-8g
- maven-versions-plugin: true
- mvn-params: -Pdocker
- container-public-registry: nexus3.onap.org:10001
- container-staging-registry: nexus3.onap.org:10003
- - '{project-name}-gerrit-release-jobs':
- build-node: centos7-docker-2c-1g
- stream:
- - 'master':
- branch: master
- - 'jakarta':
- branch: 'jakarta'
- cron: ''
- - 'kohn':
- branch: 'kohn'
- cron: ''
- mvn-settings: cps-cps-temporal-settings
- files: '**'
- archive-artifacts: ''
- build-node: centos8-docker-8c-8g
+ name: cps-cps-temporal
+ java-version: openjdk11
+ mvn-version: mvn36
+ maven-version: mvn36
+ project-name: cps-cps-temporal
+ project: cps/cps-temporal
+ mvn-snapshot-id: "ecomp-snapshots"
+ nexus-snapshot-repo: "snapshots"
+ jobs:
+ - gerrit-maven-docker-verify:
+ container-public-registry: nexus3.onap.org:10001
+ - gerrit-maven-docker-merge:
+ container-public-registry: nexus3.onap.org:10001
+ container-snapshot-registry: nexus3.onap.org:10003
+ - gerrit-maven-docker-stage:
+ build-node: centos8-docker-8c-8g
+ maven-versions-plugin: true
+ mvn-params: -Pdocker
+ container-public-registry: nexus3.onap.org:10001
+ container-staging-registry: nexus3.onap.org:10003
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
+ stream:
+ - "master":
+ branch: master
+ - "jakarta":
+ branch: "jakarta"
+ cron: ""
+ - "kohn":
+ branch: "kohn"
+ cron: ""
+ mvn-settings: cps-cps-temporal-settings
+ files: "**"
+ archive-artifacts: ""
+ build-node: centos8-docker-8c-8g
- project:
- name: cps-cps-temporal-clm
- java-version: openjdk11
- mvn-version: mvn36
- maven-version: mvn36
- jobs:
- - gerrit-maven-clm
- nexus-iq-namespace: onap-
- project: cps/cps-temporal
- project-name: cps-cps-temporal
- branch: master
- mvn-settings: cps-cps-temporal-settings
- build-node: centos8-docker-8c-8g
+ name: cps-cps-temporal-clm
+ java-version: openjdk11
+ mvn-version: mvn36
+ maven-version: mvn36
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: onap-
+ project: cps/cps-temporal
+ project-name: cps-cps-temporal
+ branch: master
+ mvn-settings: cps-cps-temporal-settings
+ build-node: centos8-docker-8c-8g
- project:
- name: cps-cps-temporal-sonar
- java-version: openjdk11
- mvn-version: mvn36
- maven-version: mvn36
- jobs:
- - gerrit-maven-sonar
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: centos8-docker-8c-8g
- project: 'cps/cps-temporal'
- project-name: 'cps-cps-temporal'
- branch: 'master'
- mvn-settings: 'cps-cps-temporal-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: cps-cps-temporal-sonar
+ java-version: openjdk11
+ mvn-version: mvn36
+ maven-version: mvn36
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: centos8-docker-8c-8g
+ project: "cps/cps-temporal"
+ project-name: "cps-cps-temporal"
+ branch: "master"
+ mvn-settings: "cps-cps-temporal-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
- project:
- name: cps-cps-temporal-sonar-verify
- java-version: openjdk11
- mvn-version: "mvn36"
- maven-version: "mvn36"
- jobs:
- - gerrit-maven-sonar-verify
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonarcloud-qualitygate-wait: true
- sonar-mvn-goal: '{sonar_mvn_goal}'
- build-node: centos8-docker-8c-8g
- project: 'cps/cps-temporal'
- project-name: 'cps-cps-temporal'
- branch: 'master'
- mvn-settings: 'cps-cps-temporal-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: cps-cps-temporal-sonar-verify
+ java-version: openjdk11
+ mvn-version: "mvn36"
+ maven-version: "mvn36"
+ jobs:
+ - gerrit-maven-sonar-verify
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonarcloud-qualitygate-wait: true
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ build-node: centos8-docker-8c-8g
+ project: "cps/cps-temporal"
+ project-name: "cps-cps-temporal"
+ branch: "master"
+ mvn-settings: "cps-cps-temporal-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
diff --git a/jjb/cps/cps-csit.yaml b/jjb/cps/cps-csit.yaml
index ec61636d5..078249b73 100644
--- a/jjb/cps/cps-csit.yaml
+++ b/jjb/cps/cps-csit.yaml
@@ -2,24 +2,24 @@
- project:
name: cps-csit
jobs:
- - '{project-name}-review-verification-maven-{stream}':
+ - "{project-name}-review-verification-maven-{stream}":
mvn-goals: clean install
- mvn-params: '-Dmaven.test.skip=true -Ddocker.repository.push='
- - '{project-name}-merge-verification-maven-{stream}':
+ mvn-params: "-Dmaven.test.skip=true -Ddocker.repository.push="
+ - "{project-name}-merge-verification-maven-{stream}":
mvn-goals: clean install
- mvn-params: '-Dmaven.test.skip=true -Ddocker.repository.push='
- project-name: 'cps'
+ mvn-params: "-Dmaven.test.skip=true -Ddocker.repository.push="
+ project-name: "cps"
build-node: ubuntu1804-docker-8c-8g
- recipients: 'toine.siebelink@est.tech'
+ recipients: "toine.siebelink@est.tech"
# project name in gerrit
- project: 'cps'
+ project: "cps"
stream:
- - 'master':
- branch: 'master'
- - 'jakarta':
- branch: 'jakarta'
- - 'kohn':
- branch: 'kohn'
- mvn-settings: 'cps-settings'
- robot-options: ''
- branch: 'master'
+ - "master":
+ branch: "master"
+ - "jakarta":
+ branch: "jakarta"
+ - "kohn":
+ branch: "kohn"
+ mvn-settings: "cps-settings"
+ robot-options: ""
+ branch: "master"
diff --git a/jjb/cps/cps-ncmp-dmi-plugin-csit.yaml b/jjb/cps/cps-ncmp-dmi-plugin-csit.yaml
index e43de258d..1dd6a962a 100644
--- a/jjb/cps/cps-ncmp-dmi-plugin-csit.yaml
+++ b/jjb/cps/cps-ncmp-dmi-plugin-csit.yaml
@@ -2,22 +2,22 @@
- project:
name: cps-ncmp-dmi-plugin-csit
jobs:
- - '{project-name}-review-verification-maven-{stream}':
+ - "{project-name}-review-verification-maven-{stream}":
mvn-goals: clean install
- mvn-params: '-Dmaven.test.skip=true -Pdocker'
- - '{project-name}-merge-verification-maven-{stream}':
+ mvn-params: "-Dmaven.test.skip=true -Pdocker"
+ - "{project-name}-merge-verification-maven-{stream}":
mvn-goals: clean install
- mvn-params: '-Dmaven.test.skip=true -Pdocker'
- project-name: 'cps-ncmp-dmi-plugin'
- recipients: 'toine.siebelink@est.tech'
+ mvn-params: "-Dmaven.test.skip=true -Pdocker"
+ project-name: "cps-ncmp-dmi-plugin"
+ recipients: "toine.siebelink@est.tech"
# project name in gerrit
- project: 'cps/ncmp-dmi-plugin'
+ project: "cps/ncmp-dmi-plugin"
stream:
- - 'master':
- branch: 'master'
- - 'jakarta':
- branch: 'jakarta'
- - 'kohn':
- branch: 'kohn'
- mvn-settings: 'cps-ncmp-dmi-plugin-settings'
- robot-options: ''
+ - "master":
+ branch: "master"
+ - "jakarta":
+ branch: "jakarta"
+ - "kohn":
+ branch: "kohn"
+ mvn-settings: "cps-ncmp-dmi-plugin-settings"
+ robot-options: ""
diff --git a/jjb/cps/cps-ncmp-dmi-plugin.yaml b/jjb/cps/cps-ncmp-dmi-plugin.yaml
index 96b1dd467..e03308eff 100644
--- a/jjb/cps/cps-ncmp-dmi-plugin.yaml
+++ b/jjb/cps/cps-ncmp-dmi-plugin.yaml
@@ -1,111 +1,111 @@
---
- project:
- name: cps-ncmp-dmi-plugin-project-view
- project-name: cps-ncmp-dmi-plugin
- views:
- - project-view
+ name: cps-ncmp-dmi-plugin-project-view
+ project-name: cps-ncmp-dmi-plugin
+ views:
+ - project-view
- project:
- name: cps-ncmp-dmi-plugin-info
- project: cps/ncmp-dmi-plugin
- project-name: cps-ncmp-dmi-plugin
- build-node: centos8-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
+ name: cps-ncmp-dmi-plugin-info
+ project: cps/ncmp-dmi-plugin
+ project-name: cps-ncmp-dmi-plugin
+ build-node: centos8-builder-2c-1g
+ jobs:
+ - gerrit-info-yaml-verify
- project:
- name: cps-ncmp-dmi-plugin
- java-version: openjdk11
- mvn-version: mvn36
- maven-version: mvn36
- project-name: cps-ncmp-dmi-plugin
- project: cps/ncmp-dmi-plugin
- mvn-snapshot-id: 'ecomp-snapshots'
- nexus-snapshot-repo: 'snapshots'
- jobs:
- - gerrit-maven-docker-verify:
- container-public-registry: nexus3.onap.org:10001
- - gerrit-maven-merge
- - gerrit-maven-stage:
- sign-artifacts: true
- build-node: centos8-docker-8c-8g
- maven-versions-plugin: true
- sbom-generator: true
- - gerrit-maven-docker-stage:
- build-node: centos8-docker-8c-8g
- maven-versions-plugin: true
- mvn-params: -Pdocker
- container-public-registry: nexus3.onap.org:10001
- container-staging-registry: nexus3.onap.org:10003
- - '{project-name}-gerrit-release-jobs':
- build-node: centos7-docker-2c-1g
- stream:
- - 'master':
- branch: master
- - 'jakarta':
- branch: 'jakarta'
- cron: ''
- - 'kohn':
- branch: 'kohn'
- cron: ''
- - 'london':
- branch: 'london'
- cron: ''
- mvn-settings: cps-ncmp-dmi-plugin-settings
- files: '**'
- archive-artifacts: ''
- build-node: centos8-docker-8c-8g
+ name: cps-ncmp-dmi-plugin
+ java-version: openjdk11
+ mvn-version: mvn36
+ maven-version: mvn36
+ project-name: cps-ncmp-dmi-plugin
+ project: cps/ncmp-dmi-plugin
+ mvn-snapshot-id: "ecomp-snapshots"
+ nexus-snapshot-repo: "snapshots"
+ jobs:
+ - gerrit-maven-docker-verify:
+ container-public-registry: nexus3.onap.org:10001
+ - gerrit-maven-merge
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ build-node: centos8-docker-8c-8g
+ maven-versions-plugin: true
+ sbom-generator: true
+ - gerrit-maven-docker-stage:
+ build-node: centos8-docker-8c-8g
+ maven-versions-plugin: true
+ mvn-params: -Pdocker
+ container-public-registry: nexus3.onap.org:10001
+ container-staging-registry: nexus3.onap.org:10003
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
+ stream:
+ - "master":
+ branch: master
+ - "jakarta":
+ branch: "jakarta"
+ cron: ""
+ - "kohn":
+ branch: "kohn"
+ cron: ""
+ - "london":
+ branch: "london"
+ cron: ""
+ mvn-settings: cps-ncmp-dmi-plugin-settings
+ files: "**"
+ archive-artifacts: ""
+ build-node: centos8-docker-8c-8g
- project:
- name: cps-ncmp-dmi-plugin-clm
- java-version: openjdk11
- mvn-version: mvn36
- maven-version: mvn36
- jobs:
- - gerrit-maven-clm
- nexus-iq-namespace: onap-
- project: cps/ncmp-dmi-plugin
- project-name: cps-ncmp-dmi-plugin
- branch: master
- mvn-settings: cps-ncmp-dmi-plugin-settings
- build-node: centos8-docker-8c-8g
+ name: cps-ncmp-dmi-plugin-clm
+ java-version: openjdk11
+ mvn-version: mvn36
+ maven-version: mvn36
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: onap-
+ project: cps/ncmp-dmi-plugin
+ project-name: cps-ncmp-dmi-plugin
+ branch: master
+ mvn-settings: cps-ncmp-dmi-plugin-settings
+ build-node: centos8-docker-8c-8g
- project:
- name: cps-ncmp-dmi-plugin-sonar
- java-version: openjdk11
- mvn-version: mvn36
- maven-version: mvn36
- jobs:
- - gerrit-maven-sonar
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: centos8-docker-8c-8g
- project: 'cps/ncmp-dmi-plugin'
- project-name: 'cps-ncmp-dmi-plugin'
- branch: 'master'
- mvn-settings: 'cps-ncmp-dmi-plugin-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: cps-ncmp-dmi-plugin-sonar
+ java-version: openjdk11
+ mvn-version: mvn36
+ maven-version: mvn36
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: centos8-docker-8c-8g
+ project: "cps/ncmp-dmi-plugin"
+ project-name: "cps-ncmp-dmi-plugin"
+ branch: "master"
+ mvn-settings: "cps-ncmp-dmi-plugin-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
- project:
- name: cps-ncmp-dmi-plugin-sonar-verify
- java-version: openjdk11
- mvn-version: "mvn36"
- maven-version: "mvn36"
- jobs:
- - gerrit-maven-sonar-verify
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonarcloud-qualitygate-wait: true
- sonar-mvn-goal: '{sonar_mvn_goal}'
- build-node: centos8-docker-8c-8g
- project: 'cps/ncmp-dmi-plugin'
- project-name: 'cps-ncmp-dmi-plugin'
- branch: 'master'
- mvn-settings: 'cps-ncmp-dmi-plugin-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: cps-ncmp-dmi-plugin-sonar-verify
+ java-version: openjdk11
+ mvn-version: "mvn36"
+ maven-version: "mvn36"
+ jobs:
+ - gerrit-maven-sonar-verify
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonarcloud-qualitygate-wait: true
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ build-node: centos8-docker-8c-8g
+ project: "cps/ncmp-dmi-plugin"
+ project-name: "cps-ncmp-dmi-plugin"
+ branch: "master"
+ mvn-settings: "cps-ncmp-dmi-plugin-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
diff --git a/jjb/cps/cps.yaml b/jjb/cps/cps.yaml
index d0a57a1f4..f3beb5461 100644
--- a/jjb/cps/cps.yaml
+++ b/jjb/cps/cps.yaml
@@ -1,17 +1,17 @@
---
- project:
- name: cps-project-view
- project-name: cps
- views:
- - project-view
+ name: cps-project-view
+ project-name: cps
+ views:
+ - project-view
- project:
- name: cps-info
- project: cps
- project-name: cps
- build-node: centos8-builder-2c-1g
- jobs:
- - gerrit-info-yaml-verify
+ name: cps-info
+ project: cps
+ project-name: cps
+ build-node: centos8-builder-2c-1g
+ jobs:
+ - gerrit-info-yaml-verify
- project:
name: cps-clm
@@ -20,91 +20,91 @@
maven-version: "mvn36"
jobs:
- gerrit-maven-clm
- nexus-iq-namespace: 'onap-'
- project: 'cps'
- project-name: 'cps'
- branch: 'master'
- mvn-settings: 'cps-settings'
+ nexus-iq-namespace: "onap-"
+ project: "cps"
+ project-name: "cps"
+ branch: "master"
+ mvn-settings: "cps-settings"
build-node: centos8-docker-8c-8g
- project:
- name: cps
- java-version: openjdk11
- mvn-version: "mvn36"
- maven-version: "mvn36"
- project-name: 'cps'
- project: 'cps'
- jobs:
- - '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java':
- docker-pom: 'pom.xml'
- mvn-params: "-P cps-ncmp-docker"
- - gerrit-maven-stage:
- sign-artifacts: true
- build-node: centos8-docker-8c-8g
- maven-versions-plugin: true
- sbom-generator: true
- - gerrit-maven-docker-stage:
- build-node: centos8-docker-8c-8g
- maven-versions-plugin: true
- mvn-params: '-P cps-ncmp-docker'
- container-public-registry: 'nexus3.onap.org:10001'
- container-staging-registry: 'nexus3.onap.org:10003'
- - '{project-name}-gerrit-release-jobs':
- build-node: centos7-docker-2c-1g
- stream:
- - 'master':
- branch: 'master'
- - 'jakarta':
- branch: 'jakarta'
- cron: ''
- - 'kohn':
- branch: 'kohn'
- cron: ''
- - 'london':
- branch: 'london'
- cron: ''
- mvn-settings: 'cps-settings'
- files: '**'
- archive-artifacts: ''
- build-node: centos8-docker-8c-8g
+ name: cps
+ java-version: openjdk11
+ mvn-version: "mvn36"
+ maven-version: "mvn36"
+ project-name: "cps"
+ project: "cps"
+ jobs:
+ - "{project-name}-{stream}-verify-java"
+ - "{project-name}-{stream}-merge-java":
+ docker-pom: "pom.xml"
+ mvn-params: "-P cps-ncmp-docker"
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ build-node: centos8-docker-8c-8g
+ maven-versions-plugin: true
+ sbom-generator: true
+ - gerrit-maven-docker-stage:
+ build-node: centos8-docker-8c-8g
+ maven-versions-plugin: true
+ mvn-params: "-P cps-ncmp-docker"
+ container-public-registry: "nexus3.onap.org:10001"
+ container-staging-registry: "nexus3.onap.org:10003"
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
+ stream:
+ - "master":
+ branch: "master"
+ - "jakarta":
+ branch: "jakarta"
+ cron: ""
+ - "kohn":
+ branch: "kohn"
+ cron: ""
+ - "london":
+ branch: "london"
+ cron: ""
+ mvn-settings: "cps-settings"
+ files: "**"
+ archive-artifacts: ""
+ build-node: centos8-docker-8c-8g
- project:
- name: cps-sonar
- java-version: openjdk11
- mvn-version: "mvn36"
- maven-version: "mvn36"
- jobs:
- - gerrit-maven-sonar
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: centos8-docker-8c-8g
- project: 'cps'
- project-name: 'cps'
- branch: 'master'
- mvn-settings: 'cps-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: cps-sonar
+ java-version: openjdk11
+ mvn-version: "mvn36"
+ maven-version: "mvn36"
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: centos8-docker-8c-8g
+ project: "cps"
+ project-name: "cps"
+ branch: "master"
+ mvn-settings: "cps-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
- project:
- name: cps-sonar-verify
- java-version: openjdk11
- mvn-version: "mvn36"
- maven-version: "mvn36"
- jobs:
- - gerrit-maven-sonar-verify
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonarcloud-qualitygate-wait: true
- sonar-mvn-goal: '{sonar_mvn_goal}'
- build-node: centos8-docker-8c-8g
- project: 'cps'
- project-name: 'cps'
- branch: 'master'
- mvn-settings: 'cps-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: cps-sonar-verify
+ java-version: openjdk11
+ mvn-version: "mvn36"
+ maven-version: "mvn36"
+ jobs:
+ - gerrit-maven-sonar-verify
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonarcloud-qualitygate-wait: true
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ build-node: centos8-docker-8c-8g
+ project: "cps"
+ project-name: "cps"
+ branch: "master"
+ mvn-settings: "cps-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
diff --git a/jjb/demo/demo.yaml b/jjb/demo/demo.yaml
index 40a5ea41b..be5ef6d1b 100644
--- a/jjb/demo/demo.yaml
+++ b/jjb/demo/demo.yaml
@@ -1,81 +1,81 @@
---
- project:
- name: demo-project-view
- project-name: demo
- views:
- - project-view
+ name: demo-project-view
+ project-name: demo
+ views:
+ - project-view
- project:
- name: demo
- project-name: 'demo'
- jobs:
- - '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
- - gerrit-maven-stage:
- sign-artifacts: true
- build-node: centos8-docker-4c-4g
- maven-versions-plugin: true
- - '{project-name}-gerrit-release-jobs':
- build-node: centos7-docker-2c-1g
+ name: demo
+ project-name: "demo"
+ jobs:
+ - "{project-name}-{stream}-verify-java"
+ - "{project-name}-{stream}-merge-java"
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ build-node: centos8-docker-4c-4g
+ maven-versions-plugin: true
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
- project: 'demo'
- stream:
- - 'master':
- branch: 'master'
- mvn-settings: 'demo-settings'
- files: '**'
- archive-artifacts: ''
+ project: "demo"
+ stream:
+ - "master":
+ branch: "master"
+ mvn-settings: "demo-settings"
+ files: "**"
+ archive-artifacts: ""
- project:
- name: demo-sonar
- jobs:
- - gerrit-maven-sonar
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: ubuntu1804-builder-4c-4g
- project: 'demo'
- project-name: 'demo'
- branch: 'master'
- mvn-settings: 'demo-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: demo-sonar
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: ubuntu1804-builder-4c-4g
+ project: "demo"
+ project-name: "demo"
+ branch: "master"
+ mvn-settings: "demo-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
- project:
- name: demo-info
- project-name: demo
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: demo
- branch: master
+ name: demo-info
+ project-name: demo
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: demo
+ branch: master
- project:
- name: demo-linters
- project: 'demo'
- project-name: 'demo'
- python-version: python3
- jobs:
- - integration-linters
- subproject:
- - 'yaml':
- tox-dir: '.'
- tox-envs: 'yaml'
- pattern: '**/*.yaml'
- - 'yml':
- tox-dir: '.'
- tox-envs: 'yaml'
- pattern: '**/*.yml'
- - 'json':
- tox-dir: '.'
- tox-envs: 'json'
- pattern: '**/*.json'
- - 'python':
- tox-dir: '.'
- tox-envs: 'py'
- pattern: '**/*.py'
- stream:
- - 'master':
- branch: 'master'
+ name: demo-linters
+ project: "demo"
+ project-name: "demo"
+ python-version: python3
+ jobs:
+ - integration-linters
+ subproject:
+ - "yaml":
+ tox-dir: "."
+ tox-envs: "yaml"
+ pattern: "**/*.yaml"
+ - "yml":
+ tox-dir: "."
+ tox-envs: "yaml"
+ pattern: "**/*.yml"
+ - "json":
+ tox-dir: "."
+ tox-envs: "json"
+ pattern: "**/*.json"
+ - "python":
+ tox-dir: "."
+ tox-envs: "py"
+ pattern: "**/*.py"
+ stream:
+ - "master":
+ branch: "master"
diff --git a/jjb/doc/rules.yaml b/jjb/doc/rules.yaml
index 9315bc88b..9ff64b5d9 100644
--- a/jjb/doc/rules.yaml
+++ b/jjb/doc/rules.yaml
@@ -1,156 +1,159 @@
+---
- scm:
- name: doc-scm
- scm:
- - git:
- url: 'https://gerrit.onap.org/r/{project}'
- refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/changes/*'
- branches:
- - '{ref}'
+ name: doc-scm
+ scm:
+ - git:
+ url: "https://gerrit.onap.org/r/{project}"
+ refspec: "+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/changes/*"
+ branches:
+ - "{ref}"
- trigger:
- name: doc-rules-patchset-created
- triggers:
- - gerrit:
- trigger-on:
- - patchset-created-event
- - comment-added-contains-event:
- comment-contains-value: recheck
- - comment-added-contains-event:
- comment-contains-value: reverify
- server-name: 'Primary'
- projects:
- - project-compare-type: 'ANT'
- project-pattern: '**'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/*'
- - branch-compare-type: 'ANT'
- branch-pattern: 'refs/tags/**'
+ name: doc-rules-patchset-created
+ triggers:
+ - gerrit:
+ trigger-on:
+ - patchset-created-event
+ - comment-added-contains-event:
+ comment-contains-value: recheck
+ - comment-added-contains-event:
+ comment-contains-value: reverify
+ server-name: "Primary"
+ projects:
+ - project-compare-type: "ANT"
+ project-pattern: "**"
+ branches:
+ - branch-compare-type: "ANT"
+ branch-pattern: "**/*"
+ - branch-compare-type: "ANT"
+ branch-pattern: "refs/tags/**"
- builder:
- name: doc-rules
- builders:
- - shell: |
- #!/bin/bash
- . /lib/lsb/init-functions || exit 0
- exitstatus="0"
- warning="0"
- # message, begin
- log_success_msg "INFO Starting additional checks related to documentation."
- log_success_msg "INFO See https://git.onap.org/doc/doc-best-practice for example config files (master branch)."
- log_success_msg "INFO Modify example config files if you like to use them in a release branch."
- log_success_msg "INFO See https://wiki.onap.org/x/w4IEBw for the detailed procedure #02."
- log_success_msg "INFO In case of questions please contact the ONAP documentation team."
- # docs directory
- if [ ! -d docs ] ; then
- log_success_msg "INFO Directory docs not found. Skipping further checks."
- exit 0
- fi
- # config files, required
- for i in docs/index.rst docs/conf.py docs/requirements-docs.txt docs/_static/css/ribbon.css; do
- if [ ! -f $i ] ; then
- log_failure_msg "FAIL $i missing. Please add it or remove the full docs directory."
- exitstatus="1"
- else
- log_success_msg "INFO $i found."
- fi
- done
- # config files, no longer required
- for i in docs/conf.yaml; do
- if [ -f $i ] ; then
- log_failure_msg "FAIL $i found. It is no longer required. Please remove it."
- exitstatus="1"
- else
- log_success_msg "INFO $i not found."
- fi
- done
- # tox.ini @ docs directory
- filename="docs/tox.ini"
- if [ ! -f $filename ] ; then
- log_failure_msg "FAIL $filename missing. Please add it or remove the full docs directory."
- exitstatus="1"
- else
- log_success_msg "INFO $filename found."
- # sphinx-build command and -W option
- sphinxbuild_detected=0
- linenumber=0
- while IFS="" read -r line || [ -n "$line" ] ; do
- linenumber=$((linenumber+1))
- if echo $line | grep -q '^[ \t]*sphinx-build.*' ; then
- sphinxbuild_detected="1"
- if echo $line | grep -q '^[ \t]*sphinx-build.* -W ' ; then
- log_success_msg "INFO sphinx-build option '-W' used in $filename, line $linenumber."
- elif echo $line | grep -q ' \-b spelling ' ; then
- log_warning_msg "WARN sphinx-build option '-W' missing for spellcheck in $filename, line $linenumber."
- warning="1"
+ name: doc-rules
+ builders:
+ # yamllint disable rule:line-length
+ - shell: |
+ #!/bin/bash
+ . /lib/lsb/init-functions || exit 0
+ exitstatus="0"
+ warning="0"
+ # message, begin
+ log_success_msg "INFO Starting additional checks related to documentation."
+ log_success_msg "INFO See https://git.onap.org/doc/doc-best-practice for example config files (master branch)."
+ log_success_msg "INFO Modify example config files if you like to use them in a release branch."
+ log_success_msg "INFO See https://wiki.onap.org/x/w4IEBw for the detailed procedure #02."
+ log_success_msg "INFO In case of questions please contact the ONAP documentation team."
+ # docs directory
+ if [ ! -d docs ] ; then
+ log_success_msg "INFO Directory docs not found. Skipping further checks."
+ exit 0
+ fi
+ # config files, required
+ for i in docs/index.rst docs/conf.py docs/requirements-docs.txt docs/_static/css/ribbon.css; do
+ if [ ! -f $i ] ; then
+ log_failure_msg "FAIL $i missing. Please add it or remove the full docs directory."
+ exitstatus="1"
+ else
+ log_success_msg "INFO $i found."
+ fi
+ done
+ # config files, no longer required
+ for i in docs/conf.yaml; do
+ if [ -f $i ] ; then
+ log_failure_msg "FAIL $i found. It is no longer required. Please remove it."
+ exitstatus="1"
+ else
+ log_success_msg "INFO $i not found."
+ fi
+ done
+ # tox.ini @ docs directory
+ filename="docs/tox.ini"
+ if [ ! -f $filename ] ; then
+ log_failure_msg "FAIL $filename missing. Please add it or remove the full docs directory."
+ exitstatus="1"
else
- log_failure_msg "FAIL sphinx-build option '-W' missing in $filename, line $linenumber. Please add it."
+ log_success_msg "INFO $filename found."
+ # sphinx-build command and -W option
+ sphinxbuild_detected=0
+ linenumber=0
+ while IFS="" read -r line || [ -n "$line" ] ; do
+ linenumber=$((linenumber+1))
+ if echo $line | grep -q '^[ \t]*sphinx-build.*' ; then
+ sphinxbuild_detected="1"
+ if echo $line | grep -q '^[ \t]*sphinx-build.* -W ' ; then
+ log_success_msg "INFO sphinx-build option '-W' used in $filename, line $linenumber."
+ elif echo $line | grep -q ' \-b spelling ' ; then
+ log_warning_msg "WARN sphinx-build option '-W' missing for spellcheck in $filename, line $linenumber."
+ warning="1"
+ else
+ log_failure_msg "FAIL sphinx-build option '-W' missing in $filename, line $linenumber. Please add it."
+ exitstatus="1"
+ fi
+ fi
+ done < $filename
+ if [ "$sphinxbuild_detected" = "0" ]; then
+ log_failure_msg "FAIL Sphinx-build command(s) missing in $filename. Please add it."
+ exitstatus="1"
+ fi
+ # second tox.ini @ root directory
+ if [ -f ./tox.ini ] ; then
+ # sphinx-build command
+ if cat ./tox.ini | grep -q '^[ \t]*sphinx-build.*' ; then
+ log_warning_msg "WARN tox.ini also exists in root directory and contains sphinx-build command(s). Please check for redundancies."
+ warning="1"
+ fi
+ fi
+ unset sphinxbuild_detected
+ unset linenumber
+ fi
+ unset filename
+ # ribbon.css
+ filename="docs/_static/css/ribbon.css"
+ if [ ! -f $filename ]; then
+ log_failure_msg "FAIL $filename missing. Please add it or remove the full docs directory."
exitstatus="1"
+ else
+ log_success_msg "INFO $filename found."
+ # max-width parameter
+ cssmaxwidth=$(grep '^[ \t]*max-width:' $filename | sed -e 's/^[ \t]*//' | sed -e 's/;$//');
+ if [[ ! $cssmaxwidth == *"max-width: 800px"* ]]; then
+ log_failure_msg "FAIL Setting 'max-width: 800px' missing in $filename. Please add it."
+ exitstatus="1"
+ else
+ log_success_msg "INFO Setting 'max-width: 800px' found in $filename."
+ fi
+ unset cssmaxwidth
+ fi
+ unset filename
+ # message, end
+ if [ "$exitstatus" = "0" ]; then
+ if [ "$warning" = "0" ]; then
+ log_success_msg "INFO Congratulations! No documentation problem(s) detected."
+ else
+ log_warning_msg "WARN No major documentation problem(s) detected but there are warnings!"
+ fi
+ else
+ if [ ! "$warning" = "0" ]; then
+ log_warning_msg "WARN Please check the detected documentation warning(s)!"
+ fi
+ log_failure_msg "FAIL Please fix the detected documentation problem(s)!"
fi
- fi
- done < $filename
- if [ "$sphinxbuild_detected" = "0" ]; then
- log_failure_msg "FAIL Sphinx-build command(s) missing in $filename. Please add it."
- exitstatus="1"
- fi
- # second tox.ini @ root directory
- if [ -f ./tox.ini ] ; then
- # sphinx-build command
- if cat ./tox.ini | grep -q '^[ \t]*sphinx-build.*' ; then
- log_warning_msg "WARN tox.ini also exists in root directory and contains sphinx-build command(s). Please check for redundancies."
- warning="1"
- fi
- fi
- unset sphinxbuild_detected
- unset linenumber
- fi
- unset filename
- # ribbon.css
- filename="docs/_static/css/ribbon.css"
- if [ ! -f $filename ]; then
- log_failure_msg "FAIL $filename missing. Please add it or remove the full docs directory."
- exitstatus="1"
- else
- log_success_msg "INFO $filename found."
- # max-width parameter
- cssmaxwidth=$(grep '^[ \t]*max-width:' $filename | sed -e 's/^[ \t]*//' | sed -e 's/;$//');
- if [[ ! $cssmaxwidth == *"max-width: 800px"* ]]; then
- log_failure_msg "FAIL Setting 'max-width: 800px' missing in $filename. Please add it."
- exitstatus="1"
- else
- log_success_msg "INFO Setting 'max-width: 800px' found in $filename."
- fi
- unset cssmaxwidth
- fi
- unset filename
- # message, end
- if [ "$exitstatus" = "0" ]; then
- if [ "$warning" = "0" ]; then
- log_success_msg "INFO Congratulations! No documentation problem(s) detected."
- else
- log_warning_msg "WARN No major documentation problem(s) detected but there are warnings!"
- fi
- else
- if [ ! "$warning" = "0" ]; then
- log_warning_msg "WARN Please check the detected documentation warning(s)!"
- fi
- log_failure_msg "FAIL Please fix the detected documentation problem(s)!"
- fi
- exit $exitstatus
+ exit $exitstatus
+ # yamllint enable
- job-template:
- name: doc-rules
- node: ubuntu1804-docker-8c-8g
- triggers:
- - doc-rules-patchset-created
- scm:
- - doc-scm:
- ref: $GERRIT_REFSPEC
- project: $GERRIT_PROJECT
- builders:
- - doc-rules
+ name: doc-rules
+ node: ubuntu1804-docker-8c-8g
+ triggers:
+ - doc-rules-patchset-created
+ scm:
+ - doc-scm:
+ ref: $GERRIT_REFSPEC
+ project: $GERRIT_PROJECT
+ builders:
+ - doc-rules
- project:
- name: 'doc-rules'
- jobs:
- - 'doc-rules'
+ name: "doc-rules"
+ jobs:
+ - "doc-rules"
diff --git a/jjb/externalapi/externalapi-nbi.yaml b/jjb/externalapi/externalapi-nbi.yaml
index d641799de..16ce20216 100644
--- a/jjb/externalapi/externalapi-nbi.yaml
+++ b/jjb/externalapi/externalapi-nbi.yaml
@@ -1,93 +1,93 @@
---
- project:
- name: externalapi-project-view
- project-name: externalapi
- views:
- - project-view
+ name: externalapi-project-view
+ project-name: externalapi
+ views:
+ - project-view
- project:
- name: externalapi-nbi
- project-name: 'externalapi-nbi'
- jobs:
- - '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
- - gerrit-maven-stage:
- sign-artifacts: true
- build-node: centos8-docker-8c-8g
- maven-versions-plugin: true
- mvn-params: '-Dmaven.test.skip=true'
- - gerrit-maven-docker-stage:
- build-node: ubuntu1804-docker-8c-8g
- maven-versions-plugin: true
- container-public-registry: 'nexus3.onap.org:10001'
- container-staging-registry: 'nexus3.onap.org:10003'
- mvn-params: '-Dmaven.test.skip=true -P docker'
- - '{project-name}-gerrit-release-jobs':
- build-node: centos7-docker-2c-1g
- project: 'externalapi/nbi'
- stream:
- - 'master':
- branch: 'master'
- mvn-settings: 'externalapi-nbi-settings'
- java-version: openjdk11
- files: '**'
- archive-artifacts: ''
- build-node: ubuntu1804-builder-4c-4g
+ name: externalapi-nbi
+ project-name: "externalapi-nbi"
+ jobs:
+ - "{project-name}-{stream}-verify-java"
+ - "{project-name}-{stream}-merge-java"
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ build-node: centos8-docker-8c-8g
+ maven-versions-plugin: true
+ mvn-params: "-Dmaven.test.skip=true"
+ - gerrit-maven-docker-stage:
+ build-node: ubuntu1804-docker-8c-8g
+ maven-versions-plugin: true
+ container-public-registry: "nexus3.onap.org:10001"
+ container-staging-registry: "nexus3.onap.org:10003"
+ mvn-params: "-Dmaven.test.skip=true -P docker"
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
+ project: "externalapi/nbi"
+ stream:
+ - "master":
+ branch: "master"
+ mvn-settings: "externalapi-nbi-settings"
+ java-version: openjdk11
+ files: "**"
+ archive-artifacts: ""
+ build-node: ubuntu1804-builder-4c-4g
- project:
- name: externalapi-nbi-arm64
- project-name: 'externalapi-nbi-arm64'
- jobs:
- - '{project-name}-{stream}-docker-version-java-daily':
- docker-pom: 'pom.xml'
- mvn-profile: 'docker'
- mvn-params: '-Dmaven.test.skip=true'
- build-node: 'ubuntu1804-docker-arm64-4c-2g'
- project: 'externalapi/nbi'
- stream:
- - 'master':
- branch: 'master'
- mvn-settings: 'externalapi-nbi-settings'
- files: '**'
- archive-artifacts: ''
+ name: externalapi-nbi-arm64
+ project-name: "externalapi-nbi-arm64"
+ jobs:
+ - "{project-name}-{stream}-docker-version-java-daily":
+ docker-pom: "pom.xml"
+ mvn-profile: "docker"
+ mvn-params: "-Dmaven.test.skip=true"
+ build-node: "ubuntu1804-docker-arm64-4c-2g"
+ project: "externalapi/nbi"
+ stream:
+ - "master":
+ branch: "master"
+ mvn-settings: "externalapi-nbi-settings"
+ files: "**"
+ archive-artifacts: ""
- project:
- name: externalapi-nbi-clm
- jobs:
- - gerrit-maven-clm
- nexus-iq-namespace: 'onap-'
- project: 'externalapi/nbi'
- project-name: 'externalapi-nbi'
- stream:
- - 'master':
- branch: 'master'
- mvn-settings: 'externalapi-nbi-settings'
- java-version: openjdk11
+ name: externalapi-nbi-clm
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: "onap-"
+ project: "externalapi/nbi"
+ project-name: "externalapi-nbi"
+ stream:
+ - "master":
+ branch: "master"
+ mvn-settings: "externalapi-nbi-settings"
+ java-version: openjdk11
- project:
- name: externalapi-nbi-sonar
- jobs:
- - gerrit-maven-sonar-prescan-script
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: ubuntu1804-builder-4c-4g
- project: 'externalapi/nbi'
- project-name: 'externalapi-nbi'
- branch: 'master'
- mvn-settings: 'externalapi-nbi-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
- java-version: openjdk11
- sonar-prescan-script: !include-raw-escape: ../ubuntu-latest-nodejs.sh
+ name: externalapi-nbi-sonar
+ jobs:
+ - gerrit-maven-sonar-prescan-script
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: ubuntu1804-builder-4c-4g
+ project: "externalapi/nbi"
+ project-name: "externalapi-nbi"
+ branch: "master"
+ mvn-settings: "externalapi-nbi-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
+ java-version: openjdk11
+ sonar-prescan-script: !include-raw-escape: ../ubuntu-latest-nodejs.sh
- project:
- name: externalapi-nbi-info
- project-name: externalapi-nbi
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: externalapi/nbi
- branch: master
+ name: externalapi-nbi-info
+ project-name: externalapi-nbi
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: externalapi/nbi
+ branch: master
diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml
index f9da82c79..74ad45061 100644
--- a/jjb/global-templates-java.yaml
+++ b/jjb/global-templates-java.yaml
@@ -1,1108 +1,1108 @@
---
- job-template: &verify_java_defaults
- # Job template for Java verify jobs
- #
- # The purpose of this job template is to run:
- # 1. maven clean install
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
-
- name: '{project-name}-{stream}-verify-java'
-
- project-type: freestyle
- concurrent: true
- node: '{build-node}'
- build-env-variables: ''
- pattern: '**'
- pom:
- mvn-opts: ''
- java-opts: ''
- java-version: openjdk8
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
- - maven-params:
- mvn-params: '{mvn-params}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- - gerrit-trigger-patch-submitted:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
- files: '{obj:pattern}'
-
- builders:
- - lf-infra-pre-build
- - lf-update-java-alternatives:
- java-version: "{java-version}"
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
- - inject:
- properties-content: "{build-env-variables}"
- - maven-target:
- maven-version: '{maven-version}'
- pom: '{obj:pom}'
- goals: 'clean install -B
- -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn {mvn-params}'
- properties:
- - MAVEN_OPTS='{mvn-opts}'
- java-opts:
- - "{java-opts}"
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
-
- publishers:
- - lf-infra-publish
+ # Job template for Java verify jobs
+ #
+ # The purpose of this job template is to run:
+ # 1. maven clean install
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+
+ name: "{project-name}-{stream}-verify-java"
+
+ project-type: freestyle
+ concurrent: true
+ node: "{build-node}"
+ build-env-variables: ""
+ pattern: "**"
+ pom:
+ mvn-opts: ""
+ java-opts: ""
+ java-version: openjdk8
+ properties:
+ - infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
+
+ parameters:
+ - infra-parameters:
+ project: "{project}"
+ branch: "{branch}"
+ refspec: "refs/heads/{branch}"
+ artifacts: "{archive-artifacts}"
+ - maven-exec:
+ maven-version: "{maven-version}"
+ - maven-params:
+ mvn-params: "{mvn-params}"
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: "$GERRIT_REFSPEC"
+ choosing-strategy: "gerrit"
+ submodule-recursive: "{submodule-recursive}"
+
+ wrappers:
+ - infra-wrappers:
+ build-timeout: "{build-timeout}"
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ server: "{server-name}"
+ project: "{project}"
+ branch: "{branch}"
+ files: "{obj:pattern}"
+
+ builders:
+ - lf-infra-pre-build
+ - lf-update-java-alternatives:
+ java-version: "{java-version}"
+ - provide-maven-settings:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
+ - inject:
+ properties-content: "{build-env-variables}"
+ - maven-target:
+ maven-version: "{maven-version}"
+ pom: "{obj:pom}"
+ # yamllint disable rule:line-length
+ goals: "clean install -B
+ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn {mvn-params}"
+ # yamlline enable
+ properties:
+ - MAVEN_OPTS='{mvn-opts}'
+ java-opts:
+ - "{java-opts}"
+ settings: "{mvn-settings}"
+ settings-type: cfp
+ global-settings: "global-settings"
+ global-settings-type: cfp
+
+ publishers:
+ - lf-infra-publish
- job-template:
- # Job template for Java verify jobs running checkstyle at the end
- # When checkstyle will be fully incorporated, it is meant to replace
- # '{project-name}-{stream}-verify-java-checkstyle'
- #
- # The purpose of this job template is to run:
- # 1. maven clean install
- #
- # This job publishes checkstyle results.
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
-
- <<: *verify_java_defaults
- name: '{project-name}-{stream}-verify-java-checkstyle'
-
- publishers:
- - lf-infra-publish
- - checkstyle-result
+ # Job template for Java verify jobs running checkstyle at the end
+ # When checkstyle will be fully incorporated, it is meant to replace
+ # '{project-name}-{stream}-verify-java-checkstyle'
+ #
+ # The purpose of this job template is to run:
+ # 1. maven clean install
+ #
+ # This job publishes checkstyle results.
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+
+ <<: *verify_java_defaults
+ name: "{project-name}-{stream}-verify-java-checkstyle"
+
+ publishers:
+ - lf-infra-publish
+ - checkstyle-result
- job-template:
- # Job template for Java verify jobs with POM not at the root
- #
- # The purpose of this job template is to run:
- # 1. maven clean install
- #
- # This job supports subprojects.
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
- # pom: name/location of the pom.xml file relative to the workspace
- # pattern: ant file-path pattern relative to the workspace used to
- # trigger the job
-
- <<: *verify_java_defaults
- name: '{project-name}-{stream}-{subproject}-verify-java'
+ # Job template for Java verify jobs with POM not at the root
+ #
+ # The purpose of this job template is to run:
+ # 1. maven clean install
+ #
+ # This job supports subprojects.
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+ # pom: name/location of the pom.xml file relative to the workspace
+ # pattern: ant file-path pattern relative to the workspace used to
+ # trigger the job
+
+ <<: *verify_java_defaults
+ name: "{project-name}-{stream}-{subproject}-verify-java"
- job-template:
- # Job template for Java integration pairwise jobs
- #
- # The purpose of this job template is to run:
- # 1. maven clean install
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
-
- <<: *verify_java_defaults
- name: '{project-name}-{stream}-integration-pairwise'
- triggers:
- - timed: '@daily'
- - gerrit-trigger-patch-submitted:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
- files: '{obj:pattern}'
+ # Job template for Java integration pairwise jobs
+ #
+ # The purpose of this job template is to run:
+ # 1. maven clean install
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+
+ <<: *verify_java_defaults
+ name: "{project-name}-{stream}-integration-pairwise"
+ triggers:
+ - timed: "@daily"
+ - gerrit-trigger-patch-submitted:
+ server: "{server-name}"
+ project: "{project}"
+ branch: "{branch}"
+ files: "{obj:pattern}"
- job-template:
- # Job template for Java daily release jobs running checkstyle at the end
- # When checkstyle will be fully incorporated, it is meant to replace
- # '{project-name}-{stream}-release-java-daily'
- #
- # The purpose of this job template is to run:
- # 1. maven clean deploy with Sonar scans
- #
- # This job publishes checkstyle results.
- # This job uses a conditional regex match step to set versions.
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
-
- name: '{project-name}-{stream}-release-java-daily-checkstyle'
- project-type: freestyle
- node: '{build-node}'
- disabled: false
- maven-deploy-properties:
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
- triggers:
- # 11 AM UTC
- - timed: '@daily'
- - gerrit-trigger-release-manually:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
- builders:
- - lf-infra-pre-build
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
- - conditional-step:
- condition-kind: regex-match
- regex: DoSetVersion
- label: '{setVersion}'
- steps:
- - inject:
+ # Job template for Java daily release jobs running checkstyle at the end
+ # When checkstyle will be fully incorporated, it is meant to replace
+ # '{project-name}-{stream}-release-java-daily'
+ #
+ # The purpose of this job template is to run:
+ # 1. maven clean deploy with Sonar scans
+ #
+ # This job publishes checkstyle results.
+ # This job uses a conditional regex match step to set versions.
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+
+ name: "{project-name}-{stream}-release-java-daily-checkstyle"
+ project-type: freestyle
+ node: "{build-node}"
+ disabled: false
+ maven-deploy-properties:
+ properties:
+ - infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
+ parameters:
+ - infra-parameters:
+ project: "{project}"
+ branch: "{branch}"
+ refspec: "refs/heads/{branch}"
+ artifacts: "{archive-artifacts}"
+ - maven-exec:
+ maven-version: "{maven-version}"
+ scm:
+ - gerrit-trigger-scm:
+ refspec: ""
+ choosing-strategy: "default"
+ submodule-recursive: "{submodule-recursive}"
+ wrappers:
+ - infra-wrappers:
+ build-timeout: "{build-timeout}"
+ triggers:
+ # 11 AM UTC
+ - timed: "@daily"
+ - gerrit-trigger-release-manually:
+ server: "{server-name}"
+ project: "{project}"
+ branch: "{branch}"
+ builders:
+ - lf-infra-pre-build
+ - provide-maven-settings:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
+ - conditional-step:
+ condition-kind: regex-match
+ regex: DoSetVersion
+ label: "{setVersion}"
+ steps:
+ - inject:
+ properties-file: version.properties
+ - maven-set-release-version:
+ maven-version: "{maven-version}"
+ mvn-settings: "{mvn-settings}"
+ pom:
+ - maven-target:
+ maven-version: "{maven-version}"
+ goals: "clean deploy -B
+ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
+ properties: "{obj:mvn_properties}"
+ settings: "{mvn-settings}"
+ settings-type: cfp
+ global-settings: "global-settings"
+ global-settings-type: cfp
+
+ publishers:
+ - lf-infra-publish
+ - checkstyle-result-daily
+
+- job-template:
+ # Job template for Java daily release jobs
+ #
+ # The purpose of this job template is to run:
+ # 1. maven set versions
+ # 2. maven clean deploy with Sonar scans
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+
+ name: "{project-name}-{stream}-release-version-java-daily"
+
+ project-type: freestyle
+ disabled: false
+ node: "{build-node}"
+ maven-deploy-properties:
+ properties:
+ - infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
+
+ parameters:
+ - infra-parameters:
+ project: "{project}"
+ branch: "{branch}"
+ refspec: "refs/heads/{branch}"
+ artifacts: "{archive-artifacts}"
+ - maven-exec:
+ maven-version: "{maven-version}"
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: ""
+ choosing-strategy: "default"
+ submodule-recursive: "{submodule-recursive}"
+
+ wrappers:
+ - infra-wrappers:
+ build-timeout: "{build-timeout}"
+
+ triggers:
+ # 11 AM UTC
+ - timed: "@daily"
+ - gerrit-trigger-release-manually:
+ server: "{server-name}"
+ project: "{project}"
+ branch: "{branch}"
+
+ builders:
+ - lf-infra-pre-build
+ - provide-maven-settings:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
+
+ - inject:
properties-file: version.properties
- - maven-set-release-version:
- maven-version: '{maven-version}'
- mvn-settings: '{mvn-settings}'
+ - maven-set-release-version:
+ maven-version: "{maven-version}"
+ mvn-settings: "{mvn-settings}"
pom:
- - maven-target:
- maven-version: '{maven-version}'
- goals: 'clean deploy -B
- -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
- properties: '{obj:mvn_properties}'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
-
- publishers:
- - lf-infra-publish
- - checkstyle-result-daily
-- job-template:
- # Job template for Java daily release jobs
- #
- # The purpose of this job template is to run:
- # 1. maven set versions
- # 2. maven clean deploy with Sonar scans
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
-
- name: '{project-name}-{stream}-release-version-java-daily'
-
- project-type: freestyle
- disabled: false
- node: '{build-node}'
- maven-deploy-properties:
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- # 11 AM UTC
- - timed: '@daily'
- - gerrit-trigger-release-manually:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
-
- builders:
- - lf-infra-pre-build
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
-
- - inject:
- properties-file: version.properties
- - maven-set-release-version:
- maven-version: '{maven-version}'
- mvn-settings: '{mvn-settings}'
- pom:
-
- - maven-target:
- maven-version: '{maven-version}'
- goals: 'clean deploy -B
- -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
- properties:
- - '{maven-deploy-properties}'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
-
- publishers:
- - lf-infra-publish
+ - maven-target:
+ maven-version: "{maven-version}"
+ goals: "clean deploy -B
+ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
+ properties:
+ - "{maven-deploy-properties}"
+ settings: "{mvn-settings}"
+ settings-type: cfp
+ global-settings: "global-settings"
+ global-settings-type: cfp
+
+ publishers:
+ - lf-infra-publish
- job-template: &merge_java_defaults
- # Job template for Java merge jobs
- #
- # The purpose of this job template is to run:
- # 1. maven clean deploy
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
-
- name: '{project-name}-{stream}-merge-java'
-
- project-type: freestyle
- node: '{build-node}'
- pattern: '**'
- pom:
- mvn_properties: []
- mvn-params: ''
- mvn-opts: ''
- java-opts: ''
- java-version: openjdk8
-
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - lf-infra-wrappers:
- build-timeout: '{build-timeout}'
- jenkins-ssh-credential: '{jenkins-ssh-credential}'
-
- triggers:
- - gerrit-trigger-patch-merged:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
- files: '{pattern}'
-
- builders:
- - lf-infra-pre-build
- - lf-update-java-alternatives:
- java-version: "{java-version}"
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
- - conditional-step:
- condition-kind: regex-match
- regex: .*(amd64|arm64).*
- label: '{project-name}'
- steps:
- - shell: !include-raw-escape: global-jjb/shell/docker-login.sh
- - maven-target:
- maven-version: '{maven-version}'
- pom: '{obj:pom}'
- goals: 'clean deploy -B {mvn-params}
- -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
- properties:
- - MAVEN_OPTS='{mvn-opts}'
- java-opts:
- - "{java-opts}"
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- properties: '{obj:mvn_properties}'
-
- publishers:
- - lf-infra-publish
+ # Job template for Java merge jobs
+ #
+ # The purpose of this job template is to run:
+ # 1. maven clean deploy
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+
+ name: "{project-name}-{stream}-merge-java"
+
+ project-type: freestyle
+ node: "{build-node}"
+ pattern: "**"
+ pom:
+ mvn_properties: []
+ mvn-params: ""
+ mvn-opts: ""
+ java-opts: ""
+ java-version: openjdk8
+
+ properties:
+ - infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
+
+ parameters:
+ - infra-parameters:
+ project: "{project}"
+ branch: "{branch}"
+ refspec: "refs/heads/{branch}"
+ artifacts: "{archive-artifacts}"
+ - maven-exec:
+ maven-version: "{maven-version}"
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: ""
+ choosing-strategy: "default"
+ submodule-recursive: "{submodule-recursive}"
+
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: "{build-timeout}"
+ jenkins-ssh-credential: "{jenkins-ssh-credential}"
+
+ triggers:
+ - gerrit-trigger-patch-merged:
+ server: "{server-name}"
+ project: "{project}"
+ branch: "{branch}"
+ files: "{pattern}"
+
+ builders:
+ - lf-infra-pre-build
+ - lf-update-java-alternatives:
+ java-version: "{java-version}"
+ - provide-maven-settings:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
+ - conditional-step:
+ condition-kind: regex-match
+ regex: .*(amd64|arm64).*
+ label: "{project-name}"
+ steps:
+ - shell: !include-raw-escape: global-jjb/shell/docker-login.sh
+ - maven-target:
+ maven-version: "{maven-version}"
+ pom: "{obj:pom}"
+ goals: "clean deploy -B {mvn-params}
+ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
+ java-opts:
+ - "{java-opts}"
+ settings: "{mvn-settings}"
+ settings-type: cfp
+ global-settings: "global-settings"
+ global-settings-type: cfp
+ properties: "{obj:mvn_properties}"
+
+ publishers:
+ - lf-infra-publish
- job-template:
- # Job template for Java merge jobs based on
- # '{project-name}-{stream}-merge-java'
- # The purpose of this job template is to run:
- # 1. maven clean deploy
- #
- # This project supports maven properties.
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
- # maven-properties: properties passed to maven
-
- <<: *merge_java_defaults
- name: '{project-name}-{stream}-merge-properties-java'
-
- wrappers:
- - lf-infra-wrappers:
- build-timeout: '{build-timeout}'
- jenkins-ssh-credential: '{jenkins-ssh-credential}'
+ # Job template for Java merge jobs based on
+ # '{project-name}-{stream}-merge-java'
+ # The purpose of this job template is to run:
+ # 1. maven clean deploy
+ #
+ # This project supports maven properties.
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+ # maven-properties: properties passed to maven
+
+ <<: *merge_java_defaults
+ name: "{project-name}-{stream}-merge-properties-java"
+
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: "{build-timeout}"
+ jenkins-ssh-credential: "{jenkins-ssh-credential}"
- job-template:
- # Job template for Java merge jobs that takes a maven template
- #
- # The purpose of this job template is to run:
- # 1. maven clean deploy -P {mvn-profile}
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
-
- <<: *merge_java_defaults
- name: '{project-name}-{stream}-merge-profile-java'
-
- builders:
- - lf-infra-pre-build
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
-
- - docker-login
-
- - maven-target:
- maven-version: '{maven-version}'
- goals: 'clean deploy -P {mvn-profile} -B
- -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- properties:
- - docker.pull.registry=nexus3.onap.org:10001
- - docker.push.registry=nexus3.onap.org:10003
+ # Job template for Java merge jobs that takes a maven template
+ #
+ # The purpose of this job template is to run:
+ # 1. maven clean deploy -P {mvn-profile}
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+
+ <<: *merge_java_defaults
+ name: "{project-name}-{stream}-merge-profile-java"
+
+ builders:
+ - lf-infra-pre-build
+ - provide-maven-settings:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
+
+ - docker-login
+
+ - maven-target:
+ maven-version: "{maven-version}"
+ goals: "clean deploy -P {mvn-profile} -B
+ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
+ settings: "{mvn-settings}"
+ settings-type: cfp
+ global-settings: "global-settings"
+ global-settings-type: cfp
+ properties:
+ - docker.pull.registry=nexus3.onap.org:10001
+ - docker.push.registry=nexus3.onap.org:10003
- job-template:
- # Job template for Java merge jobs with POM not at the root
- #
- # The purpose of this job template is to run:
- # 1. maven clean deploy
- #
- # This job supports subprojects.
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
- # pom: name/location of the pom.xml file relative to the workspace
- # pattern: ant file-path pattern relative to the workspace used to
- # trigger the job
-
- <<: *merge_java_defaults
- name: '{project-name}-{stream}-{subproject}-merge-java'
+ # Job template for Java merge jobs with POM not at the root
+ #
+ # The purpose of this job template is to run:
+ # 1. maven clean deploy
+ #
+ # This job supports subprojects.
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+ # pom: name/location of the pom.xml file relative to the workspace
+ # pattern: ant file-path pattern relative to the workspace used to
+ # trigger the job
+
+ <<: *merge_java_defaults
+ name: "{project-name}-{stream}-{subproject}-merge-java"
- job-template: &docker_java_defaults
- # Job template for Docker daily jobs
- #
- # The purpose of this job template is to run:
- # 1. login to the docker registry
- # 2. docker push
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
-
- name: '{project-name}-{stream}-docker-java-daily'
- id: '{project-name}-{stream}-docker-java-daily'
- project-type: freestyle
- node: '{build-node}'
- disabled: false
- java-version: openjdk8
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
- - maven-params:
- mvn-params: '{mvn-params}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- # 12 AM UTC
- - timed: '@daily'
- - gerrit-trigger-release-manually:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
-
- builders:
- - lf-infra-pre-build
- - lf-update-java-alternatives:
- java-version: "{java-version}"
-
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
-
- - docker-login
-
- - maven-docker-push-daily:
- maven-version: '{maven-version}'
- mvn-settings: '{mvn-settings}'
- pom: '{docker-pom}'
- # use default as mvn-profile if profile is not needed
- mvn-profile: '{mvn-profile}'
- mvn-params: '{mvn-params}'
-
- publishers:
- - lf-infra-publish
+ # Job template for Docker daily jobs
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. docker push
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+
+ name: "{project-name}-{stream}-docker-java-daily"
+ id: "{project-name}-{stream}-docker-java-daily"
+ project-type: freestyle
+ node: "{build-node}"
+ disabled: false
+ java-version: openjdk8
+ properties:
+ - infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
+
+ parameters:
+ - infra-parameters:
+ project: "{project}"
+ branch: "{branch}"
+ refspec: "refs/heads/{branch}"
+ artifacts: "{archive-artifacts}"
+ - maven-exec:
+ maven-version: "{maven-version}"
+ - maven-params:
+ mvn-params: "{mvn-params}"
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: ""
+ choosing-strategy: "default"
+ submodule-recursive: "{submodule-recursive}"
+
+ wrappers:
+ - infra-wrappers:
+ build-timeout: "{build-timeout}"
+
+ triggers:
+ # 12 AM UTC
+ - timed: "@daily"
+ - gerrit-trigger-release-manually:
+ server: "{server-name}"
+ project: "{project}"
+ branch: "{branch}"
+
+ builders:
+ - lf-infra-pre-build
+ - lf-update-java-alternatives:
+ java-version: "{java-version}"
+
+ - provide-maven-settings:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
+
+ - docker-login
+
+ - maven-docker-push-daily:
+ maven-version: "{maven-version}"
+ mvn-settings: "{mvn-settings}"
+ pom: "{docker-pom}"
+ # use default as mvn-profile if profile is not needed
+ mvn-profile: "{mvn-profile}"
+ mvn-params: "{mvn-params}"
+
+ publishers:
+ - lf-infra-publish
- job-template:
- # Job template for Docker daily jobs
- #
- # The purpose of this job template is to run:
- # 1. login to the docker registry
- # 2. docker push
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
-
- <<: *docker_java_defaults
- name: '{project-name}-{stream}-docker-java-daily'
- id: docker-java-daily
- node: '{build-node}'
- wrappers:
- - infra-wrappers-docker-build:
- build-timeout: '{build-timeout}'
+ # Job template for Docker daily jobs
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. docker push
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+
+ <<: *docker_java_defaults
+ name: "{project-name}-{stream}-docker-java-daily"
+ id: docker-java-daily
+ node: "{build-node}"
+ wrappers:
+ - infra-wrappers-docker-build:
+ build-timeout: "{build-timeout}"
- job-template:
- # Job template for building & pushing docker images
- #
- # The purpose of this job template is to run:
- # 1. login to the docker registry
- # 2. run a specified shell builder
- #
- # Required Variables:
- # pom: name/location of the pom.xml file relative to the workspace
- # maven-properties: properties passed to maven
-
- name: '{project-name}-{stream}-docker-java-shell-daily'
- project-type: freestyle
- node: '{build-node}'
- disabled: false
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- # 12 AM UTC
- - timed: '@daily'
- - gerrit-trigger-release-manually:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
-
- builders:
- - lf-infra-pre-build
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
-
- - docker-login
-
- - maven-target:
- maven-version: '{maven-version}'
- goals: '{mvn-goals}'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
-
- - shell: '{script}'
-
- publishers:
- - lf-infra-publish
+ # Job template for building & pushing docker images
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. run a specified shell builder
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # maven-properties: properties passed to maven
+
+ name: "{project-name}-{stream}-docker-java-shell-daily"
+ project-type: freestyle
+ node: "{build-node}"
+ disabled: false
+ properties:
+ - infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
+
+ parameters:
+ - infra-parameters:
+ project: "{project}"
+ branch: "{branch}"
+ refspec: "refs/heads/{branch}"
+ artifacts: "{archive-artifacts}"
+ - maven-exec:
+ maven-version: "{maven-version}"
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: ""
+ choosing-strategy: "default"
+ submodule-recursive: "{submodule-recursive}"
+
+ wrappers:
+ - infra-wrappers:
+ build-timeout: "{build-timeout}"
+
+ triggers:
+ # 12 AM UTC
+ - timed: "@daily"
+ - gerrit-trigger-release-manually:
+ server: "{server-name}"
+ project: "{project}"
+ branch: "{branch}"
+
+ builders:
+ - lf-infra-pre-build
+ - provide-maven-settings:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
+
+ - docker-login
+
+ - maven-target:
+ maven-version: "{maven-version}"
+ goals: "{mvn-goals}"
+ settings: "{mvn-settings}"
+ settings-type: cfp
+ global-settings: "global-settings"
+ global-settings-type: cfp
+
+ - shell: "{script}"
+
+ publishers:
+ - lf-infra-publish
- job-template:
- # Job template for building & pushing docker images
- #
- # The purpose of this job template is to run:
- # 1. login to the docker registry
- # 2. run a specified shell builder
- #
- # Required Variables:
- # pom: name/location of the pom.xml file relative to the workspace
- # maven-properties: properties passed to maven
-
- name: '{project-name}-{stream}-{subproject}-docker-java-shell-daily'
- project-type: freestyle
- node: '{build-node}'
- disabled: false
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- # 12 AM UTC
- - timed: '@daily'
- - gerrit-trigger-release-manually:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
-
- builders:
- - lf-infra-pre-build
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
-
- - docker-login
-
- - maven-target:
- maven-version: '{maven-version}'
- pom: '{pom}'
- goals: '{mvn-goals}'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
-
- - shell: '{script}'
-
- publishers:
- - lf-infra-publish
+ # Job template for building & pushing docker images
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. run a specified shell builder
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # maven-properties: properties passed to maven
+
+ name: "{project-name}-{stream}-{subproject}-docker-java-shell-daily"
+ project-type: freestyle
+ node: "{build-node}"
+ disabled: false
+ properties:
+ - infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
+
+ parameters:
+ - infra-parameters:
+ project: "{project}"
+ branch: "{branch}"
+ refspec: "refs/heads/{branch}"
+ artifacts: "{archive-artifacts}"
+ - maven-exec:
+ maven-version: "{maven-version}"
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: ""
+ choosing-strategy: "default"
+ submodule-recursive: "{submodule-recursive}"
+
+ wrappers:
+ - infra-wrappers:
+ build-timeout: "{build-timeout}"
+
+ triggers:
+ # 12 AM UTC
+ - timed: "@daily"
+ - gerrit-trigger-release-manually:
+ server: "{server-name}"
+ project: "{project}"
+ branch: "{branch}"
+
+ builders:
+ - lf-infra-pre-build
+ - provide-maven-settings:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
+
+ - docker-login
+
+ - maven-target:
+ maven-version: "{maven-version}"
+ pom: "{pom}"
+ goals: "{mvn-goals}"
+ settings: "{mvn-settings}"
+ settings-type: cfp
+ global-settings: "global-settings"
+ global-settings-type: cfp
+
+ - shell: "{script}"
+
+ publishers:
+ - lf-infra-publish
- job-template:
- # Job template for building & pushing docker images
- #
- # The purpose of this job template is to run:
- # 1. login to the docker registry
- # 2. inject a version.properties file and set versions
- # 3. run a specified shell builder
- #
- # Required Variables:
- # pom: name/location of the pom.xml file relative to the workspace
- # maven-properties: properties passed to maven
-
- name: '{project-name}-{stream}-docker-java-version-shell-daily'
- project-type: freestyle
- node: '{build-node}'
- disabled: false
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- # 12 AM UTC
- - timed: '@daily'
- - gerrit-trigger-release-manually:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
-
- builders:
- - lf-infra-pre-build
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
-
- - inject:
- properties-file: version.properties
- - maven-set-release-version:
- maven-version: '{maven-version}'
- mvn-settings: '{mvn-settings}'
- pom:
-
- - docker-login
-
- - maven-target:
- maven-version: '{maven-version}'
- goals: '{mvn-goals}'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
-
- - shell: '{script}'
-
- publishers:
- - lf-infra-publish
+ # Job template for building & pushing docker images
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. inject a version.properties file and set versions
+ # 3. run a specified shell builder
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # maven-properties: properties passed to maven
+
+ name: "{project-name}-{stream}-docker-java-version-shell-daily"
+ project-type: freestyle
+ node: "{build-node}"
+ disabled: false
+ properties:
+ - infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
+
+ parameters:
+ - infra-parameters:
+ project: "{project}"
+ branch: "{branch}"
+ refspec: "refs/heads/{branch}"
+ artifacts: "{archive-artifacts}"
+ - maven-exec:
+ maven-version: "{maven-version}"
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: ""
+ choosing-strategy: "default"
+ submodule-recursive: "{submodule-recursive}"
+
+ wrappers:
+ - infra-wrappers:
+ build-timeout: "{build-timeout}"
+
+ triggers:
+ # 12 AM UTC
+ - timed: "@daily"
+ - gerrit-trigger-release-manually:
+ server: "{server-name}"
+ project: "{project}"
+ branch: "{branch}"
+
+ builders:
+ - lf-infra-pre-build
+ - provide-maven-settings:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
+
+ - inject:
+ properties-file: version.properties
+ - maven-set-release-version:
+ maven-version: "{maven-version}"
+ mvn-settings: "{mvn-settings}"
+ pom:
+
+ - docker-login
+
+ - maven-target:
+ maven-version: "{maven-version}"
+ goals: "{mvn-goals}"
+ settings: "{mvn-settings}"
+ settings-type: cfp
+ global-settings: "global-settings"
+ global-settings-type: cfp
+
+ - shell: "{script}"
+
+ publishers:
+ - lf-infra-publish
- job-template:
- # Job template for building & pushing docker images
- #
- # The purpose of this job template is to run:
- # 1. login to the docker registry
- # 2. inject a version.properties file and set versions
- # 3. run a specified shell builder
- #
- # This template supports subprojects.
- #
- # Required Variables:
- # pom: name/location of the pom.xml file relative to the workspace
- # maven-properties: properties passed to maven
-
- name: '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily'
- project-type: freestyle
- node: 'ubuntu1804-docker-8c-8g'
- disabled: false
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- # 12 AM UTC
- - timed: '@daily'
- - gerrit-trigger-release-manually:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
-
- builders:
- - lf-infra-pre-build
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
-
- - inject:
- properties-file: version.properties
- - maven-set-release-version:
- maven-version: '{maven-version}'
- mvn-settings: '{mvn-settings}'
- pom: '{pom}'
-
- - docker-login
-
- - maven-target:
- maven-version: '{maven-version}'
- pom: '{pom}'
- goals: '{mvn-goals}'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
-
- - shell: '{script}'
-
- publishers:
- - lf-infra-publish
+ # Job template for building & pushing docker images
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. inject a version.properties file and set versions
+ # 3. run a specified shell builder
+ #
+ # This template supports subprojects.
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # maven-properties: properties passed to maven
+
+ name: "{project-name}-{stream}-{subproject}-docker-java-version-shell-daily"
+ project-type: freestyle
+ node: "ubuntu1804-docker-8c-8g"
+ disabled: false
+ properties:
+ - infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
+
+ parameters:
+ - infra-parameters:
+ project: "{project}"
+ branch: "{branch}"
+ refspec: "refs/heads/{branch}"
+ artifacts: "{archive-artifacts}"
+ - maven-exec:
+ maven-version: "{maven-version}"
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: ""
+ choosing-strategy: "default"
+ submodule-recursive: "{submodule-recursive}"
+
+ wrappers:
+ - infra-wrappers:
+ build-timeout: "{build-timeout}"
+
+ triggers:
+ # 12 AM UTC
+ - timed: "@daily"
+ - gerrit-trigger-release-manually:
+ server: "{server-name}"
+ project: "{project}"
+ branch: "{branch}"
+
+ builders:
+ - lf-infra-pre-build
+ - provide-maven-settings:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
+
+ - inject:
+ properties-file: version.properties
+ - maven-set-release-version:
+ maven-version: "{maven-version}"
+ mvn-settings: "{mvn-settings}"
+ pom: "{pom}"
+
+ - docker-login
+
+ - maven-target:
+ maven-version: "{maven-version}"
+ pom: "{pom}"
+ goals: "{mvn-goals}"
+ settings: "{mvn-settings}"
+ settings-type: cfp
+ global-settings: "global-settings"
+ global-settings-type: cfp
+
+ - shell: "{script}"
+
+ publishers:
+ - lf-infra-publish
- job-template: &docker_version_java_defaults
- # Job template for building & pushing docker images
- #
- # The purpose of this job template is to run:
- # 1. login to the docker registry
- # 2. inject a version.properties file and set versions
- # 3. run a docker push
- #
- # Required Variables:
- # pom: name/location of the pom.xml file relative to the workspace
- # profile: the docker profile defined in the pom
- # maven-properties: properties passed to maven
-
- name: '{project-name}-{stream}-docker-version-java-daily'
- id: '{project-name}-{stream}-docker-version-java-daily'
- project-type: freestyle
- node: '{build-node}'
- disabled: false
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
- - maven-params:
- mvn-params: '{mvn-params}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- # 12 AM UTC
- - timed: '@daily'
- - gerrit-trigger-release-manually:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
-
- builders:
- - lf-infra-pre-build
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
-
- - inject:
- properties-file: version.properties
- - maven-set-release-version:
- maven-version: '{maven-version}'
- mvn-settings: '{mvn-settings}'
- pom:
-
- - docker-login
-
- - maven-docker-push-daily:
- maven-version: '{maven-version}'
- mvn-settings: '{mvn-settings}'
- pom: '{docker-pom}'
- # use default as mvn-profile if profile is not needed
- mvn-profile: '{mvn-profile}'
- mvn-params: '{mvn-params}'
-
- publishers:
- - lf-infra-publish
+ # Job template for building & pushing docker images
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. inject a version.properties file and set versions
+ # 3. run a docker push
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # profile: the docker profile defined in the pom
+ # maven-properties: properties passed to maven
+
+ name: "{project-name}-{stream}-docker-version-java-daily"
+ id: "{project-name}-{stream}-docker-version-java-daily"
+ project-type: freestyle
+ node: "{build-node}"
+ disabled: false
+ properties:
+ - infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
+
+ parameters:
+ - infra-parameters:
+ project: "{project}"
+ branch: "{branch}"
+ refspec: "refs/heads/{branch}"
+ artifacts: "{archive-artifacts}"
+ - maven-exec:
+ maven-version: "{maven-version}"
+ - maven-params:
+ mvn-params: "{mvn-params}"
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: ""
+ choosing-strategy: "default"
+ submodule-recursive: "{submodule-recursive}"
+
+ wrappers:
+ - infra-wrappers:
+ build-timeout: "{build-timeout}"
+
+ triggers:
+ # 12 AM UTC
+ - timed: "@daily"
+ - gerrit-trigger-release-manually:
+ server: "{server-name}"
+ project: "{project}"
+ branch: "{branch}"
+
+ builders:
+ - lf-infra-pre-build
+ - provide-maven-settings:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
+
+ - inject:
+ properties-file: version.properties
+ - maven-set-release-version:
+ maven-version: "{maven-version}"
+ mvn-settings: "{mvn-settings}"
+ pom:
+
+ - docker-login
+
+ - maven-docker-push-daily:
+ maven-version: "{maven-version}"
+ mvn-settings: "{mvn-settings}"
+ pom: "{docker-pom}"
+ # use default as mvn-profile if profile is not needed
+ mvn-profile: "{mvn-profile}"
+ mvn-params: "{mvn-params}"
+
+ publishers:
+ - lf-infra-publish
- job-template:
- # Job template for building & pushing docker images
- #
- # The purpose of this job template is to run:
- # 1. login to the docker registry
- # 2. inject a version.properties file and set versions
- # 3. run a docker push
- #
- # Required Variables:
- # pom: name/location of the pom.xml file relative to the workspace
- # profile: the docker profile defined in the pom
- # maven-properties: properties passed to maven
-
- <<: *docker_version_java_defaults
- name: '{project-name}-{stream}-docker-version-java-daily'
- id: 'docker-version-java-daily'
- node: '{build-node}'
- wrappers:
- - infra-wrappers-docker-build:
- build-timeout: '{build-timeout}'
+ # Job template for building & pushing docker images
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. inject a version.properties file and set versions
+ # 3. run a docker push
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # profile: the docker profile defined in the pom
+ # maven-properties: properties passed to maven
+
+ <<: *docker_version_java_defaults
+ name: "{project-name}-{stream}-docker-version-java-daily"
+ id: "docker-version-java-daily"
+ node: "{build-node}"
+ wrappers:
+ - infra-wrappers-docker-build:
+ build-timeout: "{build-timeout}"
- job-template:
- # Job template for building & pushing docker images for AAI specific repos
- #
- # The purpose of this job template is to run:
- # 1. login to the docker registry
- # 2. run maven goals
- # 3. run include-docker-push.sh
- #
- # Required Variables:
- # pom: name/location of the pom.xml file relative to the workspace
- # maven-properties: properties passed to maven
-
- name: '{project-name}-{stream}-aai-docker-java-daily'
- project-type: freestyle
- node: '{build-node}'
- docker-image-name: ''
- disabled: false
- java-version: 'openjdk8'
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
- - docker-image-name:
- docker-image-name: '{docker-image-name}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- # 12 AM UTC
- - timed: '@daily'
- - gerrit-trigger-release-manually:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
-
- builders:
- - lf-infra-pre-build
- - lf-update-java-alternatives:
- java-version: "{java-version}"
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
-
- - docker-login
-
- - maven-target:
- maven-version: '{maven-version}'
- pom: 'pom.xml'
- goals: 'clean install -DskipTests -B
- -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
-
- - maven-target:
- maven-version: '{maven-version}'
- pom: '{pom}'
- goals: '{mvn-goals}'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- properties:
- - maven.test.skip=true
- - docker.pull.registry=nexus3.onap.org:10001
- - docker.push.registry=nexus3.onap.org:10003
-
- - shell: !include-raw-escape: include-docker-push.sh
-
- publishers:
- - lf-infra-publish
+ # Job template for building & pushing docker images for AAI specific repos
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. run maven goals
+ # 3. run include-docker-push.sh
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # maven-properties: properties passed to maven
+
+ name: "{project-name}-{stream}-aai-docker-java-daily"
+ project-type: freestyle
+ node: "{build-node}"
+ docker-image-name: ""
+ disabled: false
+ java-version: "openjdk8"
+ properties:
+ - infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
+
+ parameters:
+ - infra-parameters:
+ project: "{project}"
+ branch: "{branch}"
+ refspec: "refs/heads/{branch}"
+ artifacts: "{archive-artifacts}"
+ - maven-exec:
+ maven-version: "{maven-version}"
+ - docker-image-name:
+ docker-image-name: "{docker-image-name}"
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: ""
+ choosing-strategy: "default"
+ submodule-recursive: "{submodule-recursive}"
+
+ wrappers:
+ - infra-wrappers:
+ build-timeout: "{build-timeout}"
+
+ triggers:
+ # 12 AM UTC
+ - timed: "@daily"
+ - gerrit-trigger-release-manually:
+ server: "{server-name}"
+ project: "{project}"
+ branch: "{branch}"
+
+ builders:
+ - lf-infra-pre-build
+ - lf-update-java-alternatives:
+ java-version: "{java-version}"
+ - provide-maven-settings:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
+
+ - docker-login
+
+ - maven-target:
+ maven-version: "{maven-version}"
+ pom: "pom.xml"
+ goals: "clean install -DskipTests -B
+ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
+ settings: "{mvn-settings}"
+ settings-type: cfp
+ global-settings: "global-settings"
+ global-settings-type: cfp
+
+ - maven-target:
+ maven-version: "{maven-version}"
+ pom: "{pom}"
+ goals: "{mvn-goals}"
+ settings: "{mvn-settings}"
+ settings-type: cfp
+ global-settings: "global-settings"
+ global-settings-type: cfp
+ properties:
+ - maven.test.skip=true
+ - docker.pull.registry=nexus3.onap.org:10001
+ - docker.push.registry=nexus3.onap.org:10003
+
+ - shell: !include-raw-escape: include-docker-push.sh
+
+ publishers:
+ - lf-infra-publish
- job-template:
- # Job template for Java merge jobs for SDC specific repos
- #
- # The purpose of this job template is to run:
- # 1. maven clean deploy
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
-
- <<: *merge_java_defaults
- name: '{project-name}-{stream}-sdc-merge-java'
-
- node: '{build-node}'
- build-timeout: 120
-
- builders:
- - lf-infra-pre-build
- - lf-update-java-alternatives:
- java-version: "{java-version}"
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
-
- - docker-login
-
- - maven-docker-push-daily:
- maven-version: '{maven-version}'
- mvn-settings: '{mvn-settings}'
- pom: '{docker-pom}'
- # use default as mvn-profile if profile is not needed
- mvn-profile: '{mvn-profile}'
- mvn-params: ''
+ # Job template for Java merge jobs for SDC specific repos
+ #
+ # The purpose of this job template is to run:
+ # 1. maven clean deploy
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+
+ <<: *merge_java_defaults
+ name: "{project-name}-{stream}-sdc-merge-java"
+
+ node: "{build-node}"
+ build-timeout: 120
+
+ builders:
+ - lf-infra-pre-build
+ - lf-update-java-alternatives:
+ java-version: "{java-version}"
+ - provide-maven-settings:
+ global-settings-file: "global-settings"
+ settings-file: "{mvn-settings}"
+
+ - docker-login
+
+ - maven-docker-push-daily:
+ maven-version: "{maven-version}"
+ mvn-settings: "{mvn-settings}"
+ pom: "{docker-pom}"
+ # use default as mvn-profile if profile is not needed
+ mvn-profile: "{mvn-profile}"
+ mvn-params: ""
- job-template:
- # Job template for Java merge jobs on multiple architectures
- #
- # The purpose of this job template is to:
- # 1. Run parallel {project-name}-{stream}-verify-java jobs for each supported architecture
- # 2. Build and push a docker manifest list for the images created by
- # the previous jobs
-
- name: '{project-name}-multiarch-{stream}-merge-java'
- node: '{build-node}'
- project-type: multijob
- disabled: '{obj:disabled}'
- pattern: '**'
-
- parameters:
- - lf-infra-parameters:
- project: '{project}'
- stream: '{stream}'
- branch: '{branch}'
- - string:
- name: DOCKER_REGISTRY
- default: 'none'
- - string:
- name: DOCKERHUB_REGISTRY
- default: 'registry-1.docker.io'
-
- properties:
- - throttle:
- max-per-node: 1
- option: 'project'
- - build-blocker:
- use-build-blocker: true
- blocking-jobs:
- - '{project-name}-.*-merge-.*'
- blocking-level: 'NODE'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- - gerrit-trigger-patch-merged:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
- files: '{pattern}'
-
- builders:
- - multijob:
- name: 'build docker images'
- condition: ALWAYS
- execution-type: PARALLEL
- projects:
- - name: '{project-name}-amd64-{stream}-merge-java'
- kill-phase-on: FAILURE
- current-parameters: true
- - name: '{project-name}-arm64-{stream}-merge-java'
- kill-phase-on: NEVER
- current-parameters: true
- - multijob:
- name: 'publish docker manifest'
- condition: SUCCESSFUL
- execution-type: PARALLEL
- projects:
- - name: '{project-name}-docker-manifest-{stream}'
- current-parameters: true
- predefined-parameters: |
- PARENT_JOB_NAME=$JOB_NAME
- DOCKERHUB_REGISTRY=docker.io
+ # Job template for Java merge jobs on multiple architectures
+ #
+ # The purpose of this job template is to:
+ # 1. Run parallel {project-name}-{stream}-verify-java jobs for each supported architecture
+ # 2. Build and push a docker manifest list for the images created by
+ # the previous jobs
+
+ name: "{project-name}-multiarch-{stream}-merge-java"
+ node: "{build-node}"
+ project-type: multijob
+ disabled: "{obj:disabled}"
+ pattern: "**"
+
+ parameters:
+ - lf-infra-parameters:
+ project: "{project}"
+ stream: "{stream}"
+ branch: "{branch}"
+ - string:
+ name: DOCKER_REGISTRY
+ default: "none"
+ - string:
+ name: DOCKERHUB_REGISTRY
+ default: "registry-1.docker.io"
+
+ properties:
+ - throttle:
+ max-per-node: 1
+ option: "project"
+ - build-blocker:
+ use-build-blocker: true
+ blocking-jobs:
+ - "{project-name}-.*-merge-.*"
+ blocking-level: "NODE"
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: ""
+ choosing-strategy: "default"
+ submodule-recursive: "{submodule-recursive}"
+
+ wrappers:
+ - infra-wrappers:
+ build-timeout: "{build-timeout}"
+
+ triggers:
+ - gerrit-trigger-patch-merged:
+ server: "{server-name}"
+ project: "{project}"
+ branch: "{branch}"
+ files: "{pattern}"
+
+ builders:
+ - multijob:
+ name: "build docker images"
+ condition: ALWAYS
+ execution-type: PARALLEL
+ projects:
+ - name: "{project-name}-amd64-{stream}-merge-java"
+ kill-phase-on: FAILURE
+ current-parameters: true
+ - name: "{project-name}-arm64-{stream}-merge-java"
+ kill-phase-on: NEVER
+ current-parameters: true
+ - multijob:
+ name: "publish docker manifest"
+ condition: SUCCESSFUL
+ execution-type: PARALLEL
+ projects:
+ - name: "{project-name}-docker-manifest-{stream}"
+ current-parameters: true
+ predefined-parameters: |
+ PARENT_JOB_NAME=$JOB_NAME
+ DOCKERHUB_REGISTRY=docker.io
diff --git a/jjb/holmes/holmes-common.yaml b/jjb/holmes/holmes-common.yaml
index c29769c5b..d3ba821f8 100644
--- a/jjb/holmes/holmes-common.yaml
+++ b/jjb/holmes/holmes-common.yaml
@@ -1,69 +1,69 @@
---
- project:
- name: holmes-project-view
- project-name: holmes
- views:
- - project-view
+ name: holmes-project-view
+ project-name: holmes
+ views:
+ - project-view
- project:
- name: holmes-common
- project-name: 'holmes-common'
- jobs:
- - '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
- - gerrit-maven-stage:
- sign-artifacts: true
- build-node: centos8-docker-4c-4g
- maven-versions-plugin: true
- java-version: openjdk11
- sbom-generator: true
- - '{project-name}-gerrit-release-jobs':
- build-node: centos7-docker-2c-1g
- java-version: openjdk11
- project: 'holmes/common'
- stream:
- - 'master':
- branch: 'master'
- mvn-settings: 'holmes-common-settings'
- files: '**'
- archive-artifacts: ''
- build-node: ubuntu1804-builder-4c-4g
- java-version: openjdk11
+ name: holmes-common
+ project-name: "holmes-common"
+ jobs:
+ - "{project-name}-{stream}-verify-java"
+ - "{project-name}-{stream}-merge-java"
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ build-node: centos8-docker-4c-4g
+ maven-versions-plugin: true
+ java-version: openjdk11
+ sbom-generator: true
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
+ java-version: openjdk11
+ project: "holmes/common"
+ stream:
+ - "master":
+ branch: "master"
+ mvn-settings: "holmes-common-settings"
+ files: "**"
+ archive-artifacts: ""
+ build-node: ubuntu1804-builder-4c-4g
+ java-version: openjdk11
- project:
- name: holmes-common-sonar
- jobs:
- - gerrit-maven-sonar
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: ubuntu1804-builder-4c-4g
- project: 'holmes/common'
- project-name: 'holmes-common'
- branch: 'master'
- mvn-settings: 'holmes-common-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
- java-version: openjdk11
+ name: holmes-common-sonar
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: ubuntu1804-builder-4c-4g
+ project: "holmes/common"
+ project-name: "holmes-common"
+ branch: "master"
+ mvn-settings: "holmes-common-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
+ java-version: openjdk11
- project:
- name: holmes-common-clm
- jobs:
- - gerrit-maven-clm
- nexus-iq-namespace: 'onap-'
- project: holmes/common
- project-name: 'holmes-common'
- branch: 'master'
- mvn-settings: 'holmes-common-settings'
- java-version: openjdk11
+ name: holmes-common-clm
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: "onap-"
+ project: holmes/common
+ project-name: "holmes-common"
+ branch: "master"
+ mvn-settings: "holmes-common-settings"
+ java-version: openjdk11
- project:
- name: holmes-common-info
- project-name: holmes-common
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: holmes/common
- branch: master
+ name: holmes-common-info
+ project-name: holmes-common
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: holmes/common
+ branch: master
diff --git a/jjb/holmes/holmes-engine-mgt.yaml b/jjb/holmes/holmes-engine-mgt.yaml
index c8ac3bf6e..4341dfadb 100644
--- a/jjb/holmes/holmes-engine-mgt.yaml
+++ b/jjb/holmes/holmes-engine-mgt.yaml
@@ -1,69 +1,69 @@
---
- project:
- name: holmes-engine-management
- project-name: 'holmes-engine-management'
- jobs:
- - '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
- - gerrit-maven-stage:
- sign-artifacts: true
- build-node: centos8-docker-4c-4g
- maven-versions-plugin: true
- java-version: openjdk11
- sbom-generator: true
- - '{project-name}-{stream}-docker-java-daily':
- mvn-params: '-Dmaven.test.skip=true'
- build-node: ubuntu1804-docker-8c-8g
- java-version: openjdk11
- - '{project-name}-gerrit-release-jobs':
- build-node: centos7-docker-2c-1g
- java-version: openjdk11
- project: 'holmes/engine-management'
- stream:
- - 'master':
- branch: 'master'
- mvn-settings: 'holmes-engine-management-settings'
- files: '**'
- archive-artifacts: ''
- docker-pom: 'pom.xml'
- mvn-profile: docker
- build-node: ubuntu1804-builder-4c-4g
- java-version: openjdk11
+ name: holmes-engine-management
+ project-name: "holmes-engine-management"
+ jobs:
+ - "{project-name}-{stream}-verify-java"
+ - "{project-name}-{stream}-merge-java"
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ build-node: centos8-docker-4c-4g
+ maven-versions-plugin: true
+ java-version: openjdk11
+ sbom-generator: true
+ - "{project-name}-{stream}-docker-java-daily":
+ mvn-params: "-Dmaven.test.skip=true"
+ build-node: ubuntu1804-docker-8c-8g
+ java-version: openjdk11
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
+ java-version: openjdk11
+ project: "holmes/engine-management"
+ stream:
+ - "master":
+ branch: "master"
+ mvn-settings: "holmes-engine-management-settings"
+ files: "**"
+ archive-artifacts: ""
+ docker-pom: "pom.xml"
+ mvn-profile: docker
+ build-node: ubuntu1804-builder-4c-4g
+ java-version: openjdk11
- project:
- name: holmes-engine-management-sonar
- jobs:
- - gerrit-maven-sonar
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: ubuntu1804-builder-4c-4g
- project: 'holmes/engine-management'
- project-name: 'holmes-engine-management'
- branch: 'master'
- mvn-settings: 'holmes-engine-management-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
- java-version: openjdk11
+ name: holmes-engine-management-sonar
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: ubuntu1804-builder-4c-4g
+ project: "holmes/engine-management"
+ project-name: "holmes-engine-management"
+ branch: "master"
+ mvn-settings: "holmes-engine-management-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
+ java-version: openjdk11
- project:
- name: holmes-engine-management-clm
- jobs:
- - gerrit-maven-clm
- nexus-iq-namespace: 'onap-'
- project: holmes/engine-management
- project-name: 'holmes-engine-management'
- branch: 'master'
- mvn-settings: 'holmes-engine-management-settings'
- java-version: openjdk11
+ name: holmes-engine-management-clm
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: "onap-"
+ project: holmes/engine-management
+ project-name: "holmes-engine-management"
+ branch: "master"
+ mvn-settings: "holmes-engine-management-settings"
+ java-version: openjdk11
- project:
- name: holmes-engine-management-info
- project-name: holmes-engine-management
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: holmes/engine-management
- branch: master
+ name: holmes-engine-management-info
+ project-name: holmes-engine-management
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: holmes/engine-management
+ branch: master
diff --git a/jjb/holmes/holmes-rule-mgt.yaml b/jjb/holmes/holmes-rule-mgt.yaml
index 9a26bf91e..82fb6f599 100644
--- a/jjb/holmes/holmes-rule-mgt.yaml
+++ b/jjb/holmes/holmes-rule-mgt.yaml
@@ -1,69 +1,69 @@
---
- project:
- name: holmes-rule-management
- project-name: 'holmes-rule-management'
- jobs:
- - '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
- - gerrit-maven-stage:
- sign-artifacts: true
- build-node: centos8-docker-4c-4g
- maven-versions-plugin: true
- java-version: openjdk11
- sbom-generator: true
- - '{project-name}-{stream}-docker-java-daily':
- mvn-params: '-Dmaven.test.skip=true'
- build-node: ubuntu1804-docker-8c-8g
- java-version: openjdk11
- - '{project-name}-gerrit-release-jobs':
- build-node: centos7-docker-2c-1g
- java-version: openjdk11
- project: 'holmes/rule-management'
- stream:
- - 'master':
- branch: 'master'
- mvn-settings: 'holmes-rule-management-settings'
- files: '**'
- archive-artifacts: ''
- docker-pom: 'pom.xml'
- mvn-profile: docker
- build-node: ubuntu1804-builder-4c-4g
- java-version: openjdk11
+ name: holmes-rule-management
+ project-name: "holmes-rule-management"
+ jobs:
+ - "{project-name}-{stream}-verify-java"
+ - "{project-name}-{stream}-merge-java"
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ build-node: centos8-docker-4c-4g
+ maven-versions-plugin: true
+ java-version: openjdk11
+ sbom-generator: true
+ - "{project-name}-{stream}-docker-java-daily":
+ mvn-params: "-Dmaven.test.skip=true"
+ build-node: ubuntu1804-docker-8c-8g
+ java-version: openjdk11
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
+ java-version: openjdk11
+ project: "holmes/rule-management"
+ stream:
+ - "master":
+ branch: "master"
+ mvn-settings: "holmes-rule-management-settings"
+ files: "**"
+ archive-artifacts: ""
+ docker-pom: "pom.xml"
+ mvn-profile: docker
+ build-node: ubuntu1804-builder-4c-4g
+ java-version: openjdk11
- project:
- name: holmes-rule-management-sonar
- jobs:
- - gerrit-maven-sonar
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: ubuntu1804-builder-4c-4g
- project: 'holmes/rule-management'
- project-name: 'holmes-rule-management'
- branch: 'master'
- mvn-settings: 'holmes-rule-management-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
- java-version: openjdk11
+ name: holmes-rule-management-sonar
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: ubuntu1804-builder-4c-4g
+ project: "holmes/rule-management"
+ project-name: "holmes-rule-management"
+ branch: "master"
+ mvn-settings: "holmes-rule-management-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
+ java-version: openjdk11
- project:
- name: holmes-rule-management-clm
- jobs:
- - gerrit-maven-clm
- nexus-iq-namespace: 'onap-'
- project: holmes/rule-management
- project-name: 'holmes-rule-management'
- branch: 'master'
- mvn-settings: 'holmes-rule-management-settings'
- java-version: openjdk11
+ name: holmes-rule-management-clm
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: "onap-"
+ project: holmes/rule-management
+ project-name: "holmes-rule-management"
+ branch: "master"
+ mvn-settings: "holmes-rule-management-settings"
+ java-version: openjdk11
- project:
- name: holmes-rule-management-info
- project-name: holmes-rule-management
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: holmes/rule-management
- branch: master
+ name: holmes-rule-management-info
+ project-name: holmes-rule-management
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: holmes/rule-management
+ branch: master
diff --git a/jjb/lab/lab-templates.yaml b/jjb/lab/lab-templates.yaml
index 234d1fc86..951409ef4 100644
--- a/jjb/lab/lab-templates.yaml
+++ b/jjb/lab/lab-templates.yaml
@@ -1,36 +1,35 @@
---
- job-template:
- name: 'lab-{job-name}'
- description: '{job-desc}'
- disabled: false
- project-type: freestyle
- build-node: ubuntu1804-builder-4c-4g
+ name: "lab-{job-name}"
+ description: "{job-desc}"
+ disabled: false
+ project-type: freestyle
+ build-node: ubuntu1804-builder-4c-4g
- properties:
- - lf-infra-properties:
- project: 'integration'
- build-days-to-keep: '{build-days-to-keep}'
+ properties:
+ - lf-infra-properties:
+ project: "integration"
+ build-days-to-keep: "{build-days-to-keep}"
- parameters:
- - string:
- name: LOG_DIR_URL
- description: 'URL for the log directory produced by the external job'
- - string:
- name: SRC_BUILD_URL
- description: 'URL for the external Jenkins build triggering this build'
+ parameters:
+ - string:
+ name: LOG_DIR_URL
+ description: "URL for the log directory produced by the external job"
+ - string:
+ name: SRC_BUILD_URL
+ description: "URL for the external Jenkins build triggering this build"
- wrappers:
- - lf-infra-wrappers:
- build-timeout: '{build-timeout}'
- jenkins-ssh-credential: '{jenkins-ssh-credential}'
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: "{build-timeout}"
+ jenkins-ssh-credential: "{jenkins-ssh-credential}"
- builders:
- - shell:
- !include-raw:
- - include-raw-lab-retrieve-logs.sh
+ builders:
+ - shell: !include-raw:
+ - include-raw-lab-retrieve-logs.sh
- publishers:
- - integration-robot:
- unstable-if: 60.0
- pass-if: 100.0
- - lf-infra-publish
+ publishers:
+ - integration-robot:
+ unstable-if: 60.0
+ pass-if: 100.0
+ - lf-infra-publish
diff --git a/jjb/lab/lab.yaml b/jjb/lab/lab.yaml
index 7fbbe616f..d343f72e0 100644
--- a/jjb/lab/lab.yaml
+++ b/jjb/lab/lab.yaml
@@ -1,12 +1,12 @@
---
- project:
- name: lab
- jobs:
- - 'lab-{job-name}'
- job-name:
- - "windriver-oom-daily":
- job-desc: "OOM-based deployment into Wind River lab Integration-OOM-Daily tenant"
- - "windriver-oom-staging-daily":
- job-desc: "OOM-based deployment into Wind River lab Integration-OOM-Staging-Daily tenant"
- - "tlab-oom-daily":
- job-desc: "OOM-based deployment into AT&T TLAB Integration-OOM-Test tenant"
+ name: lab
+ jobs:
+ - "lab-{job-name}"
+ job-name:
+ - "windriver-oom-daily":
+ job-desc: "OOM-based deployment into Wind River lab Integration-OOM-Daily tenant"
+ - "windriver-oom-staging-daily":
+ job-desc: "OOM-based deployment into Wind River lab Integration-OOM-Staging-Daily tenant"
+ - "tlab-oom-daily":
+ job-desc: "OOM-based deployment into AT&T TLAB Integration-OOM-Test tenant"
diff --git a/jjb/lf-infra-releasedockerhub.yaml b/jjb/lf-infra-releasedockerhub.yaml
index bb2c37526..ee58beed5 100644
--- a/jjb/lf-infra-releasedockerhub.yaml
+++ b/jjb/lf-infra-releasedockerhub.yaml
@@ -1,68 +1,65 @@
---
- builder:
- name: lf-onap-releasedockerhub-macro
- builders:
- - shell: !include-raw-escape:
- - ../shell/run_releasedockerhub.sh
- ##- ../shell/run_releasedockerhub.sh "{org} {summary} {verbose} {copy}"
-
+ name: lf-onap-releasedockerhub-macro
+ builders:
+ - shell: !include-raw-escape:
+ - ../shell/run_releasedockerhub.sh
- job:
- name: lf-onap-release-docker-hub
- build-timeout: 90
-
- project-type: freestyle
- node: ubuntu1804-docker-8c-8g ## Probably don't need this much
- disable-job: false
- disabled: '{disable-job}'
-
- # Runs once a day
- triggers:
- - timed: '@daily'
+ name: lf-onap-release-docker-hub
+ build-timeout: 90
-# Define needed parameters for lf-infra-docker-login
- parameters:
- - string:
- name: DOCKER_REGISTRY
- default: 'nexus3.onap.org'
- - string:
- name: REGISTRY_PORTS
- default: '10002'
- - string:
- name: DOCKERHUB_REGISTRY
- default: 'docker.io'
+ project-type: freestyle
+ node: ubuntu1804-docker-8c-8g ## Probably don't need this much
+ disable-job: false
+ disabled: "{disable-job}"
-# Define needed parameters for lf-onap-releasedockerhub-macro
- - string:
- name: RELEASEDOCKERHUB_ORG
- default: 'onap'
- description: ''
- - string:
- name: RELEASEDOCKERHUB_REPO
- default: ''
- description: 'Only match repos that contains this string'
- - string:
- name: RELEASEDOCKERHUB_EXACT
- default: ''
- description: 'Repo has to exactly match RELEASEDOCKERHUB_REPO '
- - string:
- name: RELEASEDOCKERHUB_SUMMARY
- default: 'Yes'
- description: 'Provides a brief statistic summary of what it found, and what it should do. Activate with Yes'
- - string:
- name: RELEASEDOCKERHUB_VERBOSE
- default: ''
- description: 'Provides a verbose output of the operations. Activate with Yes'
- - string:
- name: RELEASEDOCKERHUB_COPY
- default: 'Yes'
- description: 'If a copy operation should be done from Nexus3 to docker hub. Activate with Yes'
+ # Runs once a day
+ triggers:
+ - timed: "@daily"
+ # Define needed parameters for lf-infra-docker-login
+ parameters:
+ - string:
+ name: DOCKER_REGISTRY
+ default: "nexus3.onap.org"
+ - string:
+ name: REGISTRY_PORTS
+ default: "10002"
+ - string:
+ name: DOCKERHUB_REGISTRY
+ default: "docker.io"
- builders:
- - lf-infra-pre-build ## shell/python-tools-install.sh
- - lf-infra-docker-login:
- global-settings-file: 'global-settings'
- settings-file: 'onap-releasedockerhub-authz-settings'
- - lf-onap-releasedockerhub-macro
+ # Define needed parameters for lf-onap-releasedockerhub-macro
+ - string:
+ name: RELEASEDOCKERHUB_ORG
+ default: "onap"
+ description: ""
+ - string:
+ name: RELEASEDOCKERHUB_REPO
+ default: ""
+ description: "Only match repos that contains this string"
+ - string:
+ name: RELEASEDOCKERHUB_EXACT
+ default: ""
+ description: "Repo has to exactly match RELEASEDOCKERHUB_REPO "
+ - string:
+ name: RELEASEDOCKERHUB_SUMMARY
+ default: "Yes"
+ # yamllint disable-line rule:line-length
+ description: "Provides a brief statistic summary of what it found, and what it should do. Activate with Yes"
+ - string:
+ name: RELEASEDOCKERHUB_VERBOSE
+ default: ""
+ description: "Provides a verbose output of the operations. Activate with Yes"
+ - string:
+ name: RELEASEDOCKERHUB_COPY
+ default: "Yes"
+ description: "If a copy operation should be done from Nexus3 to docker hub. Activate with Yes"
+ builders:
+ - lf-infra-pre-build ## shell/python-tools-install.sh
+ - lf-infra-docker-login:
+ global-settings-file: "global-settings"
+ settings-file: "onap-releasedockerhub-authz-settings"
+ - lf-onap-releasedockerhub-macro
diff --git a/jjb/modeling/modeling-etsicatalog-csit.yaml b/jjb/modeling/modeling-etsicatalog-csit.yaml
index e699b68a6..4d2248d41 100644
--- a/jjb/modeling/modeling-etsicatalog-csit.yaml
+++ b/jjb/modeling/modeling-etsicatalog-csit.yaml
@@ -1,14 +1,14 @@
---
- project:
- name: modeling-etsicatalog-csit
- jobs:
- - '{project-name}-{stream}-verify-csit-{functionality}'
- - '{project-name}-{stream}-csit-{functionality}'
- project-name: 'modeling-etsicatalog'
- recipients: 'denghui12@huawei.com'
- stream: 'master'
- functionality:
- - 'sanity-check':
- trigger_jobs: 'modeling-etsicatalog-master-docker-java-version-shell-daily'
- robot-options: ''
- branch: 'master'
+ name: modeling-etsicatalog-csit
+ jobs:
+ - "{project-name}-{stream}-verify-csit-{functionality}"
+ - "{project-name}-{stream}-csit-{functionality}"
+ project-name: "modeling-etsicatalog"
+ recipients: "denghui12@huawei.com"
+ stream: "master"
+ functionality:
+ - "sanity-check":
+ trigger_jobs: "modeling-etsicatalog-master-docker-java-version-shell-daily"
+ robot-options: ""
+ branch: "master"
diff --git a/jjb/modeling/modeling-etsicatalog.yaml b/jjb/modeling/modeling-etsicatalog.yaml
index b36003630..bae65ed3a 100644
--- a/jjb/modeling/modeling-etsicatalog.yaml
+++ b/jjb/modeling/modeling-etsicatalog.yaml
@@ -1,72 +1,70 @@
---
-
- project:
- name: modeling-etsicatalog
- project-name: 'modeling-etsicatalog'
- project: 'modeling/etsicatalog'
- stream:
- - 'master':
- branch: 'master'
- mvn-settings: 'modeling-etsicatalog-settings'
- subproject:
- - 'etsicatalog':
- path: '.'
- pattern: '**'
- jobs:
- - '{project-name}-{stream}-{subproject}-verify-python'
- - '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
- - gerrit-maven-stage:
- sign-artifacts: true
- build-node: centos8-docker-8c-8g
- maven-versions-plugin: true
- sbom-generator: true
+ name: modeling-etsicatalog
+ project-name: "modeling-etsicatalog"
+ project: "modeling/etsicatalog"
+ stream:
+ - "master":
+ branch: "master"
+ mvn-settings: "modeling-etsicatalog-settings"
+ subproject:
+ - "etsicatalog":
+ path: "."
+ pattern: "**"
+ jobs:
+ - "{project-name}-{stream}-{subproject}-verify-python"
+ - "{project-name}-{stream}-verify-java"
+ - "{project-name}-{stream}-merge-java"
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ build-node: centos8-docker-8c-8g
+ maven-versions-plugin: true
+ sbom-generator: true
- - '{project-name}-{stream}-docker-java-version-shell-daily':
- docker-pom: 'pom.xml'
- mvn-goals: 'install'
- script:
- !include-raw-escape: 'build-modeling-etsicatalog-docker-image.sh'
- build-node: ubuntu1804-docker-8c-8g
- - '{project-name}-gerrit-release-jobs':
- build-node: centos7-docker-2c-1g
- files: '**'
- archive-artifacts: ''
- build-node: ubuntu1804-builder-4c-4g
+ - "{project-name}-{stream}-docker-java-version-shell-daily":
+ docker-pom: "pom.xml"
+ mvn-goals: "install"
+ script: !include-raw-escape: "build-modeling-etsicatalog-docker-image.sh"
+ build-node: ubuntu1804-docker-8c-8g
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
+ files: "**"
+ archive-artifacts: ""
+ build-node: ubuntu1804-builder-4c-4g
- project:
- name: modeling-etsicatalog-sonar
- jobs:
- - gerrit-maven-sonar
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: ubuntu1804-builder-4c-4g
- project: 'modeling/etsicatalog'
- project-name: 'modeling-etsicatalog'
- branch: 'master'
- mvn-settings: 'modeling-etsicatalog-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: modeling-etsicatalog-sonar
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: ubuntu1804-builder-4c-4g
+ project: "modeling/etsicatalog"
+ project-name: "modeling-etsicatalog"
+ branch: "master"
+ mvn-settings: "modeling-etsicatalog-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
- project:
- name: modeling-etsicatalog-clm
- jobs:
- - gerrit-maven-clm
- nexus-iq-namespace: 'onap-'
- project: modeling/etsicatalog
- project-name: 'modeling-etsicatalog'
- build-node: centos8-redis-4c-4g
- branch: 'master'
- mvn-settings: 'modeling-etsicatalog-settings'
+ name: modeling-etsicatalog-clm
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: "onap-"
+ project: modeling/etsicatalog
+ project-name: "modeling-etsicatalog"
+ build-node: centos8-redis-4c-4g
+ branch: "master"
+ mvn-settings: "modeling-etsicatalog-settings"
- project:
- name: modeling-etsicatalog-info
- project-name: modeling-etsicatalog
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: modeling/etsicatalog
- branch: master
+ name: modeling-etsicatalog-info
+ project-name: modeling-etsicatalog
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: modeling/etsicatalog
+ branch: master
diff --git a/jjb/msb/msb-apigateway.yaml b/jjb/msb/msb-apigateway.yaml
index 314181c03..9678a4dfc 100644
--- a/jjb/msb/msb-apigateway.yaml
+++ b/jjb/msb/msb-apigateway.yaml
@@ -1,91 +1,72 @@
---
- project:
- name: msb-project-view
- project-name: msb
- views:
- - project-view
+ name: msb-project-view
+ project-name: msb
+ views:
+ - project-view
- project:
- name: msb-apigateway
- project-name: 'msb-apigateway'
- jobs:
- - '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
- - gerrit-maven-stage:
- sbom-generator: true
- sign-artifacts: true
- build-node: centos8-docker-4c-4g
- maven-versions-plugin: true
- - gerrit-maven-docker-stage:
- sbom-generator: true
- build-node: ubuntu1804-docker-8c-8g
- maven-versions-plugin: true
- mvn-pom: 'distributions/msb-apigateway/pom.xml'
- container-public-registry: 'nexus3.onap.org:10001'
- container-staging-registry: 'nexus3.onap.org:10003'
- mvn-params: '-f distributions/msb-apigateway/pom.xml -Dmaven.test.skip=true -P linux,docker'
- - '{project-name}-gerrit-release-jobs':
- build-node: centos7-docker-2c-1g
- project: 'msb/apigateway'
- stream:
- - 'master':
- branch: 'master'
- mvn-settings: 'msb-apigateway-settings'
- files: '**'
- archive-artifacts: ''
- build-node: ubuntu1804-builder-4c-4g
+ name: msb-apigateway
+ project-name: "msb-apigateway"
+ jobs:
+ - "{project-name}-{stream}-verify-java"
+ - "{project-name}-{stream}-merge-java"
+ - gerrit-maven-stage:
+ sbom-generator: true
+ sign-artifacts: true
+ build-node: centos8-docker-4c-4g
+ maven-versions-plugin: true
+ - gerrit-maven-docker-stage:
+ sbom-generator: true
+ build-node: ubuntu1804-docker-8c-8g
+ maven-versions-plugin: true
+ mvn-pom: "distributions/msb-apigateway/pom.xml"
+ container-public-registry: "nexus3.onap.org:10001"
+ container-staging-registry: "nexus3.onap.org:10003"
+ mvn-params: "-f distributions/msb-apigateway/pom.xml -Dmaven.test.skip=true -P linux,docker"
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
+ project: "msb/apigateway"
+ stream:
+ - "master":
+ branch: "master"
+ mvn-settings: "msb-apigateway-settings"
+ files: "**"
+ archive-artifacts: ""
+ build-node: ubuntu1804-builder-4c-4g
-#- project:
-# name: msb-apigateway-arm64
-# project-name: 'msb-apigateway-arm64'
-# jobs:
-# - '{project-name}-{stream}-docker-java-version-shell-daily':
-# docker-pom: 'pom.xml'
-# mvn-goals: 'install'
-# script:
-# !include-raw-escape: 'build-apigateway-docker-image.sh'
-#
-# project: 'msb/apigateway'
-# stream:
-# - 'master':
-# branch: 'master'
-# mvn-settings: 'msb-apigateway-settings'
-# files: '**'
-# archive-artifacts: ''
-# build-node: ubuntu1804-docker-arm64-4c-2g
-#
- project:
- name: msb-apigateway-sonar
- jobs:
- - gerrit-maven-sonar
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: ubuntu1804-builder-4c-4g
- project: 'msb/apigateway'
- project-name: 'msb-apigateway'
- branch: 'master'
- mvn-settings: 'msb-apigateway-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: msb-apigateway-sonar
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: ubuntu1804-builder-4c-4g
+ project: "msb/apigateway"
+ project-name: "msb-apigateway"
+ branch: "master"
+ mvn-settings: "msb-apigateway-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
- project:
- name: msb-apigateway-clm
- jobs:
- - gerrit-maven-clm
- nexus-iq-namespace: 'onap-'
- project: msb/apigateway
- project-name: 'msb-apigateway'
- branch: 'master'
- mvn-settings: 'msb-apigateway-settings'
+ name: msb-apigateway-clm
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: "onap-"
+ project: msb/apigateway
+ project-name: "msb-apigateway"
+ branch: "master"
+ mvn-settings: "msb-apigateway-settings"
- project:
- name: msb-apigateway-info
- project-name: msb-apigateway
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: msb/apigateway
- branch: master
+ name: msb-apigateway-info
+ project-name: msb-apigateway
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: msb/apigateway
+ branch: master
diff --git a/jjb/msb/msb-discovery.yaml b/jjb/msb/msb-discovery.yaml
index 7b9420420..7bc8eb14e 100644
--- a/jjb/msb/msb-discovery.yaml
+++ b/jjb/msb/msb-discovery.yaml
@@ -1,84 +1,66 @@
---
- project:
- name: msb-discovery
- project-name: 'msb-discovery'
- jobs:
- - '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
- - gerrit-maven-stage:
- sbom-generator: true
- sign-artifacts: true
- build-node: centos8-docker-4c-4g
- maven-versions-plugin: true
- - gerrit-maven-docker-stage:
- sbom-generator: true
- build-node: ubuntu1804-docker-8c-8g
- maven-versions-plugin: true
- container-public-registry: 'nexus3.onap.org:10001'
- container-staging-registry: 'nexus3.onap.org:10003'
- mvn-pom: 'distributions/msb-discovery/pom.xml'
- mvn-params: '-f distributions/msb-discovery/pom.xml -Dmaven.test.skip=true -P linux,docker'
- - '{project-name}-gerrit-release-jobs':
- build-node: centos7-docker-2c-1g
- project: 'msb/discovery'
- stream:
- - 'master':
- branch: 'master'
- mvn-settings: 'msb-discovery-settings'
- files: '**'
- archive-artifacts: ''
- build-node: ubuntu1804-builder-4c-4g
+ name: msb-discovery
+ project-name: "msb-discovery"
+ jobs:
+ - "{project-name}-{stream}-verify-java"
+ - "{project-name}-{stream}-merge-java"
+ - gerrit-maven-stage:
+ sbom-generator: true
+ sign-artifacts: true
+ build-node: centos8-docker-4c-4g
+ maven-versions-plugin: true
+ - gerrit-maven-docker-stage:
+ sbom-generator: true
+ build-node: ubuntu1804-docker-8c-8g
+ maven-versions-plugin: true
+ container-public-registry: "nexus3.onap.org:10001"
+ container-staging-registry: "nexus3.onap.org:10003"
+ mvn-pom: "distributions/msb-discovery/pom.xml"
+ mvn-params: "-f distributions/msb-discovery/pom.xml -Dmaven.test.skip=true -P linux,docker"
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
+ project: "msb/discovery"
+ stream:
+ - "master":
+ branch: "master"
+ mvn-settings: "msb-discovery-settings"
+ files: "**"
+ archive-artifacts: ""
+ build-node: ubuntu1804-builder-4c-4g
-#- project:
-# name: msb-discovery-arm64
-# project-name: 'msb-discovery-arm64'
-# jobs:
-# - '{project-name}-{stream}-docker-java-version-shell-daily':
-# docker-pom: 'pom.xml'
-# mvn-goals: 'install'
-# script:
-# !include-raw-escape: 'build-discovery-docker-image.sh'
-# build-node: ubuntu1804-docker-arm64-4c-2g
-# project: 'msb/discovery'
-# stream:
-# - 'master':
-# branch: 'master'
-# mvn-settings: 'msb-discovery-settings'
-# files: '**'
-# archive-artifacts: ''
-#
- project:
- name: msb-discovery-sonar
- jobs:
- - gerrit-maven-sonar
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: ubuntu1804-builder-4c-4g
- project: 'msb/discovery'
- project-name: 'msb-discovery'
- branch: 'master'
- mvn-settings: 'msb-discovery-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: msb-discovery-sonar
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: ubuntu1804-builder-4c-4g
+ project: "msb/discovery"
+ project-name: "msb-discovery"
+ branch: "master"
+ mvn-settings: "msb-discovery-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
- project:
- name: msb-discovery-clm
- jobs:
- - gerrit-maven-clm
- nexus-iq-namespace: 'onap-'
- project: msb/discovery
- project-name: 'msb-discovery'
- branch: 'master'
- mvn-settings: 'msb-discovery-settings'
+ name: msb-discovery-clm
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: "onap-"
+ project: msb/discovery
+ project-name: "msb-discovery"
+ branch: "master"
+ mvn-settings: "msb-discovery-settings"
- project:
- name: msb-discovery-info
- project-name: msb-discovery
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: msb/discovery
- branch: master
+ name: msb-discovery-info
+ project-name: msb-discovery
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: msb/discovery
+ branch: master
diff --git a/jjb/msb/msb-java-sdk.yaml b/jjb/msb/msb-java-sdk.yaml
index ccaeb328e..d793ec079 100644
--- a/jjb/msb/msb-java-sdk.yaml
+++ b/jjb/msb/msb-java-sdk.yaml
@@ -1,56 +1,56 @@
---
- project:
- name: msb-java-sdk
- project-name: 'msb-java-sdk'
- jobs:
- - '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
- - gerrit-maven-stage:
- sbom-generator: true
- sign-artifacts: true
- build-node: centos8-docker-4c-4g
- maven-versions-plugin: true
- project: 'msb/java-sdk'
- stream:
- - 'master':
- branch: 'master'
- mvn-settings: 'msb-java-sdk-settings'
- files: '**'
- archive-artifacts: ''
- build-node: ubuntu1804-builder-4c-4g
+ name: msb-java-sdk
+ project-name: "msb-java-sdk"
+ jobs:
+ - "{project-name}-{stream}-verify-java"
+ - "{project-name}-{stream}-merge-java"
+ - gerrit-maven-stage:
+ sbom-generator: true
+ sign-artifacts: true
+ build-node: centos8-docker-4c-4g
+ maven-versions-plugin: true
+ project: "msb/java-sdk"
+ stream:
+ - "master":
+ branch: "master"
+ mvn-settings: "msb-java-sdk-settings"
+ files: "**"
+ archive-artifacts: ""
+ build-node: ubuntu1804-builder-4c-4g
- project:
- name: msb-java-sdk-sonar
- jobs:
- - gerrit-maven-sonar
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: ubuntu1804-builder-4c-4g
- project: 'msb/java-sdk'
- project-name: 'msb-java-sdk'
- branch: 'master'
- mvn-settings: 'msb-java-sdk-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: msb-java-sdk-sonar
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: ubuntu1804-builder-4c-4g
+ project: "msb/java-sdk"
+ project-name: "msb-java-sdk"
+ branch: "master"
+ mvn-settings: "msb-java-sdk-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
- project:
- name: msb-java-sdk-clm
- jobs:
- - gerrit-maven-clm
- nexus-iq-namespace: 'onap-'
- project: msb/java-sdk
- project-name: 'msb-java-sdk'
- branch: 'master'
- mvn-settings: 'msb-java-sdk-settings'
+ name: msb-java-sdk-clm
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: "onap-"
+ project: msb/java-sdk
+ project-name: "msb-java-sdk"
+ branch: "master"
+ mvn-settings: "msb-java-sdk-settings"
- project:
- name: msb-java-sdk-info
- project-name: msb-java-sdk
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: msb/java-sdk
- branch: master
+ name: msb-java-sdk-info
+ project-name: msb-java-sdk
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: msb/java-sdk
+ branch: master
diff --git a/jjb/msb/msb-swagger-sdk.yaml b/jjb/msb/msb-swagger-sdk.yaml
index 4217d21fa..7aaa31052 100644
--- a/jjb/msb/msb-swagger-sdk.yaml
+++ b/jjb/msb/msb-swagger-sdk.yaml
@@ -1,56 +1,56 @@
---
- project:
- name: msb-swagger-sdk
- project-name: 'msb-swagger-sdk'
- jobs:
- - '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
- - gerrit-maven-stage:
- sbom-generator: true
- sign-artifacts: true
- build-node: centos8-docker-4c-4g
- maven-versions-plugin: true
- project: 'msb/swagger-sdk'
- stream:
- - 'master':
- branch: 'master'
- mvn-settings: 'msb-swagger-sdk-settings'
- files: '**'
- archive-artifacts: ''
- build-node: ubuntu1804-builder-4c-4g
+ name: msb-swagger-sdk
+ project-name: "msb-swagger-sdk"
+ jobs:
+ - "{project-name}-{stream}-verify-java"
+ - "{project-name}-{stream}-merge-java"
+ - gerrit-maven-stage:
+ sbom-generator: true
+ sign-artifacts: true
+ build-node: centos8-docker-4c-4g
+ maven-versions-plugin: true
+ project: "msb/swagger-sdk"
+ stream:
+ - "master":
+ branch: "master"
+ mvn-settings: "msb-swagger-sdk-settings"
+ files: "**"
+ archive-artifacts: ""
+ build-node: ubuntu1804-builder-4c-4g
- project:
- name: msb-swagger-sdk-sonar
- jobs:
- - gerrit-maven-sonar
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: ubuntu1804-builder-4c-4g
- project: 'msb/swagger-sdk'
- project-name: 'msb-swagger-sdk'
- branch: 'master'
- mvn-settings: 'msb-swagger-sdk-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: msb-swagger-sdk-sonar
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: ubuntu1804-builder-4c-4g
+ project: "msb/swagger-sdk"
+ project-name: "msb-swagger-sdk"
+ branch: "master"
+ mvn-settings: "msb-swagger-sdk-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
- project:
- name: msb-swagger-sdk-clm
- jobs:
- - gerrit-maven-clm
- nexus-iq-namespace: 'onap-'
- project: msb/swagger-sdk
- project-name: 'msb-swagger-sdk'
- branch: 'master'
- mvn-settings: 'msb-swagger-sdk-settings'
+ name: msb-swagger-sdk-clm
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: "onap-"
+ project: msb/swagger-sdk
+ project-name: "msb-swagger-sdk"
+ branch: "master"
+ mvn-settings: "msb-swagger-sdk-settings"
- project:
- name: msb-swagger-sdk-info
- project-name: msb-swagger-sdk
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: msb/swagger-sdk
- branch: master
+ name: msb-swagger-sdk-info
+ project-name: msb-swagger-sdk
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: msb/swagger-sdk
+ branch: master
diff --git a/jjb/multicloud/multicloud-framework.yaml b/jjb/multicloud/multicloud-framework.yaml
index ffb58ae89..a60b713d8 100644
--- a/jjb/multicloud/multicloud-framework.yaml
+++ b/jjb/multicloud/multicloud-framework.yaml
@@ -1,8 +1,9 @@
+---
- project:
- name: multicloud-framework-info
- project-name: multicloud-framework
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: multicloud/framework
- branch: master
+ name: multicloud-framework-info
+ project-name: multicloud-framework
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: multicloud/framework
+ branch: master
diff --git a/jjb/music/music-distributed-kv-store-csit.yaml b/jjb/music/music-distributed-kv-store-csit.yaml
deleted file mode 100644
index 314c2c47d..000000000
--- a/jjb/music/music-distributed-kv-store-csit.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# Integration templates no longer support these
-# job definitions; if Music CSIT needs to be restored,
-# '{project-name}-review-verification-golang-{stream}'
-# '{project-name}-merge-verification-golag-{stream}'
-# would have to be added to integration templates and
-# applied here
-#
-#---
-#- project:
-# name: music-distributed-kv-store-csit
-# jobs:
-# - '{project-name}-{stream}-project-csit'
-# - '{project-name}-review-verification-{stream}'
-# - '{project-name}-merge-verification-{stream}'
-# project-name: 'music-distributed-kv-store'
-# project: 'music/distributed-kv-store'
-# disabled: true
-# stream: 'master'
-# artifact-type: 'golang'
-# java-version: openjdk11
-# mvn-version: 'mvn36'
-# mvn-settings: 'music-distributed-kv-store-settings'
-# mvn-global-settings: global-settings
-# robot-options: ''
-# branch: 'master'
diff --git a/jjb/music/music-distributed-kv-store.yaml b/jjb/music/music-distributed-kv-store.yaml
index adf8b3a2c..576f459e9 100644
--- a/jjb/music/music-distributed-kv-store.yaml
+++ b/jjb/music/music-distributed-kv-store.yaml
@@ -1,29 +1,28 @@
---
- project:
- name: music-distributed-kv-store
- project-name: 'music-distributed-kv-store'
- path: 'src/dkv'
- jobs:
- - '{project-name}-{stream}-verify-golang'
- - '{project-name}-{stream}-merge-golang'
- - '{project-name}-{stream}-docker-golang-shell-daily':
- script:
- !include-raw-escape: 'build-music-distributed-kv-store-image.sh'
- project: 'music/distributed-kv-store'
- stream:
- - 'master':
- branch: 'master'
- artifact-type: 'golang'
- mvn-settings: 'music-distributed-kv-store-settings'
- files: '**'
- archive-artifacts: ''
- build-node: ubuntu1804-builder-4c-4g
+ name: music-distributed-kv-store
+ project-name: "music-distributed-kv-store"
+ path: "src/dkv"
+ jobs:
+ - "{project-name}-{stream}-verify-golang"
+ - "{project-name}-{stream}-merge-golang"
+ - "{project-name}-{stream}-docker-golang-shell-daily":
+ script: !include-raw-escape: "build-music-distributed-kv-store-image.sh"
+ project: "music/distributed-kv-store"
+ stream:
+ - "master":
+ branch: "master"
+ artifact-type: "golang"
+ mvn-settings: "music-distributed-kv-store-settings"
+ files: "**"
+ archive-artifacts: ""
+ build-node: ubuntu1804-builder-4c-4g
- project:
- name: music-distributed-kv-store-info
- project-name: music-distributed-kv-store
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: music/distributed-kv-store
- branch: master
+ name: music-distributed-kv-store-info
+ project-name: music-distributed-kv-store
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: music/distributed-kv-store
+ branch: master
diff --git a/jjb/music/music-jar.yaml b/jjb/music/music-jar.yaml
index c899e0afa..6a2bb3fd0 100644
--- a/jjb/music/music-jar.yaml
+++ b/jjb/music/music-jar.yaml
@@ -1,39 +1,38 @@
---
- project:
- name: music-jar
- project-name: 'music'
- subproject:
- - 'music-jar':
- pom: 'jar/pom.xml'
- pattern: 'jar/**'
- jobs:
- - '{project-name}-{stream}-{subproject}-verify-java'
- - '{project-name}-{stream}-{subproject}-merge-java'
- - gerrit-maven-stage:
- sbom-generator: true
- sign-artifacts: true
- build-node: centos8-docker-4c-4g
- maven-version-plugin: true
- mvn-pom: 'jar/pom.xml'
- mvn-params: '-f jar/pom.xml'
- pattern: 'jar/**'
- project: 'music'
- stream:
- - 'jar-master':
- branch: 'master'
- mvn-settings: 'music-settings'
- files: '**'
- archive-artifacts: ''
- build-node: ubuntu1804-builder-4c-4g
-
+ name: music-jar
+ project-name: "music"
+ subproject:
+ - "music-jar":
+ pom: "jar/pom.xml"
+ pattern: "jar/**"
+ jobs:
+ - "{project-name}-{stream}-{subproject}-verify-java"
+ - "{project-name}-{stream}-{subproject}-merge-java"
+ - gerrit-maven-stage:
+ sbom-generator: true
+ sign-artifacts: true
+ build-node: centos8-docker-4c-4g
+ maven-version-plugin: true
+ mvn-pom: "jar/pom.xml"
+ mvn-params: "-f jar/pom.xml"
+ pattern: "jar/**"
+ project: "music"
+ stream:
+ - "jar-master":
+ branch: "master"
+ mvn-settings: "music-settings"
+ files: "**"
+ archive-artifacts: ""
+ build-node: ubuntu1804-builder-4c-4g
- project:
- name: music-jar-clm
- jobs:
- - gerrit-maven-clm:
- mvn-params: '-f jar/pom.xml'
- nexus-iq-namespace: 'onap-'
- project: music
- project-name: 'music-jar'
- branch: 'master'
- mvn-settings: 'music-settings'
+ name: music-jar-clm
+ jobs:
+ - gerrit-maven-clm:
+ mvn-params: "-f jar/pom.xml"
+ nexus-iq-namespace: "onap-"
+ project: music
+ project-name: "music-jar"
+ branch: "master"
+ mvn-settings: "music-settings"
diff --git a/jjb/onap-jjb/onap-pypi-template.yaml b/jjb/onap-jjb/onap-pypi-template.yaml
index 7294ee638..d4cce22ab 100644
--- a/jjb/onap-jjb/onap-pypi-template.yaml
+++ b/jjb/onap-jjb/onap-pypi-template.yaml
@@ -1,199 +1,194 @@
---
# Job definition Anchors
- _pypi_job_boiler_plate: &pypi_job_boiler_plate
- name: pypi_job_boiler_plate
-
- #####################
- # Job Variables #
- #####################
-
- gerrit_merge_triggers:
- - change-merged-event
- - comment-added-contains-event:
- comment-contains-value: pypi-remerge$
-
- gerrit_release_trigger:
- - comment-added-contains-event:
- comment-contains-value: pypi-release$
-
- gerrit_trigger_file_paths:
- - compare-type: ANT
- pattern: '**'
-
- submodule-disable: false
- submodule-timeout: 10
-
- #####################
- # Job Configuration #
- #####################
-
- project-type: freestyle
- node: '{build-node}'
-
- parameters:
- - lf-infra-parameters:
- project: '{project}'
- branch: '{branch}'
- stream: '{stream}'
- lftools-version: '{lftools-version}'
- - lf-infra-tox-parameters:
- tox-dir: '{tox-dir}'
- tox-envs: '{tox-envs}'
-
-
- properties:
- - lf-infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- scm:
- - lf-infra-gerrit-scm:
- jenkins-ssh-credential: '{jenkins-ssh-credential}'
- git-url: '$GIT_URL/$PROJECT'
- refspec: '$GERRIT_REFSPEC'
- branch: '$GERRIT_BRANCH'
- submodule-recursive: true
- submodule-timeout: '{submodule-timeout}'
- submodule-disable: '{submodule-disable}'
- choosing-strategy: default
-
- wrappers:
- - lf-infra-wrappers:
- build-timeout: '{build-timeout}'
- jenkins-ssh-credential: '{jenkins-ssh-credential}'
-
- publishers:
- - lf-infra-publish
+ name: pypi_job_boiler_plate
+
+ #####################
+ # Job Variables #
+ #####################
+
+ gerrit_merge_triggers:
+ - change-merged-event
+ - comment-added-contains-event:
+ comment-contains-value: pypi-remerge$
+
+ gerrit_release_trigger:
+ - comment-added-contains-event:
+ comment-contains-value: pypi-release$
+
+ gerrit_trigger_file_paths:
+ - compare-type: ANT
+ pattern: "**"
+
+ submodule-disable: false
+ submodule-timeout: 10
+
+ #####################
+ # Job Configuration #
+ #####################
+
+ project-type: freestyle
+ node: "{build-node}"
+
+ parameters:
+ - lf-infra-parameters:
+ project: "{project}"
+ branch: "{branch}"
+ stream: "{stream}"
+ lftools-version: "{lftools-version}"
+ - lf-infra-tox-parameters:
+ tox-dir: "{tox-dir}"
+ tox-envs: "{tox-envs}"
+
+ properties:
+ - lf-infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
+
+ scm:
+ - lf-infra-gerrit-scm:
+ jenkins-ssh-credential: "{jenkins-ssh-credential}"
+ git-url: "$GIT_URL/$PROJECT"
+ refspec: "$GERRIT_REFSPEC"
+ branch: "$GERRIT_BRANCH"
+ submodule-recursive: true
+ submodule-timeout: "{submodule-timeout}"
+ submodule-disable: "{submodule-disable}"
+ choosing-strategy: default
+
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: "{build-timeout}"
+ jenkins-ssh-credential: "{jenkins-ssh-credential}"
+
+ publishers:
+ - lf-infra-publish
- job-template:
- name: '{project-name}-python-staging-{stream}'
-
- # Job template for PyPI staging jobs
- # Daily Builds
-
- <<: *pypi_job_boiler_plate
-
- triggers:
- - gerrit:
- server-name: '{gerrit-server-name}'
- trigger-on: '{obj:gerrit_merge_triggers}'
- projects:
- - project-compare-type: ANT
- project-pattern: '{project}'
- branches:
- - branch-compare-type: ANT
- branch-pattern: '**/{branch}'
- file-paths: '{obj:gerrit_trigger_file_paths}'
-
- builders:
- - lf-infra-tox-install:
- python-version: '{python-version}'
- - shell: !include-raw-escape: ../global-jjb/shell/tox-run.sh
- - config-file-provider:
- files:
- - file-id: pypirc
- target: '$HOME/.pypirc'
- - shell:
- !include-raw-escape: ../../shell/pypi-dist-build.sh
-
- - publish-pypi:
- pypi-server: staging
+ name: "{project-name}-python-staging-{stream}"
+
+ # Job template for PyPI staging jobs
+ # Daily Builds
+
+ <<: *pypi_job_boiler_plate
+
+ triggers:
+ - gerrit:
+ server-name: "{gerrit-server-name}"
+ trigger-on: "{obj:gerrit_merge_triggers}"
+ projects:
+ - project-compare-type: ANT
+ project-pattern: "{project}"
+ branches:
+ - branch-compare-type: ANT
+ branch-pattern: "**/{branch}"
+ file-paths: "{obj:gerrit_trigger_file_paths}"
+
+ builders:
+ - lf-infra-tox-install:
+ python-version: "{python-version}"
+ - shell: !include-raw-escape: ../global-jjb/shell/tox-run.sh
+ - config-file-provider:
+ files:
+ - file-id: pypirc
+ target: "$HOME/.pypirc"
+ - shell: !include-raw-escape: ../../shell/pypi-dist-build.sh
+
+ - publish-pypi:
+ pypi-server: staging
- job-template:
- name: '{project-name}-python-release-{stream}'
-
- # Job template for PyPI release jobs
-
- <<: *pypi_job_boiler_plate
-
- triggers:
- - gerrit:
- server-name: '{gerrit-server-name}'
- trigger-on: '{obj:gerrit_release_trigger}'
- projects:
- - project-compare-type: ANT
- project-pattern: '{project}'
- branches:
- - branch-compare-type: ANT
- branch-pattern: '**/{branch}'
- file-paths: '{obj:gerrit_trigger_file_paths}'
-
- builders:
- - lf-infra-tox-install:
- python-version: '{python-version}'
- - shell: !include-raw-escape: ../global-jjb/shell/tox-run.sh
- - config-file-provider:
- files:
- - file-id: pypirc
- target: '$HOME/.pypirc'
- - shell:
- !include-raw-escape: ../../shell/pypi-dist-build.sh
-
- - publish-pypi:
- pypi-server: release
+ name: "{project-name}-python-release-{stream}"
+
+ # Job template for PyPI release jobs
+
+ <<: *pypi_job_boiler_plate
+
+ triggers:
+ - gerrit:
+ server-name: "{gerrit-server-name}"
+ trigger-on: "{obj:gerrit_release_trigger}"
+ projects:
+ - project-compare-type: ANT
+ project-pattern: "{project}"
+ branches:
+ - branch-compare-type: ANT
+ branch-pattern: "**/{branch}"
+ file-paths: "{obj:gerrit_trigger_file_paths}"
+
+ builders:
+ - lf-infra-tox-install:
+ python-version: "{python-version}"
+ - shell: !include-raw-escape: ../global-jjb/shell/tox-run.sh
+ - config-file-provider:
+ files:
+ - file-id: pypirc
+ target: "$HOME/.pypirc"
+ - shell: !include-raw-escape: ../../shell/pypi-dist-build.sh
+
+ - publish-pypi:
+ pypi-server: release
- job-template:
- name: '{project-name}-{subproject}-python-staging-{stream}'
-
- # Job template for PyPI staging jobs
- # Daily Builds
-
- <<: *pypi_job_boiler_plate
-
- triggers:
- - gerrit:
- server-name: '{gerrit-server-name}'
- trigger-on: '{obj:gerrit_merge_triggers}'
- projects:
- - project-compare-type: ANT
- project-pattern: '{project}'
- branches:
- - branch-compare-type: ANT
- branch-pattern: '**/{branch}'
- file-paths: '{obj:gerrit_trigger_file_paths}'
-
- builders:
- - lf-infra-tox-install:
- python-version: '{python-version}'
- - shell: !include-raw-escape: ../global-jjb/shell/tox-run.sh
- - config-file-provider:
- files:
- - file-id: pypirc
- target: '$HOME/.pypirc'
- - shell:
- !include-raw-escape: ../../shell/pypi-dist-build.sh
-
- - publish-pypi:
- pypi-server: staging
+ name: "{project-name}-{subproject}-python-staging-{stream}"
+
+ # Job template for PyPI staging jobs
+ # Daily Builds
+
+ <<: *pypi_job_boiler_plate
+
+ triggers:
+ - gerrit:
+ server-name: "{gerrit-server-name}"
+ trigger-on: "{obj:gerrit_merge_triggers}"
+ projects:
+ - project-compare-type: ANT
+ project-pattern: "{project}"
+ branches:
+ - branch-compare-type: ANT
+ branch-pattern: "**/{branch}"
+ file-paths: "{obj:gerrit_trigger_file_paths}"
+
+ builders:
+ - lf-infra-tox-install:
+ python-version: "{python-version}"
+ - shell: !include-raw-escape: ../global-jjb/shell/tox-run.sh
+ - config-file-provider:
+ files:
+ - file-id: pypirc
+ target: "$HOME/.pypirc"
+ - shell: !include-raw-escape: ../../shell/pypi-dist-build.sh
+
+ - publish-pypi:
+ pypi-server: staging
- job-template:
- name: '{project-name}-{subproject}-python-release-{stream}'
-
- # Job template for PyPI release jobs
-
- <<: *pypi_job_boiler_plate
-
- triggers:
- - gerrit:
- server-name: '{gerrit-server-name}'
- trigger-on: '{obj:gerrit_release_trigger}'
- projects:
- - project-compare-type: ANT
- project-pattern: '{project}'
- branches:
- - branch-compare-type: ANT
- branch-pattern: '**/{branch}'
- file-paths: '{obj:gerrit_trigger_file_paths}'
-
- builders:
- - lf-infra-tox-install:
- python-version: '{python-version}'
- - shell: !include-raw-escape: ../global-jjb/shell/tox-run.sh
- - config-file-provider:
- files:
- - file-id: pypirc
- target: '$HOME/.pypirc'
- - shell:
- !include-raw-escape: ../../shell/pypi-dist-build.sh
-
- - publish-pypi:
- pypi-server: release
+ name: "{project-name}-{subproject}-python-release-{stream}"
+
+ # Job template for PyPI release jobs
+
+ <<: *pypi_job_boiler_plate
+
+ triggers:
+ - gerrit:
+ server-name: "{gerrit-server-name}"
+ trigger-on: "{obj:gerrit_release_trigger}"
+ projects:
+ - project-compare-type: ANT
+ project-pattern: "{project}"
+ branches:
+ - branch-compare-type: ANT
+ branch-pattern: "**/{branch}"
+ file-paths: "{obj:gerrit_trigger_file_paths}"
+
+ builders:
+ - lf-infra-tox-install:
+ python-version: "{python-version}"
+ - shell: !include-raw-escape: ../global-jjb/shell/tox-run.sh
+ - config-file-provider:
+ files:
+ - file-id: pypirc
+ target: "$HOME/.pypirc"
+ - shell: !include-raw-escape: ../../shell/pypi-dist-build.sh
+
+ - publish-pypi:
+ pypi-server: release
diff --git a/jjb/so/so-libs.yaml b/jjb/so/so-libs.yaml
index d4c4b8f1d..e8a145b67 100644
--- a/jjb/so/so-libs.yaml
+++ b/jjb/so/so-libs.yaml
@@ -1,68 +1,66 @@
---
- project:
- name: so-libs
- project-name: 'so-libs'
- jobs:
- - '{project-name}-{stream}-verify-java'
- - '{project-name}-{stream}-merge-java'
- - gerrit-maven-stage:
- sbom-generator: true
- sign-artifacts: true
- build-node: centos8-docker-4c-4g
- maven-versions-plugin: true
- - '{project-name}-gerrit-release-jobs':
- build-node: centos7-docker-2c-1g
- project: 'so/libs'
- stream:
- - 'master':
- branch: 'master'
- java-version: openjdk11
- mvn-settings: 'so-libs-settings'
- # due to a strange macro / variable translation problem this needs to be
- # passed as a string block to properly get the properties correctly defined
- # in the job
- maven-deploy-properties: |
- deployAtEnd=true
- files: '**'
- archive-artifacts: ''
+ name: so-libs
+ project-name: "so-libs"
+ jobs:
+ - "{project-name}-{stream}-verify-java"
+ - "{project-name}-{stream}-merge-java"
+ - gerrit-maven-stage:
+ sbom-generator: true
+ sign-artifacts: true
+ build-node: centos8-docker-4c-4g
+ maven-versions-plugin: true
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
+ project: "so/libs"
+ stream:
+ - "master":
+ branch: "master"
+ java-version: openjdk11
+ mvn-settings: "so-libs-settings"
+ # due to a strange macro / variable translation problem this needs to be
+ # passed as a string block to properly get the properties correctly defined
+ # in the job
+ maven-deploy-properties: |
+ deployAtEnd=true
+ files: "**"
+ archive-artifacts: ""
- project:
- name: so-libs-sonar
- java-version: openjdk11
- jobs:
- - gerrit-maven-sonar
- sonarcloud: true
- sonarcloud-project-organization: '{sonarcloud_project_organization}'
- sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: '{sonar_mvn_goal}'
- cron: '@daily'
- build-node: ubuntu1804-builder-4c-4g
- project: 'so/libs'
- project-name: 'so-libs'
- java-version: openjdk11
- branch: 'master'
- mvn-settings: 'so-libs-settings'
- mvn-goals: 'clean install'
- mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+ name: so-libs-sonar
+ java-version: openjdk11
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: "{sonarcloud_project_organization}"
+ sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
+ sonar-mvn-goal: "{sonar_mvn_goal}"
+ cron: "@daily"
+ build-node: ubuntu1804-builder-4c-4g
+ project: "so/libs"
+ project-name: "so-libs"
+ branch: "master"
+ mvn-settings: "so-libs-settings"
+ mvn-goals: "clean install"
+ mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
- project:
- name: so-libs-clm
- java-version: openjdk11
- jobs:
- - gerrit-maven-clm
- nexus-iq-namespace: 'onap-'
- project: so/libs
- project-name: 'so-libs'
- java-version: openjdk11
- branch: 'master'
- mvn-settings: 'so-libs-settings'
+ name: so-libs-clm
+ java-version: openjdk11
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: "onap-"
+ project: so/libs
+ project-name: "so-libs"
+ branch: "master"
+ mvn-settings: "so-libs-settings"
- project:
- name: so-libs-info
- project-name: so-libs
- java-version: openjdk11
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos8-builder-2c-1g
- project: so/libs
- branch: master
+ name: so-libs-info
+ project-name: so-libs
+ java-version: openjdk11
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos8-builder-2c-1g
+ project: so/libs
+ branch: master