We have a build, BuildA, which ends with a step that triggers some other build, BuildB. That last step type is "Trigger Other Builds". This works perfectly fine if we start BuildA manually. Unfortunately, if BuildA is started using a REST interface, then BuildB triggered in the last step fails with:
2017-06-06 13:41:38,238 [Thread-74] ERROR com.pmease.quickbuild.DefaultBuildEngine - Error allocating node for step 'master'.
com.pmease.quickbuild.QuickbuildException: Can not find any node matching specified criteria.
at com.pmease.quickbuild.DefaultBuildEngine.run(DefaultBuildEngine.java:1325)
at java.lang.Thread.run(Thread.java:745)
There is definitely at least one node satisfying the criteria for BuildB as we have no problem when starting BuildA manually.