teamcity-8.0

Conditionally execute a TeamCity build step

旧巷老猫 提交于 2019-11-29 02:47:58
I am working on defining a general-purpose build template for all our projects -- which I have placed at the "root project" level (thanks to this new feature of TeamCity 8). Some of our projects create an installer, which needs to be generated by a separate "build step" that runs a powershell script. However, some of our projects do not create this installer, and hence do not need this additional build step. Is there a way to conditionally execute a build step, based on a build parameter? I thought that perhaps the "disable build step" feature could be leveraged here, but I don't see a way to

Select Git branch for TeamCity Build

一曲冷凌霜 提交于 2019-11-28 03:08:30
I'm wondering how to select the branch to build against using Team City 8.1. My VCS root (Git) is set to Default: "master" and Branch specifications are +:refs/heads/develop +:refs/heads/feature/* +:refs/heads/hotfix/* +:refs/heads/master +:refs/heads/release/* I have a CI build set up that automatically builds anything that is checked in, which is working exactly how I want. What I'd like to do is create a scheduled QA build/deployment against the "develop" branch. I see that if I click the ellipsis next to the run button, I can choose the branch on the "Changes" tab, but I'm unable to

MSBuild 12 in TeamCity not finding reference assemblies for .NET 4.5.1

雨燕双飞 提交于 2019-11-27 17:35:39
问题 I'm getting the following warning messages in my TeamCity build log: [GetReferenceAssemblyPaths] C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(989, 5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.5.1" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that

Conditionally execute a TeamCity build step

ⅰ亾dé卋堺 提交于 2019-11-27 17:04:48
问题 I am working on defining a general-purpose build template for all our projects -- which I have placed at the "root project" level (thanks to this new feature of TeamCity 8). Some of our projects create an installer, which needs to be generated by a separate "build step" that runs a powershell script. However, some of our projects do not create this installer, and hence do not need this additional build step. Is there a way to conditionally execute a build step, based on a build parameter? I

Connect TeamCity to Visual Studio Online

妖精的绣舞 提交于 2019-11-27 07:00:15
问题 I'm trying to migrate from on-premises TFS to Visual Studio Online. We have quite elaborate TeamCity build process that we don't want to migrate away from, so having TeamCity working with VSO would be ideal. I've created alternative user credentials (as per this article) and using these credentials in TeamCity. But when I create new VCS in TeamCity, I get connection error: TF30063: You are not authorized to access https://myproject.visualstudio.com/DefaultCollection/MyProject I've tried my