Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 1 | parameters: |
Filip Pytloun | a83bbee | 2017-03-15 18:13:59 +0100 | [diff] [blame] | 2 | _param: |
| 3 | jenkins_contrail_pipeline: "${_param:jenkins_gerrit_url}/contrail/contrail-pipeline" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 4 | jenkins: |
| 5 | client: |
| 6 | job_template: |
| 7 | build-opencontrail: |
| 8 | name: build-opencontrail-{{buildname}}-{{os}}-{{dist}} |
| 9 | jobs: |
| 10 | - buildname: oc303 |
| 11 | os: ubuntu |
| 12 | dist: trusty |
| 13 | branch: R3.0.3.x |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 14 | ppa: mirantis-opencontrail/opencontrail-3.0.3 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 15 | upload_source_package: false |
| 16 | - buildname: oc31 |
| 17 | os: ubuntu |
| 18 | dist: trusty |
| 19 | branch: R3.1 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 20 | ppa: mirantis-opencontrail/opencontrail-3.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 21 | upload_source_package: true |
| 22 | - buildname: oc31 |
| 23 | os: ubuntu |
| 24 | dist: xenial |
| 25 | branch: R3.1 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 26 | ppa: mirantis-opencontrail/opencontrail-3.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 27 | upload_source_package: true |
| 28 | - buildname: oc311 |
| 29 | os: ubuntu |
| 30 | dist: trusty |
| 31 | branch: R3.1.1.x |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 32 | ppa: mirantis-opencontrail/opencontrail-3.1.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 33 | upload_source_package: true |
| 34 | - buildname: oc311 |
| 35 | os: ubuntu |
| 36 | dist: xenial |
| 37 | branch: R3.1.1.x |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 38 | ppa: mirantis-opencontrail/opencontrail-3.1.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 39 | upload_source_package: true |
| 40 | - buildname: oc32 |
| 41 | os: ubuntu |
| 42 | dist: trusty |
| 43 | branch: R3.2 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 44 | ppa: mirantis-opencontrail/opencontrail-3.2 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 45 | upload_source_package: true |
| 46 | - buildname: oc32 |
| 47 | os: ubuntu |
| 48 | dist: xenial |
| 49 | branch: R3.2 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 50 | ppa: mirantis-opencontrail/opencontrail-3.2 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 51 | upload_source_package: true |
| 52 | template: |
| 53 | discard: |
| 54 | build: |
| 55 | keep_num: 5 |
| 56 | artifact: |
| 57 | keep_num: 5 |
| 58 | type: workflow-scm |
| 59 | concurrent: false |
| 60 | quiet_period: 120 |
| 61 | scm: |
| 62 | type: git |
| 63 | url: "${_param:jenkins_contrail_pipeline}" |
| 64 | credentials: "gerrit" |
| 65 | github: |
| 66 | url: https://github.com/Mirantis/ccp-contrail-pipeline |
| 67 | trigger: |
| 68 | gerrit: |
| 69 | project: |
| 70 | contrail/contrail-pipeline: |
| 71 | branches: |
| 72 | - "{{branch}}" |
| 73 | contrail/contrail-build: |
| 74 | branches: |
| 75 | - "{{branch}}" |
| 76 | contrail/contrail-controller: |
| 77 | branches: |
| 78 | - "{{branch}}" |
| 79 | contrail/contrail-vrouter: |
| 80 | branches: |
| 81 | - "{{branch}}" |
| 82 | contrail/contrail-third-party: |
| 83 | branches: |
| 84 | - "{{branch}}" |
| 85 | contrail/contrail-generateDS: |
| 86 | branches: |
| 87 | - "{{branch}}" |
| 88 | contrail/contrail-sandesh: |
| 89 | branches: |
| 90 | - "{{branch}}" |
| 91 | contrail/contrail-packages: |
| 92 | branches: |
| 93 | - "{{branch}}" |
| 94 | contrail/contrail-nova-vif-driver: |
| 95 | branches: |
| 96 | - "{{branch}}" |
| 97 | contrail/contrail-neutron-plugin: |
| 98 | branches: |
| 99 | - "{{branch}}" |
| 100 | contrail/contrail-nova-extensions: |
| 101 | branches: |
| 102 | - "{{branch}}" |
| 103 | contrail/contrail-heat: |
| 104 | branches: |
| 105 | - "{{branch}}" |
| 106 | contrail/contrail-web-storage: |
| 107 | branches: |
| 108 | - "{{branch}}" |
| 109 | contrail/contrail-web-server-manager: |
| 110 | branches: |
| 111 | - "{{branch}}" |
| 112 | contrail/contrail-web-controller: |
| 113 | branches: |
| 114 | - "{{branch}}" |
| 115 | contrail/contrail-web-core: |
| 116 | branches: |
| 117 | - "{{branch}}" |
| 118 | contrail/contrail-webui-third-party: |
| 119 | branches: |
| 120 | - "{{branch}}" |
| 121 | message: |
| 122 | build_successful: "Build successful" |
| 123 | build_unstable: "Build unstable" |
| 124 | build_failure: "Build failed" |
| 125 | event: |
| 126 | ref: |
| 127 | - updated |
| 128 | param: |
| 129 | APTLY_URL: |
| 130 | type: string |
| 131 | default: "${_param:jenkins_aptly_api_url}" |
| 132 | APTLY_REPO: |
| 133 | type: string |
| 134 | default: "{{os}}-{{dist}}-{{buildname}}" |
| 135 | SOURCE_URL: |
| 136 | type: string |
| 137 | default: "${_param:jenkins_gerrit_url}/contrail" |
| 138 | SOURCE_BRANCH: |
| 139 | type: string |
| 140 | default: "{{branch}}" |
| 141 | SOURCE_CREDENTIALS: |
| 142 | type: string |
| 143 | default: "gerrit" |
| 144 | KEEP_REPOS: |
| 145 | type: boolean |
| 146 | default: 'false' |
| 147 | description: "Don't cleanup on failure" |
| 148 | OS: |
| 149 | type: string |
| 150 | default: "{{os}}" |
| 151 | DIST: |
| 152 | type: string |
| 153 | default: "{{dist}}" |
| 154 | ARCH: |
| 155 | type: string |
| 156 | default: "amd64" |
| 157 | PPA: |
| 158 | type: string |
| 159 | default: "{{ppa}}" |
| 160 | UPLOAD_SOURCE_PACKAGE: |
| 161 | type: boolean |
| 162 | default: '{{upload_source_package}}' |