X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fdocs%2Fdocs-rtd.yaml;h=53ed32f95cd24cd7fe9bb056a4e57c57951e1ad5;hb=2bae5e686090fee3e89b26430e1b72109fa3798a;hp=2aef3457a49ea983d8b3f3e3ea911acf43f18ee7;hpb=d86320c12e060814bf9e8c90106d661b5cf7ede4;p=releng%2Fbuilder.git diff --git a/jjb/docs/docs-rtd.yaml b/jjb/docs/docs-rtd.yaml index 2aef3457a..53ed32f95 100644 --- a/jjb/docs/docs-rtd.yaml +++ b/jjb/docs/docs-rtd.yaml @@ -2,126 +2,27 @@ - project: name: docs-rtd jobs: - - 'docs-merge-rtd-{stream}' - - 'docs-verify-rtd-{stream}' - - '{project-name}-verify-tox-{stream}' + - '{project-name}-rtd-jobs' + - gerrit-tox-verify stream: - - carbon: + - neon: branch: 'master' - - boron: - branch: 'stable/boron' - - beryllium: - branch: 'stable/beryllium' + - fluorine: + branch: 'stable/fluorine' + - oxygen: + branch: 'stable/oxygen' project: docs project-name: docs - rtdproject: opendaylight - archive-artifacts: 'docs/_build/html/**' + project-pattern: docs + build-node: centos7-builder-4c-4g + build-timeout: 60 + rtd-build-url: https://readthedocs.org/api/v2/webhook/opendaylight/32322/ + rtd-token: 86e54dd38c651e2164ea63c183ae601d19cd1f3c -- job-template: - name: 'docs-merge-rtd-{stream}' - node: centos7-java-builder-2c-8g - - project-type: freestyle - - properties: - - opendaylight-infra-properties: - build-days-to-keep: 14 - - parameters: - - opendaylight-infra-parameters: - os-cloud: '{os-cloud}' - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '30' - - triggers: - - gerrit: - server-name: '{server-name}' - 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/**/*.rst - - builders: - - shell: !include-raw: docs-post-rtd.sh - - publishers: - - email-notification: - email-recipients: '{email-recipients}' - email-prefix: '[docs]' - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' - -- job-template: - # FIXME: Describe this job in docs/jenkins.rst - name: 'docs-verify-rtd-{stream}' - node: centos7-java-builder-2c-8g - - project-type: freestyle - - properties: - - opendaylight-infra-properties: - build-days-to-keep: 14 - - parameters: - - opendaylight-infra-parameters: - os-cloud: '{os-cloud}' - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm-with-submodules: - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - server: '{server-name}' - project: '**' - branch: '{branch}' - files: 'docs/**/*.rst' - - 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-recipients: '{email-recipients}' - email-prefix: '[docs]' - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' +- project: + name: docs-view + views: + - project-view + project-name: docs