teamcity

TeamCity results don't match JMeter's

孤人 提交于 2019-12-20 03:44:07
问题 I'm currently using JMeter to load test some application, I used the duration assertion and I set it to, let's say 200, when the load time exceeds 200, the Request in the Result Tree becomes Red for it is an error. Problem is, when i run the same test with TeamCity, it is always marked as success, even if all the Requests have failed. 回答1: What you are looking at is the summary. You need to add a listener to your project, that saves results to a file. Then you need to have Teamcity read that

Is it possible to prevent a build chain from being interrupted in TeamCity?

≯℡__Kan透↙ 提交于 2019-12-20 03:40:12
问题 I have the following set-up in TeamCity 7.1.3: Project A Build & Deploy A Test A (Quick) Test A (Slow) Test A (Very Slow) Project B Build & Deploy B Test B (Quick) Test B (Slow) All of the tests for A depend on 'Build & Deploy A' and all of the tests for B depend on 'Build & Deploy B'. The dependencies are all snapshot dependencies with the following settings: Do not run new build if there is a suitable one Only use successful builds from suitable ones Run build on the same agent All of the

Failing Build because it can't find AL.exe

十年热恋 提交于 2019-12-20 02:34:17
问题 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 next to the default one. Here's the error message from the build log: C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2105, 9): error MSB3091: Task failed because "AL.exe" was not

TeamCity - Microsoft.Bcl.Build Dependency

拟墨画扇 提交于 2019-12-20 02:13:48
问题 I've just committed some code changes to my repository and all of a sudden (after weeks of being fine). The TC build starts failing as it fails to download the NuGet package for Microsoft.Bcl.Build.1.0.6. I ended up having to manually copy the contents of the packages directory to the TC build location which utterly defeats the point of NuGet. What can I check to get to the root cause of this? Everything about NuGet is enabled in the solution for getting packages. 回答1: I've blogged about this

Setup JetBrains YouTrack to connect to SVN

别来无恙 提交于 2019-12-20 01:59:15
问题 I realize that TeamCity must be a bridge between YouTrack and SVN, but I need none of the Teamcity functionality. I just want to issue Youtrack commands via commit comments like here: http://confluence.jetbrains.net/display/YTD3/Executing+Commands+from+Comment+to+VCS+Commit i.e. a commit message test #ld-1 fixed Would mark the issue ld-1 as fixed. I'm sure I set up youtrack, teamcity and svn correctly, however what I came to realize is that I need to make a build step in TeamCity that will be

Bin folder not being copied with MSBuild, Teamcity

筅森魡賤 提交于 2019-12-19 08:28:19
问题 I have a very odd issue, where I've created a custom MSBuild task that would move all files I need for my MVC project to a specific location so that we can publish it. This works fine when I trigger the script localy on my machine but as soon as I check this changes in and Teamcity runs the script, it copies everything except from the Bin folder. However, if run MSbuild directlly from the command line (same script), it does copy the bin folder. I don't understand why this isn't working when

Bin folder not being copied with MSBuild, Teamcity

爱⌒轻易说出口 提交于 2019-12-19 08:28:07
问题 I have a very odd issue, where I've created a custom MSBuild task that would move all files I need for my MVC project to a specific location so that we can publish it. This works fine when I trigger the script localy on my machine but as soon as I check this changes in and Teamcity runs the script, it copies everything except from the Bin folder. However, if run MSbuild directlly from the command line (same script), it does copy the bin folder. I don't understand why this isn't working when

TeamCity's AssemblyInfo patcher's number format

岁酱吖の 提交于 2019-12-19 02:42:15
问题 I once had TeamCity + WiX + MSBuild Community Tasks working. Now that I've upgraded to WiX 3.5, I can't remember how I had configured it. :) As I was poking through TeamCity, I came across the "AssemblyInfo Patcher". I thought, "Great! This will make my life much easier!". I used %build.vcs.number.1% for the format and built my installer. While the patcher did pull in the vcs number, it used it for the major number in the version. So instead of 1.0.0.xxxx , it made the version xxxx.0.0.0 . I

TeamCity - Unmet requirements (DotNetFramework4.0_x86)

被刻印的时光 ゝ 提交于 2019-12-18 18:59:07
问题 I recenlty updated my TeamCity to the newest Version. (10.0 build 42002) Since then the build agent can't build any of my projects. The agent tells me the following: Unmet requirements: DotNetFramework4.0_x86 exists To solve this problem I already did what was suggested in this stackoverflow question: TeamCity Agent Missing DotNetFramework4.0_x86, but not? Sadly it doesn't work. So I looked at the log files but didn't find anything weird. Then I looked at the agent configuration paramets. I

Is it possible to permanently update the value of a TeamCity build parameter as a result of a custom run?

给你一囗甜甜゛ 提交于 2019-12-18 13:35:26
问题 Is it possible to permanently update the value of a build parameter as a result of a custom run? For example, consider a build which is configured to have the build number format: %Major%.%Minor%.%Patch%.%build.counter% Major, Minor and Patch and defined in the build configuration to have certain values. For the sake of an example, lets say this gives a build number of 3.1.2.36. It is possible to change the build number by clicking '...' next to run and then changing the value of one of the