I am trying to trigger a nightly build by running a 'last known successful' custom build on a project.
I notice you can run a custom build by passing in a modifcationId
However I cannot see how to extract a modifcationId from the rest api.
I can get the last build number with the following call
Can anyone point me in the right direction or suggest a better way of doing this. The build project in question does not produce any artifacts since it is a .net 4.0 web MSDeployPublish therefore I cannot use an artifact dependency. I would just like to rerun the project with different configuration options from a given point in time (modificationId).
Thanks in advance.