I would try first just to build your jobA without any parameters. You do not need to use a node statement for this. It does not make sense. You also do not need to assign the build result to some variable unless you want to analyze it later. I think the build method does not return anything useful. Just make a call:
build(“jobA”)
It should initiate you jobA with default parameters. My guess the build method is asynchronous. It won’t wait until “jobA” is finished. You should implement your own method of waiting until jobA is completed if I am not mistaken.
Mikhail
--
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
jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/5f55598f-8145-4aba-a85c-6e9d6ebfb6a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
does the build step return an object as a reference