X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fdocs%2Fdocs-rtd.yaml;h=e6461e14c06cd34e547f5d929eccca9456ce1bda;hb=9d926f94fe3824189d4990b904c1807602ba7d85;hp=7f3d5191684a5387b9bc69e7f3b6616a2d84fe41;hpb=f02aab86cf619265713a5b6d7ffebd630d0a8ca0;p=releng%2Fbuilder.git diff --git a/jjb/docs/docs-rtd.yaml b/jjb/docs/docs-rtd.yaml index 7f3d51916..e6461e14c 100644 --- a/jjb/docs/docs-rtd.yaml +++ b/jjb/docs/docs-rtd.yaml @@ -2,122 +2,19 @@ - project: name: docs-rtd jobs: - - 'docs-merge-rtd-{stream}' - - 'docs-verify-rtd-{stream}' + - '{project-name}-rtd-jobs' + - gerrit-tox-verify stream: + - oxygen: + branch: master + - nitrogen: + branch: stable/nitrogen - carbon: - branch: 'master' - - boron: - branch: 'stable/boron' - - beryllium: - branch: 'stable/beryllium' + branch: stable/carbon - project: 'docs' - rtdproject: 'opendaylight' - archive-artifacts: 'docs/_build/html/**' - -- 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: - 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: - 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: docs + project-name: docs + build-node: centos7-builder-2c-8g + build-timeout: 30 + rtd-project: opendaylight