summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2017-02-20 18:16:12 +0000
committerAric Gardner <agardner@linuxfoundation.org>2017-02-20 18:16:12 +0000
commit4ce4bcc4d3a1e729968aaa7de588f6c362385939 (patch)
tree6bf3cb57d95eafbaf2a7fe6ae018e397731bb2d2 /jjb
parent8f28f2de1aa8a473be54295d58a2311b40617efb (diff)
Revert "fix for rtd verfiy"
This reverts commit 8f28f2de1aa8a473be54295d58a2311b40617efb. Change-Id: Id4239ecf4d617440d1198ea7a13b8fecf5bb225b
Diffstat (limited to 'jjb')
-rw-r--r--jjb/opnfvdocs/docs-rtd.yaml13
1 files changed, 3 insertions, 10 deletions
diff --git a/jjb/opnfvdocs/docs-rtd.yaml b/jjb/opnfvdocs/docs-rtd.yaml
index d3d218786..151b53550 100644
--- a/jjb/opnfvdocs/docs-rtd.yaml
+++ b/jjb/opnfvdocs/docs-rtd.yaml
@@ -56,7 +56,7 @@
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:
@@ -69,19 +69,12 @@
builders:
- shell: |
- git submodule update --init
if [ "$GERRIT_PROJECT" != "opnfvdocs" ]; 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
- cd "$WORKSPACE"
- for x in $(git submodule | awk '{{print $2}}');
- do
- cd "$x"
- git filter-branch --subdirectory-filter docs/
- cd -
- done
-
- shell: |
sudo pip install virtualenv
virtualenv $WORKSPACE/venv