Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
change the timeout to 4 hours
[releng.git]
/
jjb
/
opnfvdocs
/
docs-rtd.yaml
diff --git
a/jjb/opnfvdocs/docs-rtd.yaml
b/jjb/opnfvdocs/docs-rtd.yaml
index
01b2820
..
864626b
100644
(file)
--- a/
jjb/opnfvdocs/docs-rtd.yaml
+++ b/
jjb/opnfvdocs/docs-rtd.yaml
@@
-7,6
+7,8
@@
stream:
- master:
branch: 'master'
stream:
- master:
branch: 'master'
+ - danube:
+ branch: 'stable/{stream}'
project: 'opnfvdocs'
rtdproject: 'opnfv'
project: 'opnfvdocs'
rtdproject: 'opnfv'
@@
-25,18
+27,22
@@
- project-parameter:
project: '{project}'
branch: '{branch}'
- project-parameter:
project: '{project}'
branch: '{branch}'
- - string:
- name: GIT_BASE
- default: https://gerrit.opnfv.org/gerrit/releng
- description: 'Git URL to use on this Jenkins Slave'
- scm:
- - git-scm
triggers:
triggers:
- - gerrit-trigger-change-merged
+ - gerrit-trigger-change-merged:
+ project: '**'
+ branch: '{branch}'
+ files: 'docs/**/*.*'
builders:
builders:
- - shell: !include-raw: docs-post-rtd.sh
+ - shell: |
+ if [ $GERRIT_BRANCH == "master" ]; then
+ RTD_BUILD_VERSION=latest
+ else
+ RTD_BUILD_VERSION=${{GERRIT_BRANCH/\//-}}
+ fi
+ curl -X POST --data "version_slug=$RTD_BUILD_VERSION" https://readthedocs.org/build/opnfvdocsdemo
+
- job-template:
name: 'docs-verify-rtd-{stream}'
- job-template:
name: 'docs-verify-rtd-{stream}'
@@
-64,7
+70,7
@@
server: 'gerrit.opnfv.org'
project: '**'
branch: '{branch}'
server: 'gerrit.opnfv.org'
project: '**'
branch: '{branch}'
- files: 'docs/**/*.
rst
'
+ files: 'docs/**/*.
*
'
- timed: 'H H * * *'
builders:
- timed: 'H H * * *'
builders:
@@
-78,7
+84,7
@@
- shell: |
sudo pip install virtualenv
virtualenv $WORKSPACE/venv
- shell: |
sudo pip install virtualenv
virtualenv $WORKSPACE/venv
-
source
$WORKSPACE/venv/bin/activate
+
.
$WORKSPACE/venv/bin/activate
pip install --upgrade pip
pip freeze
pip install tox
pip install --upgrade pip
pip freeze
pip install tox