diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2021-11-30 16:35:34 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2021-11-30 16:35:34 +0000 |
commit | 9b755e2d6458afec266bd8eb5ebd06083bc11d2c (patch) | |
tree | e684ff87c3f9c06fc26a59ecbab5a7fbafa1c363 | |
parent | 4ade00fb93fbcd8ed1a2c21e695de404580a917d (diff) | |
parent | 7b8b640fc0e225e37bae0b494bb0451822d66d27 (diff) |
Merge "using global tox verify job"
-rw-r--r-- | jjb/opnfvdocs/docs-rtd.yaml | 48 |
1 files changed, 4 insertions, 44 deletions
diff --git a/jjb/opnfvdocs/docs-rtd.yaml b/jjb/opnfvdocs/docs-rtd.yaml index 42dcf31a5..32cc5ea01 100644 --- a/jjb/opnfvdocs/docs-rtd.yaml +++ b/jjb/opnfvdocs/docs-rtd.yaml @@ -8,8 +8,11 @@ project-pattern: 'opnfvdocs' jobs: - '{project-name}-rtd-jobs' + - 'gerrit-tox-verify': + python-version: python3 + tox-envs: "docs" + build-days-to-keep: 7 - 'docs-merge-rtd-{stream}' - - 'docs-verify-rtd-{stream}' stream: - master: @@ -43,46 +46,3 @@ builders: - 'remove-old-docs-from-opnfv-artifacts' - -- job-template: - name: 'docs-verify-rtd-{stream}' - - project-type: freestyle - - parameters: - - label: - name: SLAVE_LABEL - default: 'lf-build5' - description: 'Slave label on Jenkins' - all-nodes: false - node-eligibility: 'ignore-offline' - - project-parameter: - project: '{project}' - branch: '{branch}' - - string: - name: GIT_BASE - default: https://gerrit.opnfv.org/gerrit/opnfvdocs - description: 'Git URL to use on this Jenkins Slave' - - scm: - - git-scm-with-submodules: - branch: '{branch}' - - triggers: - - gerrit-trigger-patchset-created: - server: 'gerrit.opnfv.org' - project: 'opnfvdocs' - branch: '{branch}' - files: 'docs/**' - - builders: - - shell: | - sudo -H pip install virtualenv - virtualenv $WORKSPACE/venv - . $WORKSPACE/venv/bin/activate - pip install --upgrade pip - pip freeze - pip install tox - sed -i s,\-b\ html,\-b\ singlehtml,g tox.ini - tox -edocs - - 'upload-review-docs' |