Can the build method in groovy return the build ID and build status when the job has completed ? For example if I write a code like this:
Object buildData = build(job: 'xyz', parameters: [....])
What all things can I fetch from buildData
Object ?
Currently I have a need to fetch build ID and build status