1

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?

Alpha
  • 13,320
  • 27
  • 96
  • 163
  • pick a IDE like IntelliJ and import the Jenkins API (for autocomplete) this will make development a lot easier: https://stackoverflow.com/questions/55016767/how-to-import-the-jenkins-api-in-groovy – Michael Kemmerzell Nov 28 '19 at 13:22

0 Answers0