long title but it should sum it up
We do nightly testing as a build that runs a large test on the latest application and library build outputs containing the group of perforce checkins that happened in that 24 hours. If there is a performance/functionality regression then we can run by hand that same test on each application build output since there is a build for each checkin triggered. The web interface allows us to select those builds as dependencies, but I would like to automate this in a script (or plugin?). I have found the HTTP interface and the REST API but I can't find how to specify the depenendency, such as a changelist number, so inseatd it always uses the latest build dependencies.
How can one specify the dependency version for script automation?