teamcity

TeamCity for Python/Django continuous integration

老子叫甜甜 提交于 2019-11-27 09:42:09
问题 I've set up TeamCity on a Linux (Ubuntu) box and would like to use it for some of Python/Django projects. The problem is that I don't really see what to do next - I tried searching for a Python specific build agent for TeamCity but without much of the success. How can I manage that? 回答1: Ok, so there's how to get it working with proper TeamCity integration: Presuming you have TeamCity installed with at least 1 build agent available 1) Configure your build agent to execute manage.py test 2)

MSbuild command line parameter for skipping the directory

与世无争的帅哥 提交于 2019-11-27 07:17:48
问题 I have following command line parameters in team city for deployment. everything works fine but i want to skip some directory while deployment. how can i add that logic in following msbuild script in team city /P:Configuration=%env.Configuration% /P:DeployOnBuild=True /P:DeployTarget=MSDeployPublish /P:MsDeployServiceUrl=https://%env.TargetServer%/MsDeploy.axd /P:AllowUntrustedCertificate=True /P:MSDeployPublishMethod=WMSvc /P:CreatePackageOnPublish=True /P:SkipExtraFilesOnServer=True /P

Convert From Bigint to datetime value

夙愿已清 提交于 2019-11-27 06:39:56
问题 please help me with this one, i want to convert a value from Bigint to datetime. For example im reading HISTORY table of teamcity server , on the field build_start_time_server i have this value on one record 1283174502729. How can i convert to datetime value??? Thanks 回答1: Does this work for you? It returns 30-8-2010 13:21:42 at the moment on SQL Server 2005: select dateadd(s, convert(bigint, 1283174502729) / 1000, convert(datetime, '1-1-1970 00:00:00')) I've divided by 1000 because the

Angular 2 and Team City Production/Environment Variables

半腔热情 提交于 2019-11-27 06:27:36
问题 We have a new Angular app that is building AOT to a folder. Everything is working fine, but we are trying to configure it to a five-step build process using TeamCity/Octopus Deploy, where each step will use some different variables for endpoints (API calls, etc.) I'm trying to figure out the best way to pass this to an AOT app that is not running off a backend. I know about the --environment flag that can be used to fire off different configs, but our goal is to have one single build go

Cannot automatically update a NuGet package to the latest version during build

血红的双手。 提交于 2019-11-27 03:52:29
问题 We have two separate .NET solutions: Running a build for the first solution produces our end product: a bunch of DLLs. These DLLs are delivered to our customers via a NuGet package. The second solution serves as a product-test solution: the NuGet package is installed to it, and it is built and executed - thus it makes use of our product exactly the same way as our customers would do. The challenge here is that there should be a way our latest NuGet package gets installed automatically to the

NuGet Package Restore cannot find package, has no Source

↘锁芯ラ 提交于 2019-11-27 02:10:00
问题 I have a package on my TeamCity NuGet feed, built by TeamCity, but a dependent TC project cannot see it during package restore. [14:05:02][Exec] E:\TeamCity-BuildAgent\work\62023563850993a7\Web.nuget\nuget.targets(88, 9): Unable to find version '1.0.17.0' of package 'MarkLogicManager40'. [14:05:02][Exec] E:\TeamCity-BuildAgent\work\62023563850993a7\Web.nuget\nuget.targets(88, 9): error MSB3073: The command ""E:\TeamCity-BuildAgent\work\62023563850993a7\Web.nuget\nuget.exe" install "E:

Why does the deployment package from my buildserver have additional assemblies?

不想你离开。 提交于 2019-11-27 00:33:07
问题 I've got an asp.net mvc deployment package that I'm trying to build with team city. The package builds without any problems, but the bin folder contains file that are not needed (and cause the site to fail when present). If I build the same package from visual studio the additional files are not present. The additional files are: Microsoft.VisualBasic.Activities.Compiler.dll mscorlib.dll normidna.nlp normnfc.nlp normnfd.nlp normnfkc.nlp normnfkd.nlp System.Data.dll System.Data.OracleClient

Publish one web project from solution with msbuild

99封情书 提交于 2019-11-27 00:22:26
问题 I'm trying to deploy one of the web projects in my solution to a server. I am using msbuild on TeamCity like so: msbuild MySolution.sln /t:WebSite:Rebuild /p:DeployOnBuild=True /p:PublishProfile=Prod ... However, when I run it, msbuild still tries to build my WebService project, even though my WebSite project does not depend on it (but it does depend on a Services project also in the solution). How do only publish one project, aka just WebSite ? I have also tried building the project file

MSBuild on CI Server can't find AL.exe

寵の児 提交于 2019-11-27 00:07:03
问题 I'm having a problem on my TeamCity CI build server where during compilation I get the following error: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2342, 9): error MSB3086: Task could not find "AL.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows

TeamCity says to use “Build Parameters” instead of “/property:” in an MSBuild step. What does that mean?

六月ゝ 毕业季﹏ 提交于 2019-11-27 00:01:47
问题 I have a TeamCity server setup to do my CI builds. I'm building and testing a C# solution and running some custom MSBuild tasks. One of these tasks is printing a warning in my build output... MSBuild command line parameters contains "/property:" or "/p:" parameters. Please use Build Parameteres instead. I don't understand what this means or how to remove it. It doesn't Google well (with or without the typo). I ran the task from the command line (with /verbosity:diagnostic ) and it doesn't