diff options
author | vgorin <vasilygorin@gmail.com> | 2017-11-08 13:20:05 +0300 |
---|---|---|
committer | Thanh Ha <thanh.ha@linuxfoundation.org> | 2017-11-08 09:08:57 -0500 |
commit | a56e9903a03188bf66284cf55f59b569dac1b348 (patch) | |
tree | 6693390f973ef778b8ccbe2d77e03def4a8dab77 | |
parent | 0b51780d2caa7eaa059fc6c348f1e5f2db73d518 (diff) | |
download | python-jenkins-job-builder-a56e9903a03188bf66284cf55f59b569dac1b348.tar.gz python-jenkins-job-builder-a56e9903a03188bf66284cf55f59b569dac1b348.tar.xz python-jenkins-job-builder-a56e9903a03188bf66284cf55f59b569dac1b348.zip |
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
-rw-r--r-- | jenkins_jobs/modules/builders.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/jenkins_jobs/modules/builders.py b/jenkins_jobs/modules/builders.py index 12e72e67..eaa85a53 100644 --- a/jenkins_jobs/modules/builders.py +++ b/jenkins_jobs/modules/builders.py @@ -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') |