In the source code management option for perforce, I cannot see an option to trigger a build from a specific changelist. Is it possible to do so?
Alternatively to the solution by @catchingUp there's also the possibility to trigger a build using the "Build Review" action point (can be found on the jobs' main page right above the Build History).
In order to run the build based on a shelved change you need to enter:
review: the shelved change number
change: the committed change number on that you want to add the shelve (probably it's the last committed change)
status: the string "shelved"
I think that feature is meant to be triggered automatically by a trigger script in order to verify that a change does not break anything before finally committing it.
I found the solution accidentally. The option is available as build step and not under source management:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With