wow, thanks so much! On Saturday, December 23, 2017 at 3:35:42 AM UTC-8, Victor Martinez wrote: > > The build job step returns a RunWrapper object, and in your case you can > use the getId method > <http://javadoc.jenkins.io/plugin/workflow-support/org/jenkinsci/plugins/workflow/support/steps/build/RunWrapper.html#getId--> > > def buildObj = build job: 'my-test-job', parameters: [string(name: > 'environment', value: 'QA')], quietPeriod: 10 > echo buildObj.getId() > > Cheers >
-- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2e99ca17-77a7-4cfa-96e8-cd7e0487ee02%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
