Relative path question

Answered

Using TeamCity 10.0.4

My buildAgent checkout directory looks like this:

C:\TeamCity\buildAgent\work\6e9dfdc2b16afe03\WpfDummyApp\WpfDummyAppl\bin\Debug\dummyapp.dll

How do I represent the relative path for dummyapp.dll  in the Test files Names box for Visual Studio tests.

Is it?  WpfDummyApp\WpfDummyAppl\bin\Debug\dummyapp.dll

Thanks,

NR

0
2 comments

Hello,

The build is running in C:\TeamCity\buildAgent\work\6e9dfdc2b16afe03 directory, so you can use paths relative to this directory in your builds. Also paths to checkout directory (which is by default equals to build directory) is stored in the %teamcity.build.checkoutDir%, you can use this parameter in your build scripts.

0
Avatar
Permanently deleted user

It worked like you said.

 

Thank you very much Alina.

0

Please sign in to leave a comment.