Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix for rtd verfiy
[releng.git]
/
jjb
/
opnfvdocs
/
docs-rtd.yaml
diff --git
a/jjb/opnfvdocs/docs-rtd.yaml
b/jjb/opnfvdocs/docs-rtd.yaml
index
25bb983
..
d3d2187
100644
(file)
--- a/
jjb/opnfvdocs/docs-rtd.yaml
+++ b/
jjb/opnfvdocs/docs-rtd.yaml
@@
-5,10
+5,8
@@
- 'docs-verify-rtd-{stream}'
stream:
- 'docs-verify-rtd-{stream}'
stream:
- -
danube
:
+ -
master
:
branch: 'master'
branch: 'master'
- - colorado:
- branch: 'stable/colorado'
project: 'opnfvdocs'
rtdproject: 'opnfv'
project: 'opnfvdocs'
rtdproject: 'opnfv'
@@
-58,7
+56,7
@@
default: https://gerrit.opnfv.org/gerrit/opnfvdocs
description: 'Git URL to use on this Jenkins Slave'
scm:
default: https://gerrit.opnfv.org/gerrit/opnfvdocs
description: 'Git URL to use on this Jenkins Slave'
scm:
- - git-scm-
with-submodules
:
+ - git-scm-
gerrit
:
branch: '{branch}'
triggers:
branch: '{branch}'
triggers:
@@
-71,16
+69,24
@@
builders:
- shell: |
builders:
- shell: |
+ git submodule update --init
if [ "$GERRIT_PROJECT" != "opnfvdocs" ]; then
if [ "$GERRIT_PROJECT" != "opnfvdocs" ]; then
- cd opnfvdocs/submodules/$GERRIT_PROJECT
- git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
- else
+ cd docs/submodules/$GERRIT_PROJECT
git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
fi
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: |
- shell: |
+ sudo pip install virtualenv
virtualenv $WORKSPACE/venv
source $WORKSPACE/venv/bin/activate
pip install --upgrade pip
pip freeze
pip install tox
virtualenv $WORKSPACE/venv
source $WORKSPACE/venv/bin/activate
pip install --upgrade pip
pip freeze
pip install tox
- tox -edocs
\ No newline at end of file
+ tox -edocs