teamcity

Can i suppress error message from fetch.pm in Perl

最后都变了- 提交于 2019-12-04 05:07:08
问题 When using Fetch to download a url from Teamcity I get a Fetch failed! error. But the download of the file actually works. They have recently changed permissions of our Teamcity server so i've to use a username and password when obtaining the URL of the file to download. I'm just wondering if this is causing an issue with fetch's validation of the Gateway, but as I can download the file. Is there a way to suppress this error or just downgrade it to a warning? Perl Code: my $ff = File::Fetch-

Web Deployment Project & TeamCity

走远了吗. 提交于 2019-12-04 04:56:56
I am trying to build a web deployment project 2010 project for a solution. I have installed the Windows SDK and Web Deployment Project 2010 RTW on the build server, as well as copied over the missing .target files for MSBuild. When attempting to build the project it spits out the following error C:\Program Files\MSBuild\Microsoft\WebDeployment\v10.0\Microsoft.WebDeployment.targets(1589, 9): error MSB6004: The specified task executable location "C:\Program Files\MSBuild\Microsoft\WebDeployment\v10.0\aspnet_merge.exe" is invalid. Unfortunately, searching around Google for results about this

setting up TeamCity to pull multiple git repos with named locations

霸气de小男生 提交于 2019-12-04 04:50:26
I am having a problem creating a TeamCity project build that relies on two git repos. In particular, there is content in a primary that relies on a shared repo. This isn't ideal and needs to change (aka pushing all shared components into nuget), but first things first. The build machine needs two sibling checkout folders: 'Project' and 'Shared'. Then, from the 'Project' folder, I want to kick off a rake task. Teamcity seems to pull the first 'Project' repo, checksout to the /work folder then deletes it and replaces it with a checkout from the 'Shared' repo. Any ideas on how to get this pulling

How do I run a TeamCity build as a specific user

本秂侑毒 提交于 2019-12-04 02:22:14
I have a build configuration which deploys my code to a machine. Depending on which machine I am deploying to (e.g. dev/uat/prod), I need to run as a different user. Rather than hardcoding the username and password in the build files (not really possible as they change regularly for security reasons) I would like to be able to type them in at the point I run the build. I would envisage the "Run Custom Build" in TeamCity would have this option but I can't see anywhere to input that information. Is there any way to do this (short of remoting into the build agent and changing the user which the

String Interpolation will not build on TeamCity

痴心易碎 提交于 2019-12-04 02:16:46
For an old project I support, I've been performing some modernization. That has included various things: bumping the .NET Framework up to 4.6, and other upgrades. One of the things we have some leeway to do is make syntactic upgrades, provided we don't change business logic. We've also recently installed Visual Studio 2015, and the latest and greatest ReSharper, which revealed that "String Interpolation" is now something we can do in our code. For those who don't know, string interpolation is syntactic sugar over string.Format calls as below: // Normal, pre-C#6 formatting: var foo = string

failed due to the following error: 800704a6 while trying to read data from a text file in teamcity

坚强是说给别人听的谎言 提交于 2019-12-04 02:15:31
问题 I am running some test cases using teamcity. It is saving the data on a textfile successfully but when I try to read that data from same location it is giving the following error SetUp method failed. System.Runtime.InteropServices.COMException : Creating an instance of the COM component with CLSID {0002DF01-0000-0000-C000-000000000046} from the IClassFactory failed due to the following error: 800704a6. at WatiN.Core.IE.CreateNewIEAndGoToUri(Uri uri, LogonDialogHandler logonDialogHandler,

TeamCity Build using C#6

ぃ、小莉子 提交于 2019-12-04 01:18:57
问题 We use TeamCity (9.0.1) as our build server, but having recently upgraded our ASP.NET MVC solution to use VS2015 and C#6 syntax, I now get the following error message on our build server: Can not start build runner and more specifically: C:\TeamCity\buildAgent\work\86ee61c6c333dc3d\MyApplication\MyApplication.csproj.metaproj : error MSB4025: The project file could not be loaded. Could not find file 'C:\TeamCity\buildAgent\work\86ee61c6c333dc3d\MyApplication\MyApplication.csproj.metaproj'. I

teamcity aes256-cbc error when retrieving git repository

旧城冷巷雨未停 提交于 2019-12-04 00:39:14
I've just installed Teamcity 8.0.3 on a fresh Windows Server 2012 machine. Installation was successful, and I'm trying to configure an agent in order to fetch a project stored in a git server. This server uses a ssh key. I've added it to my agent, but when it tries to retrieve the project this error appears. Failed for the root 'rtogit' #1: List remote refs failed: com.jcraft.jsch.JSchException: The cipher 'aes256-cbc' is required, but it is not available. I've seen, for example here that I must change my policy, but I'm not a java expert and I don't know what I must do. Can someone help me

“System.MissingMemberException: The server factory could not be located” starting Microsoft.Owin self-hosted in TeamCity

怎甘沉沦 提交于 2019-12-04 00:10:37
When Teamcity runs an integration test that starts a self-hosted webapplication, the test fails with the error: System.MissingMemberException: The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener The code throwing this error is: var webApp = WebApp.Start<Startup>("http://*:52203/") The test runs fine when executed withing Visual Studio (using the Resharper test runner). Teamcity is configured to use the JetBrains.BuildServer.NUnitLauncher.exe executable to run the test. I see a lot of posts regarding this error are to do with the because the Microsoft

How can I copy the artifacts from Teamcity to another server?

主宰稳场 提交于 2019-12-04 00:04:47
how can I copy the artifacts from Teamcity to another server? Thanks You can do it from your build script or externally . user304133 The way I have done this, make things a lot easier.. Setup another configuration that pulls in, via artifact dependencies, all the files you need then run a cmd script to xcopy/copy the files to another drive on the network. You can do this using cmd script, vbs, python, shell etc.. Remember, you only need to refer to directories as if they were local as you would have your script in the same working directory i.e cmd script :: xcopy .\"my build artifact(s)"