1 ##############################################
2 # job configuration for docker build and push
3 ##############################################
15 branch: 'stable/{stream}'
17 functest-receivers: &functest-receivers
19 jose.lausuch@ericsson.com morgan.richomme@orange.com
20 cedric.ollivier@orange.com feng.xiaowei@zte.com.cn
21 yaohelan@huawei.com helanyao@gmail.com
22 juha.kosonen@nokia.com
23 other-receivers: &other-receivers
26 dockerfile: "Dockerfile"
29 # This is the dockerhub repo the image will be pushed to as
30 # 'opnfv/{dockerrepo}. See: DOCKER_REPO_NAME parameter.
31 # 'project' is the OPNFV repo we expect to contain the Dockerfile
33 # projects with jobs for master
35 project: 'releng-anteater'
39 project: 'bottlenecks'
53 <<: *functest-receivers
60 dockerdir: 'docker/storperf-master'
63 - 'storperf-httpfrontend':
65 dockerdir: 'docker/storperf-httpfrontend'
68 - 'storperf-reporting':
70 dockerdir: 'docker/storperf-reporting'
73 - 'storperf-swaggerui':
75 dockerdir: 'docker/storperf-swaggerui'
82 # projects with jobs for stable
84 project: 'bottlenecks'
90 <<: *functest-receivers
105 - "{dockerrepo}-docker-build-push-{stream}"
110 name: opnfv-monitor-docker # projects which only monitor dedicated file or path
112 dockerfile: "Dockerfile"
116 # projects with jobs for master
121 dockerrepo: 'escalator'
125 - '{project}-docker-build-push-monitor-{stream}'
127 ########################
129 ########################
131 name: '{dockerrepo}-docker-build-push-{stream}'
133 disabled: '{obj:disabled}'
135 parameters: ¶meters
139 - 'opnfv-build-ubuntu-defaults'
143 description: "To enable/disable pushing the image to Dockerhub."
145 name: DOCKER_REPO_NAME
146 default: "opnfv/{dockerrepo}"
147 description: "Dockerhub repo to be pushed to."
150 default: "{dockerdir}"
151 description: "Directory containing files needed by the Dockerfile"
155 description: "commit id to make a snapshot docker image"
157 name: RELEASE_VERSION
159 description: "Release version, e.g. 1.0, 2.0, 3.0"
162 default: "{dockerfile}"
163 description: "Dockerfile to use for creating the image."
170 !include-raw-escape: ./opnfv-docker.sh
178 recipients: '{receivers}'
179 - email-jenkins-admins-on-failure
182 name: '{project}-docker-build-push-monitor-{stream}'
183 disabled: '{obj:disabled}'
184 parameters: *parameters
189 # trigger only matching the file name
193 - change-merged-event
194 - comment-added-contains-event:
195 comment-contains-value: 'remerge'
197 - project-compare-type: 'ANT'
198 project-pattern: '{project}'
200 - branch-compare-type: 'ANT'
201 branch-pattern: '**/{branch}'