teamcity-8.0

teamcity says Test xxx cannot be found for MSTests

你离开我真会死。 提交于 2019-12-10 18:12:16
问题 For the life of my I'm trying for weeks for Teamcity to run the MSTests I have in my a unit test project which is part of the solution I'm building but I've failed. Below I list the various combinations of settings I've tried and their outcomes. The best I've got is I can go as far as getting Teamcity to know something about my tests but it can't find them. I have tried several solutions but all of which have two outcomes. Here is the MSTests settings screen for reference: If I specify a

TeamCity build status parameter

拜拜、爱过 提交于 2019-12-07 01:57:45
问题 I may be overlooking a built in parameter in TeamCity.. I'm trying to send the build status as a parameter to a console application. The console application is a build step that needs to run even if previous steps have failed. If previous steps failed it will do one thing, and if the previous steps are successful it will do another. I have the console app set up to take a build status parameter, but I'm not finding a built in build status parameter to use (Success/Failure). Am I missing

How Do I Properly Configure Feature Branch CI with TeamCity

独自空忆成欢 提交于 2019-12-06 00:00:23
问题 I am currently trying to set up TeamCity to build all the branches which are not my team's main branches. I have had trouble getting this to work, and have only gotten this to function with the default branch. Our repository has the following branches: master, Daily-build, Branch-Alex, and others with similar names. I pretty much want this build configuration to run on pushes that do not include master. Here are some pictures of my configuration: VCS Root: Trigger Settings: Current Build

Can you use the team city rest api to fetch plan branch names?

雨燕双飞 提交于 2019-12-05 12:59:42
I'm trying to build a command line app to fetch artifacts from teamcity. This is fine if I know the branch I want to get but I want to show a list of all the available branches first. This is what I have to fetch the latest build when I know the branch http://<TC>/guestAuth/app/rest/builds/buildType:<BUILD-TYPE>,branch:<BRANCH> But if I take the ,branch:<BRANCH> off it only shows one build which is the latest on the default branch I think. What I can't find is a URL to get the branches on a particular plan. I can go back to the VCS to get the branches that way but this should be available. I

TeamCity build status parameter

萝らか妹 提交于 2019-12-05 06:49:46
I may be overlooking a built in parameter in TeamCity.. I'm trying to send the build status as a parameter to a console application. The console application is a build step that needs to run even if previous steps have failed. If previous steps failed it will do one thing, and if the previous steps are successful it will do another. I have the console app set up to take a build status parameter, but I'm not finding a built in build status parameter to use (Success/Failure). Am I missing something easy? How can I access the build status? Thanks! I've had to do a similar thing in the past and

How Do I Properly Configure Feature Branch CI with TeamCity

有些话、适合烂在心里 提交于 2019-12-04 04:42:20
I am currently trying to set up TeamCity to build all the branches which are not my team's main branches . I have had trouble getting this to work, and have only gotten this to function with the default branch. Our repository has the following branches: master, Daily-build, Branch-Alex, and others with similar names. I pretty much want this build configuration to run on pushes that do not include master. Here are some pictures of my configuration: VCS Root: Trigger Settings: Current Build Config: TL:DR - Is there a better tutorial for setting up feature branch building in team city? Bonus

Setting up TeamCity to build Android Studio project

假如想象 提交于 2019-12-03 05:40:22
问题 I cannot for the life of me find any reference on the internet for how to setup TeamCity to build Android Studio projects. I've found links to IntelliJ Idea and TeamCity, to Gradle and TeamCity, but nothing specifically on building an Android Studio project in TeamCity. Can anyone point me in the right direction? 回答1: Thanks to Yole's direction, I've set this up now. The steps if anyone is interested are below: Install Gradle on the build agent server. I took the gradle-2.3.bin from http:/

Setting up TeamCity to build Android Studio project

谁说胖子不能爱 提交于 2019-12-02 18:58:58
I cannot for the life of me find any reference on the internet for how to setup TeamCity to build Android Studio projects. I've found links to IntelliJ Idea and TeamCity , to Gradle and TeamCity , but nothing specifically on building an Android Studio project in TeamCity. Can anyone point me in the right direction? Dr. ABT Thanks to Yole's direction, I've set this up now. The steps if anyone is interested are below: Install Gradle on the build agent server. I took the gradle-2.3.bin from http://gradle.org/downloads and copied to C:\gradle-2.3 Set the environment variable GRADLE_HOME = C:

Why did my TeamCity build stop working?

纵然是瞬间 提交于 2019-11-30 05:50:54
I have a TeamCity build configuration that has been working fine until recently. Suddenly, there is a build stuck in the queue that says it is not compatible with any agents. The reason given is: Implicit requirements: teamcity.build.branch defined in Parameter: BuildFormatSpecification My BuildFormatSpecification parameter is defined thus: %MajorVersion%.%MinorVersion%.%PatchVersion%-%teamcity.build.branch% That in turn is used in the Build Number Format field along with a build counter, like this: %BuildFormatSpecification%.%sharedBuildNumber.id4% The idea is that the build number comes out

Why did my TeamCity build stop working?

谁说胖子不能爱 提交于 2019-11-29 05:01:41
问题 I have a TeamCity build configuration that has been working fine until recently. Suddenly, there is a build stuck in the queue that says it is not compatible with any agents. The reason given is: Implicit requirements: teamcity.build.branch defined in Parameter: BuildFormatSpecification My BuildFormatSpecification parameter is defined thus: %MajorVersion%.%MinorVersion%.%PatchVersion%-%teamcity.build.branch% That in turn is used in the Build Number Format field along with a build counter,