Using VCS for ClearCase (dynamic view)

Hi,

Could someone help me verify if I have my settings right? I am trying to set up VCS for ClearCase. I am using TeamCity 7.0.4. ClearCase client is running in TeamCity server and Test Connection is working fine. (some times when I save VCS root, 'd is null' message pops up and vanishes). TeamCity is throwing below error for my build:
Failed to start build
Error collecting changes for VCS repository 'TC_CC'
java.io.IOException: Error executing [lshistory, -eventid, -since, 12-June-2012.12:08:04, -fmt, %u#--#%Nd#--#%En#--#%m#--#%Vn#--#%o#--#%e#--#%Nc#--#%[activity]p###----###\n, -branch, client_14.1x, -all, /view/id_clearcase_tc_a/vob/asqw]: cleartool: Error: Branch type not found: "client_14.1x".

I used the below settings:

VCS root setting:-
Type of VCS: ClearCase
VCS root name: TC_CC
ClearCase view path: /view/<view name>
Relative path within the view: vob/<main prj folder>/<sub project folder which I want to build>
Branches: checked 'detect automatically'
Use ClearCase: BASE
Global labeling: <not checked>
Global labels VOB: <empty>
Cheking interval: checked 'use global server setting (60 seconds)
VCS Root Sharing: <not checked>

Version Control Settings:-



Thanks!

5 comments
Comment actions Permalink

Hi,

Seems it can be a bug, can you please provide me the config spec of your view to investigate this problem?

0
Comment actions Permalink

If you can specify any details that I need to look for, I will let you know those details. I am not sure if I can share this spec as its more project specific. Please let me know how to go about.

Thanks!

0
Comment actions Permalink

Is it possible for you to send the config spec by E-mail? It will not be publically visible, only for TeamCity team.

If yes, then you can send it to <a href="mailto:teamcity-feedback@jetbrains.com">teamcity-feedback@jetbrains.com</a>. Please insert the link on this thread in the mail in this case.


As a workaround you can try to select custom branches in the VCS root settings and leave the text field empty.

0
Comment actions Permalink

Hi,

We get this quite a lot since upgrading to TeamCity 7. It seems to happen when there are no changes on the branch for the specified VCS root. If I run the command on Linux I get the same error as TeamCity provides.

If this is occuring because there are no files on the branch can you please change it so that no error is thrown? It would be fine to log a message but the error means our builds fail to start.

Thanks,

Paul.

0
Comment actions Permalink

Hi,

Sorry for the delay in replying.

Thank you for the details of the problem, I created an issue in our tracker and will provide you a patch when it is fixed.

0

Please sign in to leave a comment.