Skip to content
Creates the documentation for pipeline job steps
Branch: master
Clone or download
Pull request Compare This branch is 64 commits ahead, 1 commit behind kwhetstone:master.
kwhetstone Merge pull request #17 from zbynek/website-434
[WEBSITE-434] Show basic step description when detailed check fails
Latest commit 52a4754 Oct 17, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
contrib Revert "Revert "Add the file leak detector to see how this goes"" Sep 29, 2016
src Add comments, simplify code Oct 15, 2019
.gitignore [JENKINS-37215] Handle metasteps. Feb 5, 2018
Jenkinsfile I can _almost_ write an entire declarative Pipeline unassisted Mar 10, 2019 Suggested instructions for testing changes locally. Feb 5, 2018
pom.xml [JENKINS-37215] Handle metasteps. Feb 5, 2018


Creates the documentation for pipeline jobs


Rough outline of interactive development process:

Get repositories

You will need

  • this repo (jenkins-infra/pipeline-steps-doc-generator)
  • jenkins-infra/
  • jenkinsci/workflow-aggregator-plugin (as an easy example)

You will need to temporarily patch as follows:

diff --git a/scripts/fetch-external-resources b/scripts/fetch-external-resources
index d3ee8319..cf8e38d2 100755
--- a/scripts/fetch-external-resources
+++ b/scripts/fetch-external-resources
@@ -25,12 +25,6 @@ RESOURCES = [
-  [
-    '',
-    'content/_tmp/',
-    nil,
-    'content/doc/pipeline/steps'
-  ],

Create content

From this repository, with others in relative positions:

rm -v ../*.adoc
make -C ../../jenkinsci/workflow-aggregator-plugin/demo copy-plugins
mvn "-Dexec.args=-classpath %classpath org.jenkinsci.pipeline_steps_doc_generator.PipelineStepExtractor -homeDir $(pwd)/../../jenkinsci/workflow-aggregator-plugin/demo -asciiDest $(pwd)/../ -declarativeDest /tmp/declarative" -Dexec.executable=$(which java) org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
make -C ../ run

Then browse: http://localhost:4242/doc/pipeline/steps/

You can’t perform that action at this time.