summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-12-23 22:43:49 +0000
committerGerrit Code Review <review@openstack.org>2015-12-23 22:43:49 +0000
commit0fc023b911ee00c20e3ad8d34918f65a91c13626 (patch)
tree1ae4bea4c3287bbfee66042acdb49d6b8cd3e742 /doc
parentca8fb6af2fdc62a446ffa4bc3497e30431f225a3 (diff)
parent333fdc65a11484f6c1690224f62b20d222a5fba8 (diff)
downloadpython-jenkins-job-builder-0fc023b911ee00c20e3ad8d34918f65a91c13626.tar.gz
python-jenkins-job-builder-0fc023b911ee00c20e3ad8d34918f65a91c13626.tar.xz
python-jenkins-job-builder-0fc023b911ee00c20e3ad8d34918f65a91c13626.zip
Merge "Add parallelization options"
Diffstat (limited to 'doc')
-rw-r--r--doc/source/execution.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/source/execution.rst b/doc/source/execution.rst
index 326b56c3..6946cf48 100644
--- a/doc/source/execution.rst
+++ b/doc/source/execution.rst
@@ -160,6 +160,13 @@ arguments after the job definition path. To update Foo1 and Foo2 run::
jenkins-jobs update /path/to/defs Foo1 Foo2
+You can also enable the parallel execution of the program passing the workers
+option with a value of 0, 2, or higher. Use 0 to run as many workers as cores
+in the host that runs it, and 2 or higher to specify the number of workers to
+use::
+
+ jenkins-jobs update --workers 0 /path/to/defs
+
Passing Multiple Paths
^^^^^^^^^^^^^^^^^^^^^^
It is possible to pass multiple paths to JJB using colons as a path separator on