---
# omec-ci job

- project:
    name: omec-ci
    project-name: '{name}'

    jobs:
      - 'omec-ci'

- job-template:
    id: 'omec-ci'
    name: omec-ci
    project-type: pipeline

    description: |
      <!-- Managed by Jenkins Job Builder -->
      Created by {id} job-template from ci-management/jjb/omec-ci.yaml  <br /><br />

    properties:
      - 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: '{build-timeout}'
          jenkins-ssh-credential: '{jenkins-ssh-credential}'

    parameters:
      - string:
         name: TestNodeName
         default: 'intel'
         description: 'Name of the Jenkins node to run the job on'

      - string:
         name: branch
         default: 'master'
         description: ''

      - string:
         name: notificationEmail
         default: 'omecproject-support@opennetworking.org'
         description: ''

    concurrent: true

    pipeline-scm:
      script-path: 'Jenkinsfile-build-vms.groovy'
      scm:
        - git:
           url: 'https://github.com/omec-project/omec-project-ci'
           branches:
             - 'master'
