Skip to content

[JENKINS-34399] Groovy Postbuild documentation states incorrect type for "build" variable #153

@jenkins-infra-bot

Description

@jenkins-infra-bot

The documentation in help.jelly links to the Javadoc for hudson.model.AbstractBuild for the build variable, but it is actually a `hudson.model.Run`.

Documentation:
https://github.com/jenkinsci/groovy-postbuild-plugin/blob/master/src/main/resources/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder/help.jelly#L8

Declaration:
https://github.com/jenkinsci/groovy-postbuild-plugin/blob/master/src/main/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder.java#L110


Originally reported by magnusr, imported from: Groovy Postbuild documentation states incorrect type for "build" variable
  • assignee: wolfs
  • status: Open
  • priority: Minor
  • component(s): groovy-postbuild-plugin
  • label(s): documentation
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251216-225446
Raw content of original issue

The documentation in help.jelly links to the Javadoc for hudson.model.AbstractBuild for the build variable, but it is actually a `hudson.model.Run`.

Documentation: https://github.com/jenkinsci/groovy-postbuild-plugin/blob/master/src/main/resources/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder/help.jelly#L8

Declaration: https://github.com/jenkinsci/groovy-postbuild-plugin/blob/master/src/main/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder.java#L110

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions