Fix documentation for nodejs builder
Now there is a broken link to example of usage This patch includes following fixes and improvements * delete broken link * add link to full example * add link to minimal example Change-Id: Iec289751a6037ecf4535edb6ccdf57ea101f5f31
This commit is contained in:
parent
0b51780d2c
commit
a56e9903a0
|
@ -4103,11 +4103,17 @@ def nodejs(parser, xml_parent, data):
|
|||
last field (a 32-digit hexadecimal code) of the path of URL visible
|
||||
after you clicked the file under Jenkins Managed Files.
|
||||
|
||||
Example:
|
||||
Minimal Example:
|
||||
|
||||
.. literalinclude::
|
||||
/../../tests/builders/fixtures/nodejs-executor001.yaml
|
||||
../../tests/builders/fixtures/nodejs-minimal.yaml
|
||||
:language: yaml
|
||||
|
||||
Full Example:
|
||||
|
||||
.. literalinclude::
|
||||
../../tests/builders/fixtures/nodejs-full.yaml
|
||||
:language: yaml
|
||||
"""
|
||||
nodejs = XML.SubElement(xml_parent,
|
||||
'jenkins.plugins.nodejs.NodeJSCommandInterpreter')
|
||||
|
|
Loading…
Reference in New Issue