Merge "merge swagger_base_url with ui_url"
[releng.git] / jjb / orchestra / orchestra-daily-jobs.yml
1 ###################################
2 # job configuration for orchestra
3 ###################################
4 - project:
5     name: 'orchestra-daily-jobs'
6
7     project: 'orchestra'
8
9 #--------------------------------
10 # BRANCH ANCHORS
11 #--------------------------------
12     master: &master
13         stream: master
14         branch: '{stream}'
15         gs-pathname: ''
16         disabled: false
17
18 #-------------------------------------------------------
19 # POD, INSTALLER, AND BRANCH MAPPING
20 #-------------------------------------------------------
21     pod:
22         - virtual:
23             slave-label: 'joid-virtual'
24             os-version: 'xenial'
25             <<: *master
26
27     jobs:
28         - 'orchestra-{pod}-daily-{stream}'
29
30 ################################
31 # job template
32 ################################
33 - job-template:
34     name: 'orchestra-{pod}-daily-{stream}'
35
36     project-type: multijob
37
38     disabled: '{obj:disabled}'
39
40     concurrent: false
41
42     properties:
43         - logrotate-default
44         - throttle:
45             enabled: true
46             max-total: 1
47             max-per-node: 1
48             option: 'project'
49
50     scm:
51         - git-scm
52
53     wrappers:
54         - ssh-agent-wrapper
55
56         - timeout:
57             timeout: 240
58             fail: true
59
60     triggers:
61          - timed: '@daily'
62
63     parameters:
64         - project-parameter:
65             project: '{project}'
66             branch: '{branch}'
67         - string:
68             name: DEPLOY_SCENARIO
69             default: os-nosdn-openbaton-ha
70         - '{slave-label}-defaults'
71
72     builders:
73         - description-setter:
74             description: "Built on $NODE_NAME"
75         - multijob:
76             name: deploy
77             condition: SUCCESSFUL
78             projects:
79                 - name: 'joid-deploy-{pod}-daily-{stream}'
80                   current-parameters: false
81                   predefined-parameters: |
82                     DEPLOY_SCENARIO=os-nosdn-openbaton-ha
83                     COMPASS_OS_VERSION=xenial
84                   node-parameters: true
85                   kill-phase-on: FAILURE
86                   abort-all-job: true
87         - multijob:
88             name: functest
89             condition: SUCCESSFUL
90             projects:
91                 - name: 'functest-joid-{pod}-daily-{stream}'
92                   current-parameters: false
93                   predefined-parameters: |
94                     DEPLOY_SCENARIO=os-nosdn-openbaton-ha
95                     FUNCTEST_SUITE_NAME=orchestra_ims
96                   node-parameters: true
97                   kill-phase-on: NEVER
98                   abort-all-job: true