---
# build_openolt_deb

- project:
    name: build_openolt_deb

    project-name: '{name}'

    jobs:
      - 'build_openolt_deb'

- job-template:
    id: build_openolt_deb
    name: 'build_openolt_deb'
    description: |
      <!-- Managed by Jenkins Job Builder -->
      Created by {id} job-template from ci-management/jjb/olt-voltha.yaml

    triggers:
      - cord-infra-gerrit-trigger-merge:
          gerrit-server-name: '{gerrit-server-name}'
          project-regexp: '^(openolt)$'
          branch-regexp: '{modern-branches-regexp}'
          file-include-regexp: '{doc-files-regexp}'
          dependency-jobs: '{dependency-jobs}'

    properties:
      - cord-infra-properties:
          build-days-to-keep: '{build-days-to-keep}'
          artifact-num-to-keep: '{artifact-num-to-keep}'

    parameters:
      - string:
         name: notificationEmail
         default: 'shad@opennetworking.org'
         description: ''

    node: 'openolt_deb_onf_agent'

    project-type: pipeline
    concurrent: true

    pipeline-scm:
      script-path: 'Jenkinsfile'
      scm:
        - git:
           url: '{gerrit-server-url}/openolt'
           branches:
             - 'master'
