Все вопросы: [teamcity]

130 вопросов

32
голосов
3ответов
9343 просмотров

Force TeamCity to build on a specific agent

Is it possible, without disabling all other connected agents, to force TeamCity to build on a specific agents machine?

1
голосов
2ответов
1726 просмотров

Making Teamcity clone a git repository

I have a build process that relies on git-describe so I want TeamCity to clone the repository instead of only putting the source without git into the /work folder. I'm using the JetBrains Git plugin, is there another plugin that does that or should I just write another script that does a git clo...

2
голосов
2ответов
497 просмотров

TeamCity & MSpec with sln2008 runner?

I'm currently using the sln2008 runner. Is there a way to configure TeamCity to execute MSpec tests without switching to a NAnt or MSBuild runner?

20
голосов
3ответов
6045 просмотров

To where should I point the VCS root of TeamCity?

I am setting up TeamCity and I am wondering what should be used as the VCS Root. My svn repository is located at http://obfuscatedserver/svn/main/MyProject1/ Should I set the VCS Root at http://obfuscatedserver/svn/main/MyProject1/ or use the trunk folder at http://obfuscatedserver/svn/main/MyP...

4
голосов
3ответов
2722 просмотров

TeamCity path to external reference assemblies

I have been working with setting up TeamCity, and I have almost everything working with the exception of being able to compile VS2005 solutions that have referenced assemblies that are outside of the solution path. I have our SVN repository structured as follows Root Libraries ...

0
голосов
2ответов
1382 просмотров

Build server for WPF app - does Team City have an advantage over CruiseControl.NET?

First off: This is not meant to be an argumentative question or flamebait. I'm genuinely curious about this as I am about to start a build server evaluation process. Also, this question is not a general "which is the better build server" question. There are plenty of those on SO already. I'm wond...

5
голосов
1ответов
1326 просмотров

TeamCity MSBuild Gallio NCover Reporting

I'm a complete build system newbie through and through. I've been playing with this for about two weeks on and off now and I just can't crack it, I think I've reached a point where I need a fresh pair of eyes. Ultimately I'm aiming for having a new NCover coverage report (the summary one at lea...

4
голосов
3ответов
3246 просмотров

TeamCity, invoking the TeamCity NUnit launcher from the command line

I'm trying to split up some rather lengthy unit test executions across multiple build agents with TeamCity, so I removed the unit test part of the build step (using Visual Studio 2008, sln2008 build runner) in TeamCity and trying to set up separate build steps. However, I'm unable to invoke the ...

1
голосов
2ответов
356 просмотров

How can I prevent TeamCity from creating artifacts for pre-tested commits?

Right now, TeamCity is creating 2 sets of artifacts each time I do a successful pre-tested commit, one when it builds the solution with my local changes against which to run the tests, and a second time when it gets triggered by the VCS repository change. How can I prevent it from creating artif...

1
голосов
2ответов
538 просмотров

What can I do while I wait for the TeamCity Git plugin to get pre-tested commit support?

I'm brand new to CI. I want to submit my code changes to TeamCity and have it run all the tests and, if they pass, commit to source. However, I use Git and it looks like the Git plugin doesn't have support for pre-tested commits or personal builds yet. If you use Git and TeamCity, how do you d...

3
голосов
3ответов
4354 просмотров

Failing Build because it can't find AL.exe

Here's an interesting problem that really has me scratching my head. I have a project that's being built in TeamCity. It's been working fine until a developer added a resource file to one of the projects with some strings for another locale. He's added the .resx file under the Properties folder n...

0
голосов
2ответов
1906 просмотров

Integrate TeamCity Reports to Confluence

Is there a way (plugin) to integrate build-reports from teamcity to confluence

13
голосов
2ответов
2393 просмотров

How to set a Mercurial VCS build trigger for TeamCity that ignores label operations

