add a JJB command reference
I've noticed that people don't necessarily know about the sub options in JJB so adding a command referencing showing all command options will hopefully help. Change-Id: Id0f786077e1e5a35db5ab45e0e2c3760ac11ded0
This commit is contained in:
parent
6c02254a0b
commit
d6fbd4be2b
|
@ -107,10 +107,6 @@ Builder by running ``jenkins-jobs``. You won't be able to do anything
|
||||||
useful just yet without a configuration which is discussed in the next
|
useful just yet without a configuration which is discussed in the next
|
||||||
section.
|
section.
|
||||||
|
|
||||||
Usage
|
|
||||||
^^^^^
|
|
||||||
.. program-output:: jenkins-jobs --help
|
|
||||||
|
|
||||||
Test Mode
|
Test Mode
|
||||||
^^^^^^^^^
|
^^^^^^^^^
|
||||||
Once you have a configuration defined, you can run the job builder in test mode.
|
Once you have a configuration defined, you can run the job builder in test mode.
|
||||||
|
@ -196,6 +192,14 @@ To delete jobs that only have 'foo' in their name::
|
||||||
|
|
||||||
jenkins-jobs delete --path ./myjobs \*foo\*
|
jenkins-jobs delete --path ./myjobs \*foo\*
|
||||||
|
|
||||||
|
Command Reference
|
||||||
|
^^^^^^^^^^^^^^^^^
|
||||||
|
.. program-output:: jenkins-jobs --help
|
||||||
|
.. program-output:: jenkins-jobs test --help
|
||||||
|
.. program-output:: jenkins-jobs update --help
|
||||||
|
.. program-output:: jenkins-jobs delete-all --help
|
||||||
|
.. program-output:: jenkins-jobs delete --help
|
||||||
|
|
||||||
.. rubric:: Footnotes
|
.. rubric:: Footnotes
|
||||||
.. [#f1] The cache default location is at ``~/.cache/jenkins_jobs``, which
|
.. [#f1] The cache default location is at ``~/.cache/jenkins_jobs``, which
|
||||||
can be overridden by setting the ``XDG_CACHE_HOME`` environment
|
can be overridden by setting the ``XDG_CACHE_HOME`` environment
|
||||||
|
|
Loading…
Reference in New Issue