teamcity-7.0

TeamCity agent error “failed to perform checkout on agent”

纵然是瞬间 提交于 2020-01-22 11:19:06
问题 I am running my TeamCity 7 server and agent on MacOS. My repo is on github. I use ssh and I know that the authentication is correctly configured, because the test is successful. The build works fine when I use VCS Checkout Mode "Automatically on server", however when I use VCS Checkout mode "Automatically on agent" I get this error. [13:40:35][Updating sources] Failed to perform checkout on agent: '/usr/bin/git fetch --progress origin +refs/heads/master:refs/remotes/origin/master' command

How do I pass this common property to MSBuild using TeamCity?

ⅰ亾dé卋堺 提交于 2020-01-12 13:45:30
问题 I am using the TeamCity Visual Studio runner. I want to add a setting that is not accessible from Visual Studio. /Property:FileAlignment=4096 I typed that directly into the build step "Command line parameters." The build log shows the error: MSBuild command line parameters contains "/property:" or "/p:" parameters. Please use Build Parameters instead. I don't understand how to provide this to MSBuild from TeamCity and get rid of this warning! 1. Which kind of parameter should I use? There are

Cannot connect Teamcity to Team Foundation Service / TFSPreview.com - Error “You must update your client with the Forward Compatibility Update”

限于喜欢 提交于 2020-01-04 10:13:32
问题 Teamcity 7.1.3 on a Windows 7 64 bit build machine The box is currently happily building VS2008 projects stored in a TFS2005 server, but am trying out VS2012 projects stored in TFSPreview / TF Service, and I cannot get past setting up the VCS root. On clicking Test Connection, I get the following.. Test connection failed in VS2012 Test against TFSPreview :: VS2012 - Build Configuration for Hello World. TFS failed. ExitCode: 1 stdout: TFS Native Verifier v7.1 Copyright (C) 2006-2012 JetBrains

Cannot connect Teamcity to Team Foundation Service / TFSPreview.com - Error “You must update your client with the Forward Compatibility Update”

不问归期 提交于 2020-01-04 10:13:18
问题 Teamcity 7.1.3 on a Windows 7 64 bit build machine The box is currently happily building VS2008 projects stored in a TFS2005 server, but am trying out VS2012 projects stored in TFSPreview / TF Service, and I cannot get past setting up the VCS root. On clicking Test Connection, I get the following.. Test connection failed in VS2012 Test against TFSPreview :: VS2012 - Build Configuration for Hello World. TFS failed. ExitCode: 1 stdout: TFS Native Verifier v7.1 Copyright (C) 2006-2012 JetBrains

How do I download a protected file using PowerShell?

拥有回忆 提交于 2020-01-01 11:42:10
问题 I am trying to download a file using PowerShell 3.0 from my TeamCity build server. I have configured TeamCity to use NTLM authentication but I cannot download the file directly and get redirected to login. I am trying to use the following PowerShell code to download the file. $artifacts = "http://teamcity/repository/download/bt1/.lastSuccessful/%7Bbuild.number%7D.zip" Invoke-WebRequest -Uri $artifacts -UseDefaultCredentials My response from the request is a redirection to the login page. 回答1:

Publishing vs2012 solution from TeamCity

时间秒杀一切 提交于 2019-12-29 18:39:30
问题 I'm using Visual Studio 2012 and the publishing feature. I have created a publishing profile that deploys my application to a development server, and it works great when executed from vs2012 on my machine. Here is my problem; on the development server I also have TeamCity installed and I would like to trigger the publishing after a build have completed. So I created a simple build step that looks like this: Build file path: .\src\Solution.sln Targets: Rebuild Command line parameters: /p

Publishing vs2012 solution from TeamCity

可紊 提交于 2019-12-29 18:39:02
问题 I'm using Visual Studio 2012 and the publishing feature. I have created a publishing profile that deploys my application to a development server, and it works great when executed from vs2012 on my machine. Here is my problem; on the development server I also have TeamCity installed and I would like to trigger the publishing after a build have completed. So I created a simple build step that looks like this: Build file path: .\src\Solution.sln Targets: Rebuild Command line parameters: /p

gradle artifactory plugin

别等时光非礼了梦想. 提交于 2019-12-23 18:22:55
问题 I'm new to artifactory and teamcity. I tried using the gradle-artifactory plugin. but It is throwing me the following error.. can anybody pls tell what this error is about and help me with some solution. Error is Caused by: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention@9bb457' with class 'org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention' to class 'org.jfrog.gradle.plugin

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

“Algorithm negotiation fail” with SSH authentication on TeamCity

谁说胖子不能爱 提交于 2019-12-07 09:18:08
问题 We have a TeamCity 7.1.5 and our Git Repositories are hosted on a TFS 2017. We wanted to switch to SSH authentication with a Public/Private key. So I have created an openSSH keypair and added the public key on my TFS user. On my local machine this works as expected. But when I want to configure my TeamCity VCS Root to use SSH as well, I always get the following exception: Failed for the root 'VCS ROOT' #830: List remote refs failed: com.jcraft.jsch.JSchException: Algorithm negotiation fail