You may ask that this Pipeline build wait for completion of the downstream build. In that case the return value of the step is an object on which you can obtain the following read-only properties: so you can inspect its result and so on.

For a non-Pipeline downstream build, the buildVariables property offers access to a map of defined build variables. For a Pipeline downstream build, this property gives access to any variables set globally on env.

Administrator-approved scripts outside the sandbox can use the rawBuild property to get access to a hudson.model.Run with further APIs. You will generally need to do so inside a method marked @NonCPS to avoid storing intermediate values.

If you do not wait, this step succeeds so long as the downstream build can be added to the queue (it will not even have been started). In that case there is currently no return value.