X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopnfvdocs%2Fdocs-rtd.yaml;h=32ef7320555a307cbd69779fb3c311121cc12dca;hb=9b16b30a45c0ca31d47d2d2de1d97b1c3398efdb;hp=40e91ca26a2379bb870bf9ae5e67b44782409bfc;hpb=f4f9d323a63ec935cb33af98e4d123c223a730e4;p=releng.git diff --git a/jjb/opnfvdocs/docs-rtd.yaml b/jjb/opnfvdocs/docs-rtd.yaml index 40e91ca26..32ef73205 100644 --- a/jjb/opnfvdocs/docs-rtd.yaml +++ b/jjb/opnfvdocs/docs-rtd.yaml @@ -5,10 +5,8 @@ - 'docs-verify-rtd-{stream}' stream: - - danube: + - master: branch: 'master' - - colorado: - branch: 'stable/colorado' project: 'opnfvdocs' rtdproject: 'opnfv' @@ -55,10 +53,11 @@ branch: '{branch}' - string: name: GIT_BASE - default: https://gerrit.opnfv.org/gerrit/releng + default: https://gerrit.opnfv.org/gerrit/opnfvdocs description: 'Git URL to use on this Jenkins Slave' scm: - - git-scm-gerrit + - git-scm-with-submodules: + branch: '{branch}' triggers: - gerrit-trigger-patchset-created: @@ -66,25 +65,23 @@ project: '**' branch: '{branch}' files: 'docs/**/*.rst' - skip-vote: - successful: true - failed: true - unstable: true - notbuilt: true - timed: 'H H * * *' builders: - shell: | if [ "$GERRIT_PROJECT" != "opnfvdocs" ]; then - cd opnfvdocs/submodules/$GERRIT_PROJECT + cd opnfvdocs/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 + sudo pip install virtualenv virtualenvwrapper + export WORKON_HOME=$HOME/.virtualenvs + source /usr/local/bin/virtualenvwrapper.sh + mkvirtualenv $WORKSPACE/venv + workon $WORKSPACE/venv pip install --upgrade pip pip freeze pip install tox - tox -edocs \ No newline at end of file + tox -edocs