teamcity

Generated apk without Android Studio

﹥>﹥吖頭↗ 提交于 2020-01-06 03:01:10
问题 I need generate an apk when the all tests passed successfully in teamcity, but I need to do it without Android Studio because the teamcity is installed in another machine. Any help is welcome, thanks I set up a build step with Gradle where: Gradle task: assembleDebug Working directory: path to my project Gradle home path: C:/gradle-2.8 JDK: default (i have set up JAVA_HOME environment variable ) Now, when I run the build fails, in the build logs shows [Step 1/5] Starting: C:\gradle-2.8\bin

Octopack only creating one of two artifacts in TeamCity using Octopus deploy

落花浮王杯 提交于 2020-01-05 13:10:49
问题 I have a multiple project solution and am using Octopus Deploy and TeamCity for deployment. I have installed the Octopack NuGet package on two projects that I wish to be created as artifacts during the CI build. I have set the follwing in my build step: and have checked the csproj files of both projects and can see: <Import Project="..\packages\OctoPack.2.0.26\targets\OctoPack.targets" /> However, after the build runs one of the projects has been packaged as an artifact and the other one hasn

issues with TeamCity, xcrun and single quotes

心已入冬 提交于 2020-01-05 10:32:14
问题 I'm using TeamCity with xcrun for CI on an IOS project. I'm currently seeing an issues while trying to execute the following command from a TC build step: -sdk iphoneos PackageApplication "Build/Release-iphoneos/%Product Name%.app" -o "%system.teamcity.build.checkoutDir%/Build/archive.ipa" --sign "iPhone Distribution: AMERICA'S XXXX" --embed "%Provision File%" The error I get is: error: /usr/bin/codesign --force --preserve-metadata=identifier,entitlements,resource-rules --sign "iPhone

issues with TeamCity, xcrun and single quotes

﹥>﹥吖頭↗ 提交于 2020-01-05 10:31:36
问题 I'm using TeamCity with xcrun for CI on an IOS project. I'm currently seeing an issues while trying to execute the following command from a TC build step: -sdk iphoneos PackageApplication "Build/Release-iphoneos/%Product Name%.app" -o "%system.teamcity.build.checkoutDir%/Build/archive.ipa" --sign "iPhone Distribution: AMERICA'S XXXX" --embed "%Provision File%" The error I get is: error: /usr/bin/codesign --force --preserve-metadata=identifier,entitlements,resource-rules --sign "iPhone

How to pass branch name to build.xml

你说的曾经没有我的故事 提交于 2020-01-05 04:55:33
问题 Say, I have this branch specification: +:refs/heads/* and I want to get branch name in build.xml. Any parameters like ${vcsroot.branch} return string env.branch. 回答1: You want to add an Environment Variable called something like env.branch then set its value to %teamcity.build.branch% then in your build.xml you can read it in using something like: <property environment="env"/> ${env.branch} Assuming this is ant for the last part. 回答2: Branch related parameters are described in TeamCity

How to pass branch name to build.xml

為{幸葍}努か 提交于 2020-01-05 04:55:23
问题 Say, I have this branch specification: +:refs/heads/* and I want to get branch name in build.xml. Any parameters like ${vcsroot.branch} return string env.branch. 回答1: You want to add an Environment Variable called something like env.branch then set its value to %teamcity.build.branch% then in your build.xml you can read it in using something like: <property environment="env"/> ${env.branch} Assuming this is ant for the last part. 回答2: Branch related parameters are described in TeamCity

Configuring Teamcity's logging behaviour

末鹿安然 提交于 2020-01-05 04:48:30
问题 I'm using Teamcity 5 for our CI environment. It's a great tool, but I've been struggling with one thing: the stdout_yyyyMMdd.log file in the \TeamCity\logs folder grows to ridiculous sizes. Is there a way to turn it off? Places I've looked so far: Jetbrains: Nothing on stdout; Google for "tomcat stdout logs": the first few links don't really address the issue. Edit : At KIR's suggestion, I actually looked to see what's in stdout. It's the same exception message repeated over and over again:

Step by step process for setting up Gallio and NbUnit within TeamCity

岁酱吖の 提交于 2020-01-05 04:08:10
问题 I have searched the internet and found a few references saying that Gallio and NbUnit can run within TeamCity as part of the build process. I am running my builds against the solutions files and need TeamCity to run all the test in the solution. Is there a step by step process for setting up Gallio and NbUnit within TeamCity anywhere? 回答1: You can do this through MSBuild <!-- Runs Tests --> <Gallio IgnoreFailures="true" Files="@(TestFiles)"> <Output TaskParameter="ExitCode" PropertyName=

Restore TeamCity projects from DB

巧了我就是萌 提交于 2020-01-04 14:17:52
问题 Is there a possibility to restore the TeamCity project settings from an existing db? I have separate servers for the TeamCity data tier and application tier. The TeamCity application server had been damaged and i'm trying to restore it from the existing data tier. I'm using TeamCity 5.1.2. Any ideas? 回答1: TeamCity project settings stored at $TEAMCITY_DATA_PATH$/config folder. If you lost this folder there only one way to restore it - backups. You can also review information on TeamCity Data

Cannot connect Teamcity to Team Foundation Service / TFSPreview.com - Error “You must update your client with the Forward Compatibility Update”

限于喜欢 提交于 2020-01-04 10:13:32
问题 Teamcity 7.1.3 on a Windows 7 64 bit build machine The box is currently happily building VS2008 projects stored in a TFS2005 server, but am trying out VS2012 projects stored in TFSPreview / TF Service, and I cannot get past setting up the VCS root. On clicking Test Connection, I get the following.. Test connection failed in VS2012 Test against TFSPreview :: VS2012 - Build Configuration for Hello World. TFS failed. ExitCode: 1 stdout: TFS Native Verifier v7.1 Copyright (C) 2006-2012 JetBrains