Merge "doctor: make test script run in doctor-verify job"
[releng.git] / jjb / opnfv / opnfv-docker.yml
1 ##############################################
2 # job configuration for docker build and push
3 ##############################################
4
5 - project:
6
7     name: opnfv-docker
8
9     project:
10         - 'functest'
11         - 'yardstick'
12         - 'storperf'
13         - 'qtip'
14
15     jobs:
16         - '{project}-docker-build-push-{stream}'
17
18     stream:
19         - master:
20             branch: 'master'
21
22 ########################
23 # job templates
24 ########################
25 - job-template:
26     name: '{project}-docker-build-push-{stream}'
27
28     node: ericsson-build
29
30     disabled: false
31
32     parameters:
33         - project-parameter:
34             project: '{project}'
35         - string:
36             name: GIT_BASE
37             default: "https://gerrit.opnfv.org/gerrit/$PROJECT"
38             description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
39         - string:
40             name: PUSH_IMAGE
41             default: "true"
42             description: "To enable/disable pushing the image to Dockerhub."
43         - string:
44             name: BASE_VERSION
45             default: "brahmaputra.0"
46             description: "Base version to be used."
47         - string:
48             name: DOCKER_REPO_NAME
49             default: "opnfv/{project}"
50             description: "Dockerhub repo to be pushed to."
51         - string:
52             name: UPDATE_LATEST_STABLE
53             default: "false"
54             description: "This will update the latest_stable image only."
55         - string:
56             name: STABLE_TAG
57             description: "If above option is true, this is the tag to be pulled."
58
59     scm:
60         - git-scm:
61             credentials-id: '{ssh-credentials}'
62             refspec: ''
63             branch: '{branch}'
64
65     builders:
66         - shell:
67             !include-raw ./opnfv-docker.sh
68
69     triggers:
70         - pollscm: "*/30 * * * *"