How to start a personal build from a Perforce shelf ?
Answered
Hi,
We would like to know if it is possible to make a personal build from shelved changelist in Perforce ?
In our workflow, we will need to perform a bunch of tests in build before submitting the changes.
Thank you
Please sign in to leave a comment.
Hi, since recent TeamCity release this feature is available out of the box: https://www.jetbrains.com/help/teamcity/what-s-new-in-teamcity.html#Run+builds+on+shelved+files
Hope this helps,
Hi Yu-xing,
You can use plugins for supported IDEs to trigger a personal build from the IDE without having to submit the changes. Does that cover your use case?
-Anatoly
Hi Anatoly
Thank you for supporting, use the IDE's plugin to start a personal build is not sufficient in our case. We work on game development, most of our desginers and artists don't work with those supported IDEs. If we can add the feature to make a personal build from a shelf changelist, it would be really helpful.
Thank you
Whenever there isn't an integration for the tool you are using, you can generate a patch in unified diff format and manually and run a personal build by uploading that patch to TeamCity. Please find more details in this section of the documentation:
https://www.jetbrains.com/help/teamcity/personal-build.html#Direct+Patch+Upload
Hi Anatoly,
We face the same issue and the problem with the Direct Patch Upload is it doesn't support binary files.
Hi Christ. Direct PAtch Upload can indeed only work with files in unified diff format. If you need your build to do something with binary files, you can commit them to VCS or upload them elsewhere and get your build to download them, either as a part of the checkout process in the former case or in a build step in the latter case. Since the OP's question was about personal builds, I presume you also want to run a personal build so uploading the binary files elsewhere and downloading them in a build step might be a better option than committing them to VCS.