Hi,
We are using Jenkins Pipeline - build job step and wanted the ability to return build job number so that we can use the build job # in the next step.
e.g.
buildJobNumber=build job: 'my-test-job', parameters: [string(name: 'environment', value: 'QA')], quietPeriod: 10
Then be able to use buildJobNumber in the next stage.
Thanks