Feat!: Remove all stable/aluminium jobs
[releng/builder.git] / jjb / docs / docs-template.yaml
1 ---
2 # Autorelease build jobs
3 - job-template:
4     name: "docs-update-{stream}"
5
6     ######################
7     # Default parameters #
8     ######################
9     disable-job: "false"
10
11     #####################
12     # Job Configuration #
13     #####################
14
15     project-type: freestyle
16     node: centos7-builder-2c-2g
17     disabled: "{disable-job}"
18
19     properties:
20       - lf-infra-properties:
21           build-days-to-keep: 7
22
23     parameters:
24       - lf-infra-parameters:
25           project: "releng/autorelease"
26           project-name: "autorelease"
27           branch: "{branch}"
28           stream: "{stream}"
29           lftools-version: "{lftools-version}"
30       - string:
31           name: RELEASE_NAME
32           description: "The next release name eg: Silicon, Phosphorus."
33       - bool:
34           name: PUBLISH
35           default: false
36           description: "The flag to publish or not"
37
38     scm:
39       - lf-gerrit-clone:
40           git-url: "$GIT_URL/$GERRIT_PROJECT"
41           branch: "$GERRIT_BRANCH"
42           refspec: "$GERRIT_REFSPEC"
43           jenkins-ssh-credential: opendaylight-jenkins-ssh
44           submodule-disable: false
45           submodule-recursive: true
46           submodule-timeout: 10
47           basedir: "autorelease"
48           choosing-strategy: default
49           wipe-workspace: true
50       - lf-gerrit-clone:
51           git-url: "$GIT_URL/docs"
52           branch: "$GERRIT_BRANCH"
53           refspec: "$GERRIT_REFSPEC"
54           jenkins-ssh-credential: opendaylight-jenkins-ssh
55           submodule-disable: true
56           basedir: "docs"
57           submodule-recursive: false
58           submodule-timeout: 10
59           choosing-strategy: default
60           wipe-workspace: false
61
62     wrappers:
63       - lf-infra-wrappers:
64           build-timeout: 10
65           jenkins-ssh-credential: opendaylight-jenkins-ssh
66
67     builders:
68       - docs-update
69
70     publishers:
71       - lf-infra-publish
72
73 - scm:
74     name: lf-gerrit-clone
75     scm:
76       - git:
77           credentials-id: "{jenkins-ssh-credential}"
78           url: "{git-url}"
79           basedir: "{basedir}"
80           refspec: "{refspec}"
81           branches:
82             - "refs/heads/{branch}"
83           skip-tag: true
84           wipe-workspace: "{wipe-workspace}"
85           submodule:
86             disable: "{submodule-disable}"
87             recursive: "{submodule-recursive}"
88             timeout: "{submodule-timeout}"
89           choosing-strategy: "{choosing-strategy}"