1 .. _lf-global-jjb-rtd-jobs:
10 .. include:: ../job-groups.rst
12 Below is a list of Maven job groups:
14 .. literalinclude:: ../../jjb/lf-rtd-job-groups.yaml
24 RTD verify and merge jobs are the same except for their scm, trigger, and
25 builders definition. This anchor is the common template.
34 Merge job which triggers a POST of the docs project to readthedocs.
36 To use this job first configure the ``Generic API incoming webhook`` in
37 ReadTheDocs. To do that follow these steps:
39 #. Browse to https://readthedocs.org/dashboard/PROJECT/integrations/
40 #. Click on ``Generic API incoming webhook``
44 If not available click on ``Add integration`` and add the
45 ``Generic API incoming webhook``.
47 #. Copy the custom webhook URL, this is your ``rtd-build-url``
49 For example: https://readthedocs.org/api/v2/webhook/opendaylight/32321/
51 #. Copy the token, this is your ``rtd-token``
54 - {project-name}-rtd-merge-{stream}
58 :Comment Trigger: remerge
62 :build-node: The node to run build on.
63 :jenkins-ssh-credential: Credential to use for SSH. (Generally set
65 :rtd-build-url: This is the generic webhook url from readthedocs.org. Refer
66 to the above instructions to generate one.
67 (Check Admin > Integrations > Generic API incoming webhook)
68 :rtd-token: The unique token for the project Generic webhook. Refer
69 to the above instructions to generate one.
70 (Check Admin > Integrations > Generic API incoming webhook)
74 :branch: Git branch to fetch for the build. (default: master)
75 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
76 :build-timeout: Timeout in minutes before aborting build. (default: 15)
77 :git-url: base URL of git project. (default: https://github.com)
78 :project-pattern: Project to trigger build against. (default: \*\*)
79 :stream: Keyword representing a release code-name.
80 Often the same as the branch. (default: master)
81 :submodule-recursive: Whether to checkout submodules recursively.
83 :submodule-timeout: Timeout (in minutes) for checkout operation.
86 :gerrit_merge_triggers: Override Gerrit Triggers.
87 :gerrit_trigger_file_paths: Override file paths filter which checks which
88 file modifications will trigger a build.
100 Verify job which runs a tox build of the docs project
103 - {project-name}-rtd-verify-{stream}
107 :Comment Trigger: recheck|reverify
109 :Required Parameters:
111 :build-node: The node to run build on.
112 :jenkins-ssh-credential: Credential to use for SSH. (Generally set
115 :Optional Parameters:
117 :branch: Git branch to fetch for the build. (default: master)
118 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
119 :build-node: The node to run build on.
120 :build-timeout: Timeout in minutes before aborting build. (default: 15)
121 :doc-dir: Directory where tox will place built docs.
122 as defined in the tox.ini (default: docs/_build/html)
123 :gerrit-skip-vote: Skip voting for this job. (default: false)
124 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
125 :project-pattern: Project to trigger build against. (default: \*\*)
126 :stream: Keyword representing a release code-name.
127 Often the same as the branch. (default: master)
128 :submodule-recursive: Whether to checkout submodules recursively.
130 :submodule-timeout: Timeout (in minutes) for checkout operation.
133 :gerrit_verify_triggers: Override Gerrit Triggers.
134 :gerrit_trigger_file_paths: Override file paths filter which checks which
135 file modifications will trigger a build.
141 pattern: '**/conf.py'