Skip to content

[JENKINS-41667] Generated pipeline steps documentation is too large #688

Closed

Description

@jenkins-infra-bot

https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#wrap-general-build-wrapper

is a whopping 7.3MB of html, which slows down ordinary browsers considerably.

Seems that something went wrong when generating this:

There seem to be several issues:

1. There is one line that is 1.9MB alone, look for

${:encoding=>"UTF-8", :interpolate=>false, :scss=>{:line_numbers=>true, :style=>"expanded"}, :sass=>{:line_numbers=>true, :style=>"expanded"}, :content_syntax=>{"coffee"=>"coffeescript"
...

seems that someone is prinln-debugging there and printing out a large map/object.

2. There are 27 steps documented. The documentation between step and timeout (which are next to each other), take up 139512 lines, of a total of 139512 (98 percent). If that one step should take up 98% of 7.3 MB, it should probably be on its own page.


Originally reported by 0x89, imported from: Generated pipeline steps documentation is too large
  • status: Closed
  • priority: Minor
  • component(s): pipeline
  • label(s): gsoc-2019-project-idea
  • resolution: Fixed
  • resolved: 2021-01-25T03:25:26+00:00
  • votes: 0
  • watchers: 1
  • imported: 2025-12-08
Raw content of original issue

https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#wrap-general-build-wrapper

is a whopping 7.3MB of html, which slows down ordinary browsers considerably.

Seems that something went wrong when generating this:

There seem to be several issues:

1. There is one line that is 1.9MB alone, look for

${:encoding=>"UTF-8", :interpolate=>false, :scss=>{:line_numbers=>true, :style=>"expanded"}, :sass=>{:line_numbers=>true, :style=>"expanded"}, :content_syntax=>{"coffee"=>"coffeescript"
...

seems that someone is prinln-debugging there and printing out a large map/object.

2. There are 27 steps documented. The documentation between <h3...<code>step</code> and <h3...<code>timeout</code> (which are next to each other), take up 139512 lines, of a total of 139512 (98 percent). If that one step should take up 98% of 7.3 MB, it should probably be on its own page.

Activity

  1. jenkins-infra-bot commented on Feb 2, 2017

    @jenkins-infra-bot
    Author
    0x89:
    • Original comment link
    • Raw content of original comment:

      As "step" is very generic, is it possible that it lists every possible step argument, with in turn every possible step recursively, for all plugins available?

    As "step" is very generic, is it possible that it lists every possible step argument, with in turn every possible step recursively, for all plugins available?

  2. jenkins-infra-bot commented on Jan 25, 2021

    @jenkins-infra-bot
    Author
    markewaite:
    • Original comment link
    • Raw content of original comment:

      Resolved. The current page is 68k and documents over 20 steps.

    Resolved. The current page is 68k and documents over 20 steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions