X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fdoc%2Fdoc-templates-rtd.yaml;h=d4e5424044340fb74f1c5420eb367fdc144bea93;hb=468ef6948b959b24503a69c63a2888836ed54f00;hp=884c3706b81a344b236a98bb9a127df45feb83c5;hpb=50103a9d11427123e978a25213f3c465aef93c06;p=ci-management.git diff --git a/jjb/doc/doc-templates-rtd.yaml b/jjb/doc/doc-templates-rtd.yaml index 884c3706b..d4e542404 100644 --- a/jjb/doc/doc-templates-rtd.yaml +++ b/jjb/doc/doc-templates-rtd.yaml @@ -42,6 +42,7 @@ wipe-workspace: true submodule: recursive: '{submodule-recursive}' + timeout: '24' wrappers: - infra-wrappers: @@ -67,19 +68,21 @@ else git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD fi + - shell: !include-raw: doc-install-plantuml.sh - shell: | #!/bin/bash - virtualenv $WORKSPACE/venv-tox + python3 -m venv $WORKSPACE/venv-tox source $WORKSPACE/venv-tox/bin/activate pip install --upgrade pip pip install --upgrade tox argparse pip freeze cd $WORKSPACE/{path} tox + mkdir -p "$WORKSPACE/archives" + mv docs/_build/html "$WORKSPACE/archives/" publishers: - - infra-shiplogs: - maven-version: '{maven-version}' + - lf-infra-publish - job-template: # Job template for merging/publishing Sphinx/Restructured Text at RTD @@ -130,6 +133,10 @@ wrappers: - infra-wrappers: build-timeout: '{build-timeout}' + - credentials-binding: + - text: + credential-id: docs-token + variable: DOCS_RTD_TOKEN triggers: - gerrit: @@ -152,6 +159,4 @@ - shell: !include-raw: doc-post-rtd.sh publishers: - - infra-shiplogs: - maven-version: '{maven-version}' - + - lf-infra-publish