summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJulien <zhang.jun3g@zte.com.cn>2017-02-22 22:14:06 +0800
committerJulien <zhang.jun3g@zte.com.cn>2017-04-01 12:14:25 +0800
commitcec072a7346f75c2670dfa44c8305f7b7841fe67 (patch)
tree9bc4f6b2b17b50fd596b6496aef0d87dd4881b6f /docs
parentac3f798b30ba5d8dcd13b41b309c530dd68ff520 (diff)
Add tox support
be easier to test jjb locally before submit for review. add unitest in modules dir to tox(tox -emodules) Change-Id: Ief4f10debc567d1d3ba111685c86b812a2058697 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
Diffstat (limited to 'docs')
-rw-r--r--docs/jenkins-job-builder/opnfv-jjb-usage.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/jenkins-job-builder/opnfv-jjb-usage.rst b/docs/jenkins-job-builder/opnfv-jjb-usage.rst
index 52dbdebe5..f34833f5c 100644
--- a/docs/jenkins-job-builder/opnfv-jjb-usage.rst
+++ b/docs/jenkins-job-builder/opnfv-jjb-usage.rst
@@ -21,6 +21,14 @@ Make changes::
To ssh://agardner@gerrit.opnfv.org:29418/releng.git
* [new branch] HEAD -> refs/publish/master
+Test with tox::
+
+ tox -v -ejjb
+
+Submit the change to gerrit::
+
+ git review -v
+
Follow the link to gerrit https://gerrit.opnfv.org/gerrit/51 in a few moments
the verify job will have completed and you will see Verified +1 jenkins-ci in
the gerrit ui.