I am also experiencing this issue. IMO, it is very common to trigger job remotely but I don't find a way to retrieve the build id reliably. The jenkinsapi's invoke method return queue object which can get build number from it later. however, this issue makes the approach unreliable either.
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.