1 ########################
2 # Job configuration for opnfvdocs
3 ########################
11 - 'opnfvdocs-verify-{stream}'
12 - 'opnfvdocs-merge-{stream}'
13 - 'opnfvdocs-daily-{stream}'
20 branch: 'stable/{stream}'
21 gs-pathname: '/{stream}'
23 ########################
25 ########################
28 name: 'opnfvdocs-verify-{stream}'
32 project: $GERRIT_PROJECT
37 default: ssh://gerrit.opnfv.org:29418
38 description: "Used for overriding the GIT URL coming from parameters macro."
42 credentials-id: '{ssh-credentials}'
43 refspec: '$GERRIT_REFSPEC'
44 choosing-strategy: 'gerrit'
49 - patchset-created-event:
50 exclude-drafts: 'false'
51 exclude-trivial-rebase: 'false'
52 exclude-no-code-change: 'false'
53 - draft-published-event
54 - comment-added-contains-event:
55 comment-contains-value: 'recheck'
56 - comment-added-contains-event:
57 comment-contains-value: 'reverify'
59 - project-compare-type: 'REG_EXP'
60 project-pattern: '{project}'
62 - branch-compare-type: 'ANT'
63 branch-pattern: '**/{branch}'
70 - build-html-and-pdf-docs-output
71 - upload-under-review-docs-to-opnfv-artifacts
72 - report-docs-build-result-to-gerrit
75 name: 'opnfvdocs-merge-{stream}'
79 project: $GERRIT_PROJECT
84 default: ssh://gerrit.opnfv.org:29418
85 description: "Used for overriding the GIT URL coming from parameters macro."
88 default: '$GS_BASE{gs-pathname}'
89 description: "Directory where the build artifact will be located upon the completion of the build."
93 credentials-id: '{ssh-credentials}'
94 refspec: '$GERRIT_REFSPEC'
95 choosing-strategy: 'gerrit'
100 - change-merged-event
101 - comment-added-contains-event:
102 comment-contains-value: 'remerge'
104 - project-compare-type: 'REG_EXP'
105 project-pattern: '{project}'
107 - branch-compare-type: 'ANT'
108 branch-pattern: '**/{branch}'
115 - build-html-and-pdf-docs-output
116 # - upload-generated-docs-to-opnfv-artifacts
117 - report-docs-build-result-to-gerrit
118 - remove-old-docs-from-opnfv-artifacts
121 name: 'opnfvdocs-daily-{stream}'
128 default: '$GS_BASE{gs-pathname}'
129 description: "Directory where the build artifact will be located upon the completion of the build."
132 default: ssh://gerrit.opnfv.org:29418
133 description: "Used for overriding the GIT URL coming from parameters macro."
137 description: 'Specify the branch in this way in order to be able to use clone-opnfv-repos builder.'
141 credentials-id: '{ssh-credentials}'
146 - timed: '0 H/6 * * *'
150 - build-html-and-pdf-docs-output
151 # - upload-generated-docs-to-opnfv-artifacts
154 name: clone-opnfv-repos
162 # clone releng repo to get repo list
164 echo "Cloning releng repo"
165 git clone $GIT_CLONE_BASE/releng --branch master --depth 1 --quiet
167 # clone rest of the repos and checkout the branch
168 echo "Cloning repos of participating OPNFV Projects and checking out $GERRIT_BRANCH"
170 echo "--------------------------------------------------------"
171 for repo in $(grep -v '^#' $WORKSPACE/releng/jjb/opnfvdocs/project.cfg | sort); do
174 git clone $GIT_CLONE_BASE/$repo --branch $GERRIT_BRANCH --depth 1 --quiet
176 echo "--------------------------------------------------------"
180 # remove releng clone in order not to cause issues for rest of the builders
181 /bin/rm -rf $WORKSPACE/releng