Note that there are some explanatory texts on larger screens.

plurals
  1. POTeamCity deletes files on build
    primarykey
    data
    text
    <p>I am a newbie to TeamCity and Continuous Integration. I have followed <a href="http://elegantcode.com/2009/05/04/implementing-teamcity-for-net-projects-part-1-just-build-it-a-simple-build-configuration/" rel="nofollow noreferrer">this</a> very nice guide to set everything up and it all seemed to work at first.</p> <p>TC could check out the files from SVN and it could build them with no problems. However I discovered that the 'Checkout directory'-setting was wrong, it pointed one folder above where it should be hence adding all new files from SVN in the wrong place but still building on the old ones. After correcting this the problems started.</p> <p>Now every time TC does a build it cleares all files in the 'Checkout directory' the problem with this is that not all files needed are managed by SVN and they are deleted forever. Since not all necessary files are there the build fails.</p> <p>What should I do to make TC keep my files? </p> <p>Settings from TC if it could help:</p> <blockquote> <p>General settings edit »</p> <p>Name: Mavia Build</p> <p>Description: none</p> <p>Build number format: {0}, next build number: #8</p> <p>Artifact paths: none specifed</p> <p>Fail build if:</p> <p>process exit code is not zero: ON</p> <p>at least one test failed: ON</p> <p>an error message is logged by build runner: OFF</p> <p>it runs longer than: no limit</p> <p>out of memory or crash is detected: ON</p> <p>Build options:</p> <p>hanging builds detection: ON</p> <p>status widget: OFF</p> <p>maximum number of simultaneously running builds: unlimited</p> <p>Version control settings edit »</p> <p>VCS checkout mode: Automatically on server</p> <p>Checkout directory: C:\Inetpub\wwwroot\mavia_sip</p> <p>Clean all files before build: OFF</p> <p>VCS labeling: disabled</p> <p>Attached VCS roots:</p> <p>Name Checkout rules Set label</p> <p>mavia_sip svn not specified NO</p> <p>Runner: sln2008 edit »</p> <p>Type of runner: sln2008 (Runner for Microsoft Visual Studio 2008 solution files)</p> <p>Solution file path: mavia_sip\WebSite\mavia_sip.sln</p> <p>Working directory: same as checkout directory</p> <p>Targets: Rebuild</p> <p>Configuration: Debug</p> <p>Solution Platform: default</p> <p>NUnit Run platform: auto(MSIL)</p> <p>NUnit runner: NUnit 2.2.10</p> <p>Run tests from: none specified</p> <p>Do not run tests from: none specified</p> <p>NUnit categories include: none specified</p> <p>NUnit categories exclude: none specified</p> <p>Reduce test failure feedback time: OFF</p> <p>MSTest: disabled</p> <p>XML report processing: disabled</p> <p>Build triggering edit »</p> <p>Build configuration is paused (triggering disabled).</p> <p>Trigger build by vcs check-in: ON</p> <p>Quiet period: default, 60 seconds</p> <p>Start new build if last build is failed: OFF</p> <p>Triggering by time: not configured</p> <p>This configuration depends on: not configured</p> <p>Dependencies edit »</p> <p>Snapshot Dependencies:</p> <p>There are no snapshot dependencies.</p> <p>Artifact dependencies:</p> <p>There are no artifact dependencies.</p> <p>Properties and environment variables edit »</p> <p>System properties: none defined</p> <p>Environment variables: none defined</p> <p>Agent requirements edit »</p> <p>Requirements for system properties: none defined</p> <p>Requirements for environment variables: none defined</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload