| --- |
| # verification jobe for voltha |
| |
| - job-template: |
| id: 'voltha-unit-test' |
| name: '{project}_unit-test' |
| |
| description: | |
| Created by {id} job-template from ci-management/jjb/voltha-unit-test.yaml |
| |
| triggers: |
| - cord-infra-gerrit-trigger-patchset: |
| gerrit-server-name: '{gerrit-server-name}' |
| project-regexp: '^{project}$' |
| branch-regexp: '{branch-regexp}' |
| file-include-regexp: '{all-files-regexp}' |
| dependency-jobs: '{dependency-jobs}' |
| |
| properties: |
| - onf-infra-volthadevs-permissions |
| - cord-infra-properties: |
| build-days-to-keep: '{build-days-to-keep}' |
| artifact-num-to-keep: '{artifact-num-to-keep}' |
| |
| wrappers: |
| - lf-infra-wrappers: |
| build-timeout: 20 |
| jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| |
| scm: |
| - lf-infra-gerrit-scm: |
| git-url: '$GIT_URL/$GERRIT_PROJECT' |
| refspec: '$GERRIT_REFSPEC' |
| branch: '$GERRIT_BRANCH' |
| submodule-disable: '{submodule-disable}' |
| submodule-recursive: 'false' |
| submodule-timeout: '{submodule-timeout}' |
| choosing-strategy: gerrit |
| jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| |
| # node: 'ubuntu18.04-basebuild-4c-8g' |
| node: 'ubuntu18.04-basebuild-8c-15g' |
| project-type: freestyle |
| concurrent: true |
| |
| builders: |
| - shell: | |
| #!/usr/bin/env bash |
| set -e -o pipefail |
| |
| rm -rf venv-linux |
| source ./env.sh |
| |
| make utest-with-coverage |
| |
| publishers: |
| - junit: |
| results: "**/nosetests.xml,**/junit-report.xml" |
| - cobertura: |
| report-file: "**/coverage.xml" |
| targets: |
| - files: |
| healthy: 80 |
| unhealthy: 0 |
| failing: 0 |
| - method: |
| healthy: 50 |
| unhealthy: 0 |
| failing: 0 |
| |
| # [EOF] |