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
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
Raw content of original issue