From cec072a7346f75c2670dfa44c8305f7b7841fe67 Mon Sep 17 00:00:00 2001 From: Julien Date: Wed, 22 Feb 2017 22:14:06 +0800 Subject: 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 --- docs/jenkins-job-builder/opnfv-jjb-usage.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/jenkins-job-builder') 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. -- cgit 1.2.3-korg