teamcity

teamcity building project Failed to start MSBuild.exe. Illegal characters in path

Deadly 提交于 2019-12-08 17:18:55
问题 I am trying to build a project within teamcity. It will do the checkout of TFS and the files are locally on the build server. If I manually run the build command on the server it works: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe C:\TeamCity\buildAgent\work\3446a5bd436eea87\Dev\Dev\project\myproj\myproj.csproj /t:build Within Teamcity I have a Build step of MSBuild: the build fie path is: Dev\Dev\project\myproj\myproj.csproj" working directory left blank mbuild version:

TeamCity LocalService PFX Assembly Signing - Where to Install the Certificate

假如想象 提交于 2019-12-08 17:06:09
问题 I've been looking around on this problem and whilst I've found a few "solutions" it seems that a lot of these "solutions" are stumbled upon or cannot adequtely explain what really worked. I've tried a number of the solutions but I'm still having issues. I've created a .PFX within Visual Studio. TeamCity and the Build Agent are all on my local development machine so there isn't any other PC involved in my situation. When TeamCity tries to build this project I get an error: error MSB3325:

How can packages be published to a TeamCity nuget server?

北慕城南 提交于 2019-12-08 16:10:29
问题 We have a TeamCity 7 server configured for nuget. It's hosted on a machine with no external connectivity. Is it possible to publish packages to the TeamCity nuget server? For example, if we want to add a log4net package dependency to one of our projects, it needs to be published to the TeamCity server, as nuget.org is unreachable. So far, I've tried publishing to variations on http://teamcity:port/guestauth/app/nuget/v1/FeedService.svc but no luck so far. Thanks, Andy 回答1: "The workaround is

TeamCity symbol server not serving symbols

你说的曾经没有我的故事 提交于 2019-12-08 13:59:28
I'm trying to implement the TeamCity Symbol Server for my internal NuGet packages, however the symbols are not loading. I'm following the instructions as per this blog which is standard advice for symbol server The TeamCity Symbol Server plugin page showed the url to use was http://ourserver/app/symbols/ The fix was to drop the trailing slash http://ourserver/app/symbols Hitting that URL gives a 404 but that is the format that works for Visual Studio 2012 and when trying to verify the symbols via symchk.exe eg: symchk /r mylibrary.dll /s SRV*http://outserver.acp.net/app/symbols Using that URL

Get TeamCity build status

喜欢而已 提交于 2019-12-08 13:28:53
问题 I've got Teamcity running build, which has artifact output of *.msi installer, I need to mark successfull and failed tests builds, something like <filename>_<build_status>.msi I've set TC to build installer even if some tests are failed, in order to send it our tester. So the thing is to recieve build status from TeamCity environment, without using REST. 回答1: I realise that you said you didn't want to use REST, but all you need to do is perform a GET request for this URL, substituting your

How to build a Delphi project in TeamCity

余生颓废 提交于 2019-12-08 12:17:55
问题 I am trying to build a delphi project in TeamCity, but I can't get it to work. I'm using MSBuild to build the project and also have added BDS parameter to the build but I keep getting the error: MSB4040 There is no target in the project. 回答1: There are several things you need to be aware of. Firstly, the various environment variables and paths that Delphi requires need to be setup. Much of this is accomplished by the rsvars.bat batch file, but you can set up your own. Secondly, your

Run Nunit tests using teamcity on deployed site

╄→尐↘猪︶ㄣ 提交于 2019-12-08 12:03:46
问题 I have configured TeamCity with Git to get my ASP.NET MVC project. I added tests with NUnit as the last step. But one test checks method which works only on the machine where my project is deployed (access restriction peculiarity). So test fails because it tests code that is being deployed on TeamCity deploying agent machine. I have to run tests against deployed environment somehow. Can I somehow make my tests check functionality of projects on the deployed to machine site or run dll with

How to publish custom artifacts to Artifactory from TeamCity?

て烟熏妆下的殇ゞ 提交于 2019-12-08 10:08:10
问题 I am using Artifactory and TeamCity and have a C++ project that generates binary packages (zip). Using Artifactory TeamCity plugin I am able to publish this artifact but the problem is that it does not end up in the correct tree (organization.module.version.artifact). Next to the zip file I have also an ivy.xml file that contains information about the artifact. <ivy-module version="2.0"> <info organisation="com.myorg" module="MyModule"/> <publications> <artifact name="MyModule" type="zip" ext

Teamcity VCS Triggers On Every Commit When Branches Are Merged

时光毁灭记忆、已成空白 提交于 2019-12-08 07:17:28
问题 I have a Teamcity build configuration which needs to run per every commit or merge (and per committer) on my develop branch. Whenever a branch is merged into develop a build build is triggered per every past commit to the merged branch. This behavior is causing Trouble and i need a way to tell TC to trigger only one build per commit. Any ideas? Thank you!! 回答1: Unfortunately, it is not possible to do exactly what you want. Squashing commits into single one before merging might be used as a

How do I connect Teamcity to an existing SQLServer 2005 database

狂风中的少年 提交于 2019-12-08 06:56:38
问题 We had a machine that run teamcity 4.0.2 and that used SqlServer 2005 as datastore. The machine crashed, but we still have the database. How can I get a newly created instance of teamcity connected to the database? I found infos about migrating an existing teamcity installation over to a new database. But thats not what I want. EDIT: I thought that the database contains the configuration for the projects. Thats not the case: Its in the folder Configuration of the Teamcity data directory (