Trying out TeamCity for the first time, latest EAP version, working against TFS server, my builds fail in checking out the source from VCS, with this message in the log:
System.InvalidOperationException: Unexpected change type
jetbrains.buildServer.vcs.VcsException: TFS execution error:
System.InvalidOperationException: Unexpected change type
at jetbrains.buildServer.buildTriggers.vcs.tfs.TfsNativeExeRunner.start(TfsNativeExeRunner.java:23)
at jetbrains.buildServer.buildTriggers.vcs.tfs.TfsSupport.buildPatch(TfsSupport.java:54)
at jetbrains.buildServer.serverSide.impl.BuildTypeImpl.buildPatch(BuildTypeImpl.java:167)
at jetbrains.buildServer.serverSide.impl.BuildTypeImpl.buildPatch(BuildTypeImpl.java:19)
at jetbrains.buildServer.serverSide.impl.BuildStarter$3.run(BuildStarter.java:26)
at java.lang.Thread.run(Thread.java:619)
I have seven VCS roots in the project, all on the same TFS server, but initially I just had one and configured it wrong, so nothing was fetched (I selected "Do not checkout files automatically", because in TFS terminology, "checkout" means checkout for edit, not just fetching the latest version to the local workspace, so I misunderstood the option).
I do not know how to troubleshoot this "unexpected change type" ... and the exception type (InvalidOperationException) suggests that this is an error on your side, not mine :)
All of these are checked:
X Clean all files before build
X Run one build at a time
X Fail build if at least one test failed
X Enable execution timeout: 22 minutes
Full build output is attached.
Environment: Windows XP SP2, downloaded TeamCity as ZIP file with Tomcat installed, have VS2005 SP1 installed, am running against TFS on port 8080 on another machine.
Issue wasresolved
| Old | New | |
| Gunnlaugur Thor Briem (gthb) - 21 months ago (12 Feb 2007 15:56) | ||
Gunnlaugur Thor Briem (gthb)
21 months ago (01 Feb 2007 20:31)I tried creating a new project and build config from scratch with all the VCS roots set up right, and still got the same problem on the first build. So the problem is not related to my initial wrong config in the first project.
Mikhail Pilin (ww)
21 months ago (09 Feb 2007 13:09)For Gunnlaugur Thor Briem:
I need History in following format for your changeset #9300-#9310:
Changeset #C
...