Questions tagged [teamcity-10]

23 questions
6
votes
1 answer

TeamCity: Adding additional logs to artifacts zip file

In TeamCity, it is possible to specify the 'Artifact Paths' so that all files and folders from a directory can be added to a Zip file: E:\Logs\**\* => Logs.zip However, I would like to add additional log files to a sub folder within the zip file.…
Dech
  • 1,582
  • 4
  • 17
  • 32
4
votes
1 answer

TeamCity - Create new text file only gets content of parameter name

Using TeamCity Enterprise 10.0.2 (build 42234) I create a build step that looks like this: Runner type: Create Text File Step name: Adding password configuration Execute step: If all previous steps finished successfully File content:…
Ogglas
  • 62,132
  • 37
  • 328
  • 418
2
votes
1 answer

Trigger using Teamcity Kotlin DSL

I have Teamcity job defined in Kotlin and I want to add a trigger. I used: buildType { triggers { trigger { type = "VCS Trigger" enabled = true } } } But this results to What definition should I use…
Patrik Mihalčin
  • 3,341
  • 7
  • 33
  • 68
2
votes
1 answer

Updating project-level parameter in build step in TeamCity 10

I am currently implementing (I do not know if implementing is the appropriate word, but anyway) a semantic versioning in TeamCity. I have project level system parameters in which I store version number parts: system.major, system.minor, and…
sercancici
  • 77
  • 1
  • 12
1
vote
1 answer

What version of .NET Core can I develop in using MSBuild tools ver. 15.6?

I am limited in terms of the version of build tools available to Teamcity (MSBuild 15.6.82.30579) though local development in VS 2017 is at to 15.9. What version of .NET Core can we safely develop in given MSBuild 15.6 on our deployment agent? I've…
1
vote
1 answer

TeamCity - Set VCS Branch Name Before Download

I have multiple VCS roots set up (Core, AuthN, Other). Due to out of control cross-cutting code, when we build Other, we need to download Core and AuthN in order to build a testing database for integration tests. Where I'm having issues is that…
Wes P
  • 9,622
  • 14
  • 41
  • 48
1
vote
1 answer

TeamCity treats cmdline python script parameters as python list objects

I am running a python (2) script using the TeamCity (10.x) command line runner.. The command executable is set as: /usr/bin/python And the script parameters are set as: ./some-python-script.py --mvn_version %maven.project.version% --artifact_id…
OneMoreNerd
  • 463
  • 1
  • 6
  • 19
1
vote
1 answer

how to run a python script on teamcity 10

I have teamcity 10. can you please tell me how to run a python script (.py) in teamcity . is it necessary to have a plugin ? or is there any other way via command line etc?
sayali
  • 37
  • 3
  • 13
1
vote
1 answer

Attaching build configuration to template via API [TeamCity]

I'm trying to attach a build configuration to a template. We're running TeamCity 10.0.2, using PowerShell 4.0 to interact with it. According to the TeamCity 10 API documentation, the attachment of builds to templates operation is possible: Read,…
ShaneC
  • 2,237
  • 2
  • 32
  • 53
1
vote
0 answers

Replacing old Windows agents for TeamCity

We have a TeamCity installation which we have just upgraded from 8.0.1 to 2017.1.1. Everything when very smooth and plainless. However, we seem to have a problem with our agents, which SEEM to be slower now than before. The current agents (all…
Thomas Due
  • 55
  • 6
1
vote
1 answer

Teamcity - Transform web.config and password.config upon build using MSBuild SlowCheetah 2.5.48

I'm using TeamCity (TeamCity Enterprise 10.0.4 (build 42538)) as a build server and SlowCheetah for config transformations. My solution consist of one ASP.NET Web API 2 project and one Console application. For my console application the…
Ogglas
  • 62,132
  • 37
  • 328
  • 418
1
vote
1 answer

TeamCity snapshot build configuration

I have big problem with configuring TC. It's 10.0.2 version. I want build chain like this: Main - Restore nuget and rebuild solution. Code analysis - Analyse code result(do not checkout) use Main as dependency. Publish - Publish to Azure - Use…
Nerf
  • 938
  • 1
  • 13
  • 30
1
vote
1 answer

Project unique build number in teamcity

Does anyone know if it is possible to have a build number which is unique to projects in TeamCity. I know there is build.number which is sequential and unique per build configuration. There is also teamcity.build.id which seems to be sequential and…
chestercodes
  • 169
  • 1
  • 2
  • 14
1
vote
1 answer

Teamcity 10 where to store versioned settings

Teamcity 10 offers new feature storing project settings in version control What is the best practice to follow in terms of storing these settings? Keep it in the same repo where code resides? Put it into separate repo?
Patrik Mihalčin
  • 3,341
  • 7
  • 33
  • 68
1
vote
1 answer

No packages found for TeamCity NuGet feed

I'm using TeamCity 10 and have the NuGet server enabled through the TeamCity Adminstration screens. I have the public feed turned off. My build artifacts (NuGet packages) are being published to the feed and I can see them in XML form by navigating…
benjrb
  • 766
  • 1
  • 5
  • 13
1
2