- 'onos'
- 'opencontrail'
- pod: 'lf-pod2'
+ pod:
+ - 'opnfv-jump-2'
+ - 'ericsson-pod1'
+
+ loop:
+ - 'daily'
+
+ # ignore these as these will not exist in real job
+ dummy-phase:
+ - build
+ - deploy
+ - functest
+ - yardstick
stream:
- master:
gs-pathname: ''
jobs:
- - 'opnfv-fuel-{controller}-daily-{stream}'
- - 'opnfv-fuel-daily-deploy-{stream}'
+ - 'tmp_fuel-{controller}-{pod}-{loop}-{stream}'
+ - 'tmp_fuel-{dummy-phase}-{pod}-{loop}-{stream}'
########################
# job templates
########################
- job-template:
- name: 'opnfv-fuel-{controller}-daily-{stream}'
+ name: 'tmp_fuel-{controller}-{pod}-{loop}-{stream}'
- disabled: true
-
- concurrent: false
-
- node: ericsson-build
+ project-type: multijob
parameters:
- project-parameter:
project: '{installer}'
- - '{installer}-defaults':
- controller: '{controller}'
+ - 'ericsson-ca-build-1-defaults'
+ - '{installer}-defaults'
+ - string:
+ name: CONTROLLER
+ default: '{controller}'
+ - string:
+ name: FEATURE
+ default: 'none'
scm:
- git-scm:
branch: '{branch}'
builders:
- - trigger-builds:
- - project: 'opnfv-fuel-daily-deploy-{stream}'
- git-revision: true
- block: true
- predefined-parameters:
- CONTROLLER={controller}
+ - multijob:
+ name: build
+ condition: SUCCESSFUL
+ projects:
+ - name: 'tmp_fuel-build-{loop}-{stream}'
+ kill-phase-on: FAILURE
+ current-parameters: true
+ - multijob:
+ name: deploy
+ condition: SUCCESSFUL
+ projects:
+ - name: 'tmp_fuel-deploy-{pod}-{loop}-{stream}'
+ kill-phase-on: FAILURE
+ current-parameters: true
+ - multijob:
+ name: functest
+ projects:
+ - name: 'tmp_fuel-test-{pod}-{loop}-{stream}'
+ current-parameters: true
+ - multijob:
+ name: yardstick
+ projects:
+ - name: 'tmp_fuel-test-{pod}-{loop}-{stream}'
+ current-parameters: true
+
- job-template:
- name: 'opnfv-fuel-daily-deploy-{stream}'
+ name: 'tmp_fuel-{dummy-phase}-{pod}-{loop}-{stream}'
- disabled: true
+ disabled: false
concurrent: false
project: '{installer}'
- '{pod}-defaults'
- '{installer}-defaults'
+ - string:
+ name: CONTROLLER
+ default: 'none'
+ - string:
+ name: FEATURE
+ default: 'none'
scm:
- git-scm:
builders:
- shell: |
#!/bin/bash
- echo "Hello World from OPNFV $INSTALLER_NAME"
- echo "Running $INSTALLER_NAME with controller $CONTROLLER"
+ echo "Hello World from OPNFV $INSTALLER_TYPE"
+ echo "Running $INSTALLER_TYPE with controller $CONTROLLER"