Jump to content

TeamCity : Revert files in teamcity local workspace after build complete


Soumya

Recommended Posts

Hello,

I am setting up TeamCity with Plastic for CI in our Unity game project. I am using Plastic cloud repository.
On running a build config in TeamCity it automatically builds lighting for all scenes and then makes the final build. But during this process it checks out all the scenes in the teamcity local workspace of the project.

So I want to automatically revert these Checked out scenes once the build is complete. How should I implement this in TeamCity ?

Thank you.

Link to comment
Share on other sites

I was just able to implement this. Yeaaa!
Added another build config to TeamCity which runs the "cm unco WorkspacePath" in command line. This new build config gets triggered once the build is complete and reverts all the checked out files during the build process.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...