teamcity

Is it possible to add a free text note to a team city build?

元气小坏坏 提交于 2019-12-10 18:29:30
问题 I'd like to be able to add free text notes to a given build, I know I can tag builds, but I'd like to be able to add notes like: Deployed to client staging server 24/01/2011 If I try and do this as a series of tags teams city shows them back to me in alphabetical order, which isn't very helpful. 回答1: See "Comment" in "Build Actions" in toolbar on build results page. I think this is what you need. 来源: https://stackoverflow.com/questions/4780955/is-it-possible-to-add-a-free-text-note-to-a-team

How to export TestExecute/TestComplete results to teamcity?

旧城冷巷雨未停 提交于 2019-12-10 18:26:08
问题 I am using commandline build step in teamcity to run the testcomplete tests via a batch file.The tests are running fine,but I do not see any information regarding the passed/failed tests in teamcity. Basically TestComplete generates some log files after running the tests.But I am not sure how to get these files to teamcity and display it as test results. I tried to follow this http://community.smartbear.com/forum/post/?mode=singleThread&thread=ca03299b-97e2-47a7-b634-e0102c6f5761 , but it

teamcity says Test xxx cannot be found for MSTests

你离开我真会死。 提交于 2019-12-10 18:12:16
问题 For the life of my I'm trying for weeks for Teamcity to run the MSTests I have in my a unit test project which is part of the solution I'm building but I've failed. Below I list the various combinations of settings I've tried and their outcomes. The best I've got is I can go as far as getting Teamcity to know something about my tests but it can't find them. I have tried several solutions but all of which have two outcomes. Here is the MSTests settings screen for reference: If I specify a

Team City and Power Shell

拈花ヽ惹草 提交于 2019-12-10 16:13:04
问题 I'm new to team city and trying to invoke deployment tool using REST API. I'm trying to pass power shell script the build.number from team city. My question is how can I run PS script from TeamCity and pass it the $build parameter value This is PS my script: param ( [string]$build = "#build#" ) $cred = New-Object System.Net.NetworkCredential("user", "password") $url = 'http://server-ip:8080/datamanagement/a/api/create-release' $request = [Net.WebRequest]::Create($url) $request.ServicePoint

Cannot get TeamCity Build Step to execute grunt-cli

泄露秘密 提交于 2019-12-10 16:00:06
问题 I'm trying to automate building of my project on a TeamCity server. I'm using grunt to define and configure my tasks. This works fine locally. Yet, I am having problems getting TeamCity (running on Windows Server 2008) to recognize grunt as a executable, the build will fail when grunt is called as it is not available. I do have grunt-cli installed on the server and can execute it when I login via ssh (The build script also succeeds when I trigger it that way). I'm running npm install before I

Team City Git “Host key verification failed”

限于喜欢 提交于 2019-12-10 15:54:21
问题 I want to use TeamCity to pull code from a remote Git repo, update a file (and stage and commit to the local repo) and then push the committed file back to the remote repo. The pull & update is fine. If I open git-bash and git push origin master then the commit (arising from the updated file being committed to the local repo) is pushed to the remote repo. Fine. If I try to do this (to the same remote target repo) using a Team City's Command Line runner it fails with [14:49:18][Step 3/7] Host

TeamCity's git checkout different from local git checkout

给你一囗甜甜゛ 提交于 2019-12-10 15:51:18
问题 I'm having a problem with TeamCity (8.1) running on a Windows box and one of our git repositories. Few files (2 out of 1000s - *.bytes extension, binary) have larger sizes on TeamCity checkout then on developer machines. If I turn off "Convert line-endings to CRLF" sizes for those files are the same, but then rest of the project does not build properly + developer machines do have core.autocrlf=true. I have also tried setting *.bytes as binary in .gitattributes but this looks like it is being

TeamCity SVN agent-side checkout fails with error svn: E200030: There are unfinished transactions detected in folder

笑着哭i 提交于 2019-12-10 15:13:12
问题 After upgrading to TeamCity 2017.2 my SVN checkout began failing on my build agent with this error: svn: E200030: There are unfinished transactions detected in '[... folder ...]' The agent is running on Windows Server 2012 R2 and TeamCity Professional 2017.2 (build 50574) Initial Googling and browsing on Stack Overflow didn't find an answer yet. 回答1: After further Googling I found this bug on the TeamCity YouTrack: https://youtrack.jetbrains.com/issue/TW-49325 specifically this comment https:

D3DERR_INVALIDCALL error, TeamCity builder

泄露秘密 提交于 2019-12-10 15:08:14
问题 I've been trying to use TeamCity 4.5 in order to automate builds of an XNA project but I have a small problem. My projects compile correctly under Visual Studio 2008, but not when compiled with TeamCity as the builder. The configuration file uses the sln2008 setting, and compiling goes well for a while, but as soon as it goes compiling .png textures to .xnb, I get the following error: [11:28:41]: [Project "Content.contentproj" (default targets):] Content\head.png Building content threw

Version control (e.g. in TFS) build configuration for TeamCity - is it possible?

穿精又带淫゛_ 提交于 2019-12-10 14:39:54
问题 I'm looking to migrate our build infrastructure from CC.NET to TeamCity. Admittedly pretty green with TeamCity at this point. One potential show-stopper is that we need our build configuration to be version-controlled alongside the source code it builds. CC.NET makes this pretty easy and is a very useful/powerful feature. From my investigation you can change where TeamCity stores its config/data, but none of the official documentation (nor other topics here on SO) seem to reference placing it