---
# POD Build Pipeline Jobs for ATT-WorkflowDriver

- project:
    name: attworkflowdriver-build-job

    project-name: '{name}'

    build-timeout: '300'

    jobs:
      # onlab pod1 build
      - 'build_pod_manual':
         testvm: 'onf-build'
         config-pod: 'onlab-pod1'
         profile: 'att-workflow'
         branch: 'master'
         Jenkinsfile: 'Jenkinsfile-attworkflow-build'
         oltDebVersion: 'openolt-master.deb'

      # flex pod1 test job - using voltha-master branch
      - 'build_pod_test':
         testvm: 'onf-build'
         config-pod: 'onlab-pod1-qa'
         profile: 'att-workflow'
         branch: 'master'
         Jenkinsfile: 'Jenkinsfile-attworkflow-test'

      # onlab pod2 build
      - 'build_pod_manual':
         testvm: 'onf-build'
         config-pod: 'onlab-pod2'
         profile: 'att-workflow'
         branch: 'master'
         Jenkinsfile: 'Jenkinsfile-attworkflow-build'
         oltDebVersion: 'openolt-master.deb'

      # flex OCP pod with olt/onu : using voltha latest(master)
      - 'build_pod_timer':
         testvm: 'qa-testvm-pod'
         config-pod: 'flex-ocp-cord-voltha-master'
         profile: 'att-workflow'
         branch: 'master'
         Jenkinsfile: 'Jenkinsfile-attworkflow-build'
         oltDebVersion: 'openolt-master.deb'
         time: '6'

      # flex OCP pod with olt/onu - seba-1.0/cord-6.1 release
      - 'build_pod_timer':
         testvm: 'qa-testvm-pod'
         config-pod: 'flex-ocp-cord-voltha16'
         profile: 'att-workflow'
         branch: 'cord-6.1'
         Jenkinsfile: 'Jenkinsfile-attworkflow-build'
         oltDebVersion: 'openolt-master-voltha16.deb'
         configurePod: true
         time: '3'

      # flex-onf pod1 build
      - 'build_pod_manual':
         testvm: 'qa-testvm-pod'
         config-pod: 'flex-onf-pod1'
         profile: 'att-workflow'
         branch: 'master'
         Jenkinsfile: 'Jenkinsfile-attworkflow-build'
         oltDebVersion: 'openolt-master.deb'
         configurePod: false
         reinstallOlt: false
         installBBSim: true
         onuNumber: 2

      # flex OCP test job - using voltha-master branch
      - 'build_pod_test':
         testvm: 'qa-testvm-pod'
         config-pod: 'flex-ocp-cord-voltha-master'
         profile: 'att-workflow'
         branch: 'master'
         Jenkinsfile: 'Jenkinsfile-attworkflow-test'

      # flex ocp pod test job - seba-1.0/cord-6.1 release
      - 'build_pod_test':
         testvm: 'qa-testvm-pod'
         config-pod: 'flex-ocp-cord-voltha16'
         profile: 'att-workflow'
         branch: 'cord-6.1'
         Jenkinsfile: 'Jenkinsfile-attworkflow-test'
