|
|
|
[
Permlink
| « Hide
]
Robin Shen [05/Dec/18 11:39 PM]
There is an revert option to revert files after build when define shelve support. Have you tried that?
The revert logic will apply even if submitting is failed. Please enable debug logging for the configuration via general setting page, and reproduce the issue again, then please check the build log to see if it contains below message:
revert -w //... Debug logging is enabled by default for our builds (otherwise we don't get a list of files / revisions sync'd), and I'm not seeing that entry in our logs -- Furthermore, the files that were unshelved during the build remained open after the build, which pretty much trumps the logs in any case.
Would this behavior occur if the Perforce user being used to unshelve the files during the build is not the owner of the shelved changelist (because I do see a message saying the submit failed because the user trying to submit the shelved changelist is not the owner of said changelist)? Which QB version are you using? On my side, I tried to submit another user's shelved change, and the build is successful, however the configuration has an error complaining that "Change 128 belongs to user robin", and the unshelved change has been reverted by QB at end of the build according to build log. Also make sure to use the option "revert after build" instead of "revert after build is successful".
|