summaryrefslogtreecommitdiffstats
path: root/jjb/yardstick/yardstick-project-jobs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/yardstick/yardstick-project-jobs.yml')
-rw-r--r--jjb/yardstick/yardstick-project-jobs.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/jjb/yardstick/yardstick-project-jobs.yml b/jjb/yardstick/yardstick-project-jobs.yml
index aa02c8752..426557a0a 100644
--- a/jjb/yardstick/yardstick-project-jobs.yml
+++ b/jjb/yardstick/yardstick-project-jobs.yml
@@ -71,6 +71,8 @@
python setup.py develop
./run_tests.sh
deactivate
+ - generate-api-docs-for-yardstick
+ - upload-review-docs
- job-template:
name: 'yardstick-merge-{stream}'
@@ -81,6 +83,10 @@
- gerrit-parameter:
branch: '{branch}'
- 'ericsson-build-defaults'
+ - string:
+ name: GS_URL
+ default: '$GS_BASE{gs-pathname}'
+ description: "Directory where the build artifact will be located upon the completion of the build."
scm:
- gerrit-trigger-scm:
@@ -115,3 +121,21 @@
python setup.py develop
./run_tests.sh
deactivate
+ - generate-api-docs-for-yardstick
+ - upload-merged-docs
+
+################################
+# job builders
+################################
+
+- builder:
+ name: generate-api-docs-for-yardstick
+ builders:
+ - shell: |
+ #!/bin/bash
+ set -o errexit
+ set -o pipefail
+
+ source $WORKSPACE/yardstick_venv/bin/activate
+ sphinx-apidoc -o docs/apidocs yardstick
+ deactivate