I am trying to setup a build trigger for TeamCity using Mercurial as the VCS. Right now the trigger looks like: +:/** This trigger get fired when changesets are committed. However, I have TeamCity setup to tag each build in the VCS. The tagging process is firing the above build trigger so the ...

0
голосов
2ответов
250 просмотров

Is it OK to delete subversion checkout in TeamCity manually?

I have accidentally checked out the root, instead of project directory using TeamCity. This file is massive (40gb+). I would like to remove this from the disk but I am unsure how in TeamCity to do this OR alternatively if TeamCity will allow me to do a good ole manual delete? The last thing I nee...

0
голосов
2ответов
3077 просмотров

How to call the a unit test target in a project from a 'solution' project

I'm trying to get Team City to build my .NET solution and run my nUnit tests. I know I can modify the individual projects and tell them always run the unit tests. I don't want the unit tests to run when I click "build" in visual studio, but I do want the unit tests to run when Team City kicks of...

0
голосов
2ответов
214 просмотров

Notifications template bug in TeamCity (BUILD_NUMBER)?

I've set up TeamCity to notify the whole team when a new internal release is ready. The email contains links to server folders where the distributive has been placed. The link pattern is quite simple, the only thing that's 'dynamic' is the lowest-level folder - it's name matches the version numbe...

1
голосов
4ответов
6431 просмотров

TeamCity: Scripting elements jsp:declaration, jsp:expression, jsp:scriptlet are disallowed here

I am not sure where to begin with this error message. I have tried googling, but I was never able to nail down a solid reason why I am getting this message. I have looked at various jsp tutorials and they all seem relatively simple so I don't see the problem. I am writing another plugin for J...

39
голосов
11ответов
24010 просмотров

How to diagnose "TestFixtureSetUp Failed"

We use TeamCity as our CI server, and I've just started seeing "TestFixtureSetUp Failed" in the test failure window. Any idea how I go about debugging this problem? The tests run fine on my workstation (R# test runner in VS2008).

100
голосов
9ответов
42115 просмотров

Hudson or Teamcity for continuous integration?

We are a Java shop looking for a CI tool to use. Both Hudson and Teamcity seem to be free but Teamcity seems slicker and with more support. I was wondering why one would still use Hudson and if anyone could provide any argument for/against either?

11
голосов
5ответов
11746 просмотров

Stop IIS 7 Application Pool from build script

How can I stop and then restart an IIS 7 application pool from an MSBuild script running inside TeamCity. I want to deploy our nightly builds to an IIS server for out testers to view. I have tried using appcmd like so: appcmd stop apppool /apppool.name:MYAPP-POOL ... but I have run into elev...

0
голосов
1ответов
659 просмотров

TeamCity 4.5 not recognizing trycatch element in nant script

Our team recently upgraded to TeamCity 4.5.4 but we're having trouble with TeamCity running our nant build scripts. We now get an error message saying: Invalid element <trycatch>. Unknown task or datatype. We haven't changed our build script during or after the upgrade so I'm wondering wh...

3
голосов
2ответов
1015 просмотров

Put current build number of 'release' configuration to 'nightly build' configuration?

We've just started to use TeamCity as a continuous integration server. There's a problem we're trying to solve now: We have a 'release' configuration, it has build versions set like this: 1.0.0.{0} We also have a 'nightly build' configuration, which build number is: 1.0.0.0.{build.vcs.number.1} ...

2
голосов
1ответов
1592 просмотров

How can I include my database in the continuous integration process?

Please excuse me, today is my first day trying to setup a CI environment using TeamCity. I'm developing an ASP.NET/Sql Server app and so far so good. MSBuild is my provider. I'd like to know what the options are when it comes to automatically making sure changes to my local database are uploade...

4
голосов
1ответов
2902 просмотров

How can I change the working directory for NUnit tests in Team City?

I am using Team City as the build server, and I have a msbuild build script to build and run integration tests for my project. However, Team City when running my tests decides to ignore the WorkingDirectory attribute on the NUnit task, and as a result my tests fail to initialize: [17:46:54]: [Pr...

9
голосов
4ответов
5034 просмотров

TeamCity and PHP

We are considering TeamCity for continuous integration but have projects in both Rails (Rake tests) and PHP (PHPUnit tests). I'm a bit new to CI - Has anyone setup TeamCity for PHP projects? If so, is it straight-forward? Thanks, Chad

2
голосов
7ответов
1276 просмотров

Subversion, best practice for small team of 5 developers?

we have svn setup through Assembla with CI Team City. I understand source control, my team is new to it? How should we proceed with work? Right now our environment, is not organized as it should be. I am also trying to get Trac working for our group. What should we do each person work on there ow...

0
голосов
2ответов
402 просмотров

Python question regarding a server listener

I wrote a plug-in for the jetbrains tool teamcity. It is pretty much just a server listener that listens for a build being triggered and outputs some text files with information about different builds like what triggered it, how many changes there where etc etc. After I finished that I wrote a py...

0
голосов
2ответов
166 просмотров

Building ONLY Labelled Versions with CruiseControl.net or TeamCity

We're currently using CruiseControl.NET as a continuous integration server for a number of ASP.NET web projects, but we're also evaluating TeamCity. This is working great for our build server. What we'd like to setup is a customer facing test server. I'm thinking that when we are happy for our...

1
голосов
1ответов
241 просмотров

Deployment after CI builds

Im pretty new to CI so bear with me here. I have just setup an instance of Team City in on a local machine, and I can clearly see the benefits. The one thing we do want understand is how we can managed the deployment aspect of CI. What we really want to achieve are two builds: 1) We check in t...

9
голосов
1ответов
1835 просмотров

TeamCity & MSBuild integration

Is there any way to get TeamCity's build numbering to match the publish version (ApplicationRevision) number generated by MSBuild's publish task?