Suppose, I run one Jenkins job from another like -
def result = build job: 'ChildJob', parameters: []
println result.getRawBuild().getLog()
Here on result
object, we can see getRawBuild()
method can be invoked. But when write code in pipeline we cannot see auto-population of method. In this case, how to identify what are methods available on Jenkins objects? Which document will help to get all those details?