Projects with symbolic links

Our build process makes use of symbolic links in several places and it seems like TeamCity is having a hard time dealing with this. The project in question is built in a Linux environment and has links from within the checkout directory to outside the checkout directory. Our current build process depends on the semantics of 'rm -rf' when removing files, which is to remove the link instead of following the link. TeamCity, on the other hand, tries to follow the link and ends up either removing more than it should or failing to remove because it's stumbling into root-owned files.

I searched the discussions and only found one message that made a general statement about being careful with cleaning up symbolic links. Is there any work around for this besides modifying the build process? Thanks,

Matt

3 comments

Matt,

Please file an issue in our tracker with details. Please also specify at what moment it hangs.

0

I filed the following:

http://youtrack.jetbrains.net/issue/TW-11268

I tried to give details about what I'm seeing. Let me know if you need more. The build doesn't really hang, it just deletes more than it should, which messes up subsequent builds and fails to remove directories from .old.

Matt

0

Matt,

Thanks! Let's continue futher discussion in tracker.

0

Please sign in to leave a comment.