ceph-dev-pipeline: Locate ceph-dev-new-setup builds automatically
c-d-p takes an optional param SETUP_BUILD_ID which can be pointed at a previously-completed ceph-dev-new-setup build, and use its artifacts instead of invoking its own c-d-n-s build. This saves a lot of time on rebuilds, but only if one remembers to manually insert the parameter.
It would be even better if c-d-p could locate one automatically via (most likely) calls to the Jenkins REST API.
Testing an API implementation for getting lastSuccessfulBuild from Jenkins along with the branch filtering , its picking the correct SETUP_BUILD_ID from the same branch but getting another issue 322 , will have some more test runs to verify if this is my patch causing the issue or some other failure.