Is it possible to check out .svn files?

Hi,

I've noticed that TC seems to export from SVN but doesn't check out (i.e. in buildAgent/work/Server/** there are no .svn files).

While this is good to prevent any unvoluntarily actions on SVN (but BTW we only specify a read only SVN URL so that doesn't matter), it's causing issues with our build. Indeed our build relies on .svn files being present to perform SVN actions. More specifically we use the Maven buildnumber plugin that does a "svn info" and thus fails on TC.

I know one solution would be to modify the buildnumber plugin but I don't control it and I'd rather have a solution where the .svn files can be checked out (there are other cases where it might be useful).

Thanks
-Vincent

2 comments

Hello Vincent,

You should change checkout mode to checkout on agent. See General settings
page of a build configuration.

--
Pavel Sher

"Vincent Massol" <vincent@massol.net> wrote in message
news:9861344.1183366573408.JavaMail.itn@is.intellij.net...

Hi,

>

I've noticed that TC seems to export from SVN but doesn't check out (i.e.
in buildAgent/work/Server/** there are no .svn files).

>

While this is good to prevent any unvoluntarily actions on SVN (but BTW we
only specify a read only SVN URL so that doesn't matter), it's causing
issues with our build. Indeed our build relies on .svn files being present
to perform SVN actions. More specifically we use the Maven buildnumber
plugin that does a "svn info" and thus fails on TC.

>

I know one solution would be to modify the buildnumber plugin but I don't
control it and I'd rather have a solution where the .svn files can be
checked out (there are other cases where it might be useful).

>

Thanks
-Vincent



0

Thanks a lot Pavel. It worked fine.

0

Please sign in to leave a comment.