X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=jjb%2Fdocs%2Fdocs-rtd.yaml;h=66abc6133e6f6b270492d3508a3d44ec8410cc97;hb=321d2beb638ea788003884f7aefdde104464c0cc;hp=f6b69f114ee08b66aeb14388affff3e9ca2080c9;hpb=3e0bccd2f193789e94f41a467cc675eba486e566;p=releng%2Fbuilder.git diff --git a/jjb/docs/docs-rtd.yaml b/jjb/docs/docs-rtd.yaml index f6b69f114..ac1419706 100644 --- a/jjb/docs/docs-rtd.yaml +++ b/jjb/docs/docs-rtd.yaml @@ -1,127 +1,19 @@ +--- - project: name: docs-rtd jobs: - - 'docs-merge-rtd-{stream}' - - 'docs-verify-rtd-{stream}' + - '{project-name}-rtd-jobs' + - gerrit-tox-verify stream: - - boron: - branch: 'master' - - beryllium: - branch: 'stable/beryllium' - - project: 'docs' - rtdproject: 'opendaylight' - -- job-template: - name: 'docs-merge-rtd-{stream}' - node: dynamic_verify - - project-type: freestyle - - logrotate: - daysToKeep: 14 - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '30' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - change-merged-event - - comment-added-contains-event: - comment-contains-value: 'remerge' - projects: - - project-compare-type: 'ANT' - project-pattern: '**' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: docs/** - - builders: - - shell: | - curl -X POST https://readthedocs.org/build/{rtdproject} - - publishers: - - email-notification: - email-prefix: '[docs]' - -- job-template: - name: 'docs-verify-rtd-{stream}' - node: dynamic_verify - - project-type: freestyle - - logrotate: - daysToKeep: 14 - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - scm: - - git-scm-with-submodules: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'true' - exclude-no-code-change: 'true' - - draft-published-event - - comment-added-contains-event: - comment-contains-value: 'recheck' - projects: - - project-compare-type: 'ANT' - project-pattern: '**' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: docs/** - - timed: 'H H * * *' - - builders: - - shell: | - if [ "$GERRIT_PROJECT" != "docs" ]; then - cd docs/submodules/$GERRIT_PROJECT - git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD - else - git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD - fi - - shell: | - virtualenv $WORKSPACE/venv - source $WORKSPACE/venv/bin/activate - pip install --upgrade pip - pip freeze - pip install tox - tox -edocs - - publishers: - - email-notification: - email-prefix: '[docs]' + - fluorine: + branch: 'master' + - oxygen: + branch: 'stable/oxygen' + + project: docs + project-name: docs + build-node: centos7-builder-4c-4g + build-timeout: 60 + rtd-build-url: https://readthedocs.org/api/v2/webhook/opendaylight/32322/ + rtd-token: 86e54dd38c651e2164ea63c183ae601d19cd1f3c