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
27 # projects with jobs for master
42 <<: *functest-receivers
52 # projects with jobs for stable
58 <<: *functest-receivers
70 - '{project}-docker-build-push-{stream}'
75 name: opnfv-monitor-docker # projects which only monitor dedicated file or path
78 # projects with jobs for master
85 - '{project}-docker-build-push-monitor-{stream}'
87 ########################
89 ########################
91 name: '{project}-docker-build-push-{stream}'
93 disabled: '{obj:disabled}'
95 parameters: ¶meters
99 - 'opnfv-build-ubuntu-defaults'
103 description: "To enable/disable pushing the image to Dockerhub."
105 name: DOCKER_REPO_NAME
106 default: "opnfv/{project}"
107 description: "Dockerhub repo to be pushed to."
109 name: RELEASE_VERSION
111 description: "Release version, e.g. 1.0, 2.0, 3.0"
114 default: "Dockerfile"
115 description: "Dockerfile to use for creating the image."
122 !include-raw-escape: ./opnfv-docker.sh
130 recipients: '{receivers}'
133 name: '{project}-docker-build-push-monitor-{stream}'
134 disabled: '{obj:disabled}'
135 parameters: *parameters
140 # trigger only matching the file name
144 - change-merged-event
145 - comment-added-contains-event:
146 comment-contains-value: 'remerge'
148 - project-compare-type: 'ANT'
149 project-pattern: '{project}'
151 - branch-compare-type: 'ANT'
152 branch-pattern: '**/{branch}'