X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopnfvdocs%2Fdocs-rtd.yaml;h=cb55fd2a9ca7b241cdcbe64fe15c02a1ea26c810;hb=c7aa7638729f13d3697da4fe1ffbe30b6a384a43;hp=28f9354faa08177ee2f044d6882b8cc1647ddd32;hpb=500717bd3b46eb4855428eead7894141bf6d6a15;p=releng.git diff --git a/jjb/opnfvdocs/docs-rtd.yaml b/jjb/opnfvdocs/docs-rtd.yaml index 28f9354fa..cb55fd2a9 100644 --- a/jjb/opnfvdocs/docs-rtd.yaml +++ b/jjb/opnfvdocs/docs-rtd.yaml @@ -8,6 +8,8 @@ stream: - master: branch: 'master' + - fraser: + branch: 'stable/{stream}' - danube: branch: 'stable/{stream}' - euphrates: @@ -82,9 +84,15 @@ if [ "$GERRIT_PROJECT" != "opnfvdocs" ]; then cd docs/submodules/$GERRIT_PROJECT git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD + cd - else git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD fi + if [ -d docs/subdmodules ]; then + for project in docs/submodules/*; do + cd $project && git submodule deinit -f . && cd - + done + fi - shell: | sudo pip install virtualenv virtualenv $WORKSPACE/venv