blob: f980cbc8c2d9c0d2e642a91326d30a21e20fb1a7 [file] [log] [blame]
---
# verification jobs for 'openolt' repo
- project:
name: openolt
project: '{name}'
jobs:
- 'verify-openolt-jobs':
branch-regexp: '{all-branches-regexp}'
- job-group:
name: 'verify-openolt-jobs'
jobs:
- 'verify-licensed'
- 'make-unit-test':
build-node: 'ubuntu18.04-basebuild-2c-4g'
unit-test-targets: 'test'
# openolt uses gtest which outputs in xunit format
junit-allow-empty-results: true
xunit-skip-if-no-test-files: false
- job-template:
id: 'openolt-tests'
name: 'verify_{project}_tests'
description: |
Created by {id} job-template from ci-management/jjb/verify/openolt.yaml
triggers:
- cord-infra-gerrit-trigger-patchset:
gerrit-server-name: '{gerrit-server-name}'
project-regexp: '^{project}$'
branch-regexp: '{branch-regexp}'
dependency-jobs: '{dependency-jobs}'
file-include-regexp: '{all-files-regexp}'
properties:
- cord-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
artifact-num-to-keep: '{artifact-num-to-keep}'
node: 'openolt_deb_onf_agent'
project-type: pipeline
concurrent: true
pipeline-scm:
script-path: 'Jenkinsfile.test'
scm:
- cord-infra-gerrit-scm:
git-url: '$GIT_URL/$GERRIT_PROJECT'
refspec: '$GERRIT_REFSPEC'
branch: '$GERRIT_BRANCH'
submodule-recursive: 'false'
choosing-strategy: 'gerrit'
jenkins-ssh-credential: '{jenkins-ssh-credential}'
basedir: ''
# [EOF]