teamcity

How to install nUnit 3 nunit3-console.exe in TeamCity 9.x

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: NUnit 3.0 is supported by TeamCity 9.1.x now however you have to install the runner and specify the path to the nunit3.console.exe in the step. My question is where do I copy the nunit3-console.exe? Do I have to put this on all the agents? Do I put it in a directory on my main TeamCity server and it will get shared or pulled by the agents? There doesn't seem to be good documentation on where to copy these files so that all the agents can use them. 回答1: You should have the NUnit console on the each agent where you would like to run NUnit

Anyone know of a hosted TeamCity build provider? [closed]

流过昼夜 提交于 2019-12-03 02:55:11
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I'm looking to set up a TeamCity server for continuously building a .NET web application. I already have hosting, so I don't want to get a whole new hosting account such as AppHarbor. I don't maintain my own physical server, nor do I want to. I also don't want to have to pay $50 or more per month for an entire

ASPNETCOMPILER error ASPCONFIG: Could not load file or assembly 'Microsoft.VisualBasic.Activities.Compiler' or one of its dependencies

匿名 (未验证) 提交于 2019-12-03 02:49:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I just upgraded my project to Asp.Net 4, from 3.5. When the build kicks off from TeamCity, I get the following error: [Project "Website.metaproj" (Rebuild target(s)):] C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v /Website -p Website\ -u -f PrecompiledWeb\Website\ [12:11:50]: [Project "Website.metaproj" (Rebuild target(s)):] ASPNETCOMPILER error ASPCONFIG: Could not load file or assembly 'Microsoft.VisualBasic.Activities.Compiler' or one of its dependencies. An attempt was made to load a program with an incorrect

MSBUILD Error MSB4025 in TeamCity build step for Visual Studio

匿名 (未验证) 提交于 2019-12-03 02:49:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: When I run my TeamCity build with the only build step being of runner type Visual Studio (sln), I get the following error: C:\TeamCity\buildAgent\work\4978ec6ee0ade5b4\Test\Code\Test.sln(2, 1): error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 2, position 1. This is on a dedicated CI server running TeamCity Professional 8.1.1 (build 29939). There are several other successfully-running builds on this server. The odd bit is that the same build runs successfully on TeamCity on my dev machine. I

TeamCity: How to setup a build with two VCS roots

不羁岁月 提交于 2019-12-03 02:27:34
I have two separate projects from two separate TFS VCS roots that I want to be part of the same build and was wondering if this is possible. Project 1 VCS Root: $/ProductName/Development/Project1 Build file path: API/API.sln Project 2: VCS Root: $/QA/Test/Tools/Project2 Build file path: Test/Test.sln I want step #1 of the build to compile Project 1, and step #2 to compile Project 2. How can I do this if the build file path is relative to the VCS root/checkout directory and the solutions are from two different VCS roots? Thanks in advance! it is possible to have two VCS Roots and change the

How to get git like statistics from TFS

喜你入骨 提交于 2019-12-03 02:04:51
I've been working with TFS for a few months now and would like to get some basic statistics and make them available to our team. In git, i could retrieve statistics on "commit by author" and "commit by date" etc. I'd like to show similar statistics from TFS (or from TeamCity). Is this possible? You can use the TFS API to create any queries you like. You can quite easily iterate through the changesets looking for all commits by a certain author, or commits in a certain date: TfsTeamProjectCollection tpc = new TfsTeamProjectCollection(new Uri("http://tfsserver:8080/")); tpc.EnsureAuthenticated()

Teamcity running build steps even when tests fail

匿名 (未验证) 提交于 2019-12-03 02:00:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am having problems with Teamcity , where it is proceeding to run build steps even if the previous ones were unsuccessful. The final step of my Build configuration deploys my site, which I do not want it to do if any of my tests fail. Each build step is set to only execute if all previous steps were successful. In the Build Failure Conditions tab, I have checked the following options under Fail build if: -build process exit code is not zero -at least one test failed -an out-of-memory or crash is detected (Java only) This doesn't work - even

How can I define the teamcity['build.number'] property in gradle from command line

匿名 (未验证) 提交于 2019-12-03 01:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Is there a way to define teamcity['build.number'] property from command line? I tried -Pteamcity.build.number=1 but it didn't work. I have a build.gradle file with this task in it: distTar { baseName = project . name + '.' + project . version + '.' + System . getProperty ( "system.rnf.brach_name" )+ '.' + teamcity [ 'build.number' ]+ '.' + teamcity [ 'build.vcs.number.1' ] archiveName = baseName + '.tar' into ( baseName ) { from '.' include 'config/*' include 'run-script/*.sh' } } It works on the build server, but it drives all the

src/teamcity/teamcity_boost.cpp:22:47: fatal error: boost/test/unit_test_suite_impl.hpp: No such file or directory

匿名 (未验证) 提交于 2019-12-03 01:46:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to install ignite odbc driver, I have installed ignite following these steps https://apacheignite.readme.io/docs/getting-started#installation # Unpack the source package $ unzip -q apache-ignite-{version}-src.zip $ cd apache-ignite-{version}-src # Build In-Memory Data Fabric release (without LGPL dependencies) $ mvn clean package -DskipTests # Build In-Memory Data Fabric release (with LGPL dependencies) $ mvn clean package -DskipTests -Prelease,lgpl # Build In-Memory Hadoop Accelerator release # (optionally specify version of

How can I label my build with revision number and not the GUID (in TeamCity)?

[亡魂溺海] 提交于 2019-12-03 01:41:20
问题 I am trying to do "continuous integration" with TeamCity. I would like to label my builds in a incremental way and the GUID provided by the VCS is not as usefull as a simple increasing number. I would like the number to actually match the revision in number in Mercurial. My state of affairs: Mercurial info: I would like the build to be labeled 0.0.12 rather than the GUID. Would someone be so kind and save me hours of trying to figure this out ? 回答1: As Lasse V. Karlsen mentioned those