teamcity

Compiling SSIS Projects with Team City

隐身守侯 提交于 2019-12-11 08:38:49
问题 Has anyone done this? If so, what tools/techniques/approaches did you use? Is it possible to do with installing the SQL Business Studio Version of Visual Studio? Thanks in advance! 回答1: Got it folks... 1) Install MSBuild Extensions 2) Created a Build.Xml file as so... <Project ToolsVersion="3.5" DefaultTargets="Default" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\ExtensionPack\MSBuild.ExtensionPack.tasks"/> <Target Name="Default">

TeamCity error 'tscon.exe' is not recognized as an internal or external command

笑着哭i 提交于 2019-12-11 08:08:50
问题 I'm using tscon.exe to unlock a remote machine locally before I can run automation tests. When I run my command via RDC it works as expected and unlocks the remote machine locally: C:>tscon.exe %sessionname% /dest:console But I need this to run as my first TeamCity build step. Doing so either as a direct TeamCity Custom Script or starting a .bat file, both return the error: [16:50:22][Step 1/11] in directory: C:\BuildAgent\work\e4249c2d6a4e9e8d [16:50:22][Step 1/11] 'tscon.exe' is not

ng e2e on TeamCity only @angular/cli script that doesn't work

痴心易碎 提交于 2019-12-11 08:03:35
问题 I'm using TeamCity 10 and trying to get an @angular/cli project to do the following in a build step: Everything runs fine until the e2e script. It halts the build and I have to force shut it down. So I logged onto my build agent remotely and tried running the command ng e2e myself in the location of the code it just pulled, and I get a chrome browser window to come up, but within 10 seconds it crashes with the following errors: PS C:\TeamCity\BuildAgent\work\4038db2ebec7f79b> npm run e2e >

Python requests max retries exceeded with url

我怕爱的太早我们不能终老 提交于 2019-12-11 07:57:19
问题 I have a build step on TeamCity that uses a custom python script. When I try to run the build I get the following error: [20:57:12][Step 1/3] Traceback (most recent call last): [20:57:12][Step 1/3] File "/amirsys/teamcity-agent/lastBuildStatus.py", line 24, in <module> [20:57:12][Step 1/3] main() [20:57:12][Step 1/3] File "/amirsys/teamcity-agent/lastBuildStatus.py", line 13, in main [20:57:12][Step 1/3] build = getLastBuild(buildId) [20:57:12][Step 1/3] File "/amirsys/teamcity-agent/teamcity

Team city build with NuGet packages

时光怂恿深爱的人放手 提交于 2019-12-11 06:18:49
问题 I have set up a build in team city, with a NuGet package reference in the test project. The folder structre I have used is \ |- Project1 \- Project1.csproj |- Project1.Test \- Project1.Test.csproj |- packages \- lib \- RhinoMocks The Project1 project builds sucessfully, but the Test project fails on the ResolveAssemblyReferences step. The relative path seems to be incorrect. [13:16:55]: [ResolveAssemblyReference] C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360, 9):

Git init: fatal: could not set 'core.filemode' to 'false'

会有一股神秘感。 提交于 2019-12-11 06:05:22
问题 Using Team City to check out from a Git Repo. (Gitlabs if it matters) Start with Empty build directory. Get this error: fatal: could not set 'core.filemode' to 'false' (Running on a Windows machine, if that matters) The user that Team City is running on was changed to an Admin just in case. The .Git directory is not a valid Repo when this command exits. Wiping the entire 'work' directory doesn't help. It randomly comes and goes... AND this: git config --global --replace-all core.fileMode

Accessing TeamCity Agent system properties in a shell script

筅森魡賤 提交于 2019-12-11 05:37:33
问题 I have a requirement where I need to write a shell script to stop teamcity agents on a server(3 agents per linux server). I need to get the system property; agent.name OR configuration parameter teamcity.agent.name in a shell script OR All the agents running on a linux agent, via script or API 回答1: Build parameters can be accessed from any build script. This is from TeamCity documentation: Any user-defined build parameter (system property or environment variable) can reference other

Deploying a Website project with TeamCity

北城以北 提交于 2019-12-11 05:22:05
问题 I have a solution that contains a bunch of class library projects and an IIS website. I am trying to configure teamcity to compile and deploy the website project via MSBuild/web deploy. The projects all build fine but it seems that it is ignoring the command line parameters to push the site to the specified server my question is, is it possible to achieve what I am looking to do? or can this only be done with a web application project? /P:Configuration=Release /P:DeployOnBuild=True /P

How to fetch the Value of Teamcity Configuration in java?

你。 提交于 2019-12-11 03:54:51
问题 I have a piece of java code where I have to display the Teamcity build configuration name. This piece of code will be executed in one of the steps configured for the configuration. can we read value of the env variable %env.TEAMCITY_BUILDCONF_NAME% set in Teamcity configuration settings and use or is there anyother way of o fetching the Value of Teamcity Configuration Name? 回答1: yes, you just need to read the environment variable value in the code. This should get what you need: final String

TeamCity Support For GlobalAssemblyInfo.cs

我与影子孤独终老i 提交于 2019-12-11 03:13:35
问题 According to the documents TeamCity v8.1.x supports a GlobalAssemblyInfo.cs file now with the Assembly version patching feature however even though I have such a file in my solution and each of my projects have a link to this file the version information is not being replaced. Is there are certain location where TeamCity is looking for this file or does it just scan the entire solution tree? 回答1: This feature only got added in TeamCity 8.1.3. In the AssemblyInfo Patcher settings there will be