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
38 credentials-id: '{ssh-credentials}'
39 refspec: '$GERRIT_REFSPEC'
40 choosing-strategy: 'gerrit'
45 - patchset-created-event:
46 exclude-drafts: 'false'
47 exclude-trivial-rebase: 'false'
48 exclude-no-code-change: 'false'
49 - draft-published-event
50 - comment-added-contains-event:
51 comment-contains-value: 'recheck'
52 - comment-added-contains-event:
53 comment-contains-value: 'reverify'
55 - project-compare-type: 'REG_EXP'
56 project-pattern: '{project}'
58 - branch-compare-type: 'ANT'
59 branch-pattern: '**/{branch}'
66 - build-html-and-pdf-docs-output
67 # - upload-under-review-docs-to-opnfv-artifacts
68 - report-docs-build-result-to-gerrit
71 name: 'opnfvdocs-merge-{stream}'
75 project: $GERRIT_PROJECT
80 default: '$GS_BASE{gs-pathname}'
81 description: "Directory where the build artifact will be located upon the completion of the build."
85 credentials-id: '{ssh-credentials}'
86 refspec: '$GERRIT_REFSPEC'
87 choosing-strategy: 'gerrit'
93 - comment-added-contains-event:
94 comment-contains-value: 'remerge'
96 - project-compare-type: 'REG_EXP'
97 project-pattern: '{project}'
99 - branch-compare-type: 'ANT'
100 branch-pattern: '**/{branch}'
107 - build-html-and-pdf-docs-output
108 # - upload-generated-docs-to-opnfv-artifacts
109 - report-docs-build-result-to-gerrit
110 - remove-old-docs-from-opnfv-artifacts
113 name: 'opnfvdocs-daily-{stream}'
120 default: '$GS_BASE{gs-pathname}'
121 description: "Directory where the build artifact will be located upon the completion of the build."
125 description: 'Specify the branch in this way in order to be able to use clone-opnfv-repos builder.'
129 credentials-id: '{ssh-credentials}'
134 - timed: '0 H/6 * * *'
138 - build-html-and-pdf-docs-output
139 # - upload-generated-docs-to-opnfv-artifacts
142 name: clone-opnfv-repos
150 # clone releng repo to get repo list
152 echo "Cloning releng repo"
153 git clone $GIT_BASE/releng --quiet
155 # clone rest of the repos and checkout the branch
156 echo "Cloning repos of participating OPNFV Projects and checking out $GERRIT_BRANCH"
158 echo "--------------------------------------------------------"
159 for repo in $(grep -v '^#' $WORKSPACE/releng/jjb/opnfvdocs/project.cfg | sort); do
162 git clone $GIT_BASE/$repo --branch $GERRIT_BRANCH --quiet
164 echo "--------------------------------------------------------"
168 # remove releng clone in order not to cause issues for rest of the builders
169 /bin/rm -rf $WORKSPACE/releng