teamcity

Team City CI with Xcode workspace - Scheme “My Scheme” is not configured for running

僤鯓⒐⒋嵵緔 提交于 2021-02-18 20:52:31
问题 I have a workspace with few projects that must be built as static libraries and I have schemes with tests for them. I want to configure TeamCity to build and test each of those libraries, but it does not work with following error: ... /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace code/MyApplication/My Framework.xcworkspace -scheme One Of Tests TEST_AFTER_BUILD=YES clean build -configuration Debug -sdk iphonesimulator6.1 in directory: /Users/Me/TeamCity/buildAgent

Team City CI with Xcode workspace - Scheme “My Scheme” is not configured for running

旧时模样 提交于 2021-02-18 20:49:47
问题 I have a workspace with few projects that must be built as static libraries and I have schemes with tests for them. I want to configure TeamCity to build and test each of those libraries, but it does not work with following error: ... /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace code/MyApplication/My Framework.xcworkspace -scheme One Of Tests TEST_AFTER_BUILD=YES clean build -configuration Debug -sdk iphonesimulator6.1 in directory: /Users/Me/TeamCity/buildAgent

yarn install consumes all memory on TeamCity and Jenkins

偶尔善良 提交于 2021-02-11 12:29:21
问题 I'd really like to get yarn working with TeamCity or Jenkins, however yarn install consumes all my build server's cpu & memory, even with a tiny npm project. Any idea why? Summary yarn install , when run by TeamCity or Jenkins, consumes most CPU/memory, never finishes running yarn install from the command line on the build server works (finishes in a few seconds) npm install completes in a few seconds when run by TeamCity/Jenkins build server: Windows Server 2012, 2 cores, 4GB mem yarn

How can I run a Xamarin.UITest from the commandline?

放肆的年华 提交于 2021-02-07 09:10:57
问题 I would like to run tests (made using Xamarin.UITest) on my build server, which runs TeamCity on OS X. I have searched online on how to do this, but I am only able to find how these tests can be submitted to Xamarin Test Cloud. This is not what I want, I want to run the tests I wrote directly on devices (and/or simulators) connected to the build server. 回答1: according to the docs (requires NUnit 2.6.3) $ mono <path-to>/Nunit-2.6.3/bin/nunit-console.exe <path/to/uitest-assembly.dll> 回答2: Here

How can I run a Xamarin.UITest from the commandline?

被刻印的时光 ゝ 提交于 2021-02-07 09:10:20
问题 I would like to run tests (made using Xamarin.UITest) on my build server, which runs TeamCity on OS X. I have searched online on how to do this, but I am only able to find how these tests can be submitted to Xamarin Test Cloud. This is not what I want, I want to run the tests I wrote directly on devices (and/or simulators) connected to the build server. 回答1: according to the docs (requires NUnit 2.6.3) $ mono <path-to>/Nunit-2.6.3/bin/nunit-console.exe <path/to/uitest-assembly.dll> 回答2: Here

How to tell TeamCity to treat merges as a single commit when working with git?

…衆ロ難τιáo~ 提交于 2021-02-07 04:43:16
问题 We recently moved from SVN to git. We work with a main "release" branch (master), and feature branches for every feature a dev is working on. In TeamCity we have a project for every feature branch, and of course a project for the master. When we worked with SVN, whenever someone merged from master to his feature branch or vice-versa, the merge was treated by TeamCity as one commit. Now, with git, every merge causes TeamCity to show all of the commits that came with this merge. This causes

How to tell TeamCity to treat merges as a single commit when working with git?

安稳与你 提交于 2021-02-07 04:43:07
问题 We recently moved from SVN to git. We work with a main "release" branch (master), and feature branches for every feature a dev is working on. In TeamCity we have a project for every feature branch, and of course a project for the master. When we worked with SVN, whenever someone merged from master to his feature branch or vice-versa, the merge was treated by TeamCity as one commit. Now, with git, every merge causes TeamCity to show all of the commits that came with this merge. This causes

How to update the Node verison in the build server in teamcity

不想你离开。 提交于 2021-01-29 06:09:14
问题 You are running version v8.15.1 of Node.js, which is not supported by Angular CLI 8.0+. The official Node.js version that is supported is 10.9 or greater. Please visit https://nodejs.org/en/ to find instructions on how to update Node.js. npm ERR! code ELIFECYCLE npm ERR! errno 3 While running the the angular 8 application i am facing an issue and the build log shows like this . Thanks 来源: https://stackoverflow.com/questions/61949560/how-to-update-the-node-verison-in-the-build-server-in

How to configure Teamcity to ignore some tests

℡╲_俬逩灬. 提交于 2021-01-27 03:58:59
问题 There is a way to configure Teamcity to ignore some tests? I need to run these tests only locally, when they are running in Teamcity, must be ignored. I'm using nunit. This could be a directive, attribute, etc. 回答1: You can do this by adding test categories to your tests. [Category("LocalOnly")] [Test] public void MyLocalTest() { // Code omitted for brevity } You can then add that category to the NUnit runner's 'NUnit categories exclude:' field in the TeamCity build step. NUnit categories

How to configure Teamcity to ignore some tests

橙三吉。 提交于 2021-01-27 03:58:24
问题 There is a way to configure Teamcity to ignore some tests? I need to run these tests only locally, when they are running in Teamcity, must be ignored. I'm using nunit. This could be a directive, attribute, etc. 回答1: You can do this by adding test categories to your tests. [Category("LocalOnly")] [Test] public void MyLocalTest() { // Code omitted for brevity } You can then add that category to the NUnit runner's 'NUnit categories exclude:' field in the TeamCity build step. NUnit categories