teamcity

How to use Nant/TeamCity to Deploy across DMZ?

放肆的年华 提交于 2019-12-22 13:55:58
问题 I have build server inside our domain (and it needs to be because it also talks to other boxes in the domain), and a webserver that is in the DMZ. As part of our build scripts, I would like to deploy websites to the webserver in the DMZ, using the Nant copy task. The problem is, that Nant is invoked from TeamCity which runs under the System account on the build server, and there is no way that I can find to give the build server system account access to the DMZ webserver directories. (It

Running IntelliJ inspections via Maven/TeamCity

假装没事ソ 提交于 2019-12-22 10:45:55
问题 I have a Maven project, and I'm trying to configure TeamCity to run IntelliJ's inspections on it. TeamCity's documentation refers me to IntelliJ's documentation, but I didn't find anything useful there. Can you refer me to how do you configure it? 回答1: The documentation was incorrect, you can't reference inspections profile directly from the pom.xml . Thanks for noticing, we've fixed it. In case of the Maven project you need to open it in IDEA, define the inspections profile, export the

MicrosoftWebDriver fails when constructing while running under TeamCity agent's windows service

拟墨画扇 提交于 2019-12-22 09:15:28
问题 Using: * Windows 10 Pro * MicrosoftWebDriver Release 14393 I'm having troubles with running my UI tests suite with Edge (while Chrome, Firefox and IE11 - all work). The problem does not occur while running in standard, windows - development environment. The problem only occurs when trying to run these UI tests on CI (TeamCity) agent. The agent is configured to run as a Windows Service. Firstly, when account running the agent service was given Administrator's account, I was being received the:

TeamCity - keeping Git submodule up to date?

本小妞迷上赌 提交于 2019-12-22 09:10:20
问题 I have a Git repository that includes a submodule. This repository has various build configurations in TeamCity that are dependent on code on the submodule. Is there a way with TeamCity to detect that the submodule repository has been updated and then go ahead and update the submodule, update the parent repository to point to the latest submodule and build the code? I want to automate finding out if a commit on the submodule will break the parent repository. 回答1: You could add a step which

Strange NullPointerException in maven-resources-plugin

岁酱吖の 提交于 2019-12-22 08:49:58
问题 About twice a day we get a NullPointerException in our build: [06:44:23]: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.5:resources (default-resources) on project spring-lib: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.5:resources failed. NullPointerException -> [Help 1] [06:44:23]: org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.5

How do I get YouTrack field fixed in build filled out using TeamCity integration?

匆匆过客 提交于 2019-12-22 08:47:37
问题 I am trying to get integration between our YoutTrack and our TeamCity working. However I cannot get YouTrack to fill out the "Fixed in build" field: Using TeamCity 7.1.3, YouTrack 5.0.2. TeamCity integration setup points out the "Build Field" to YT's "Fixed in build" YouTrack correctly shows TeamCity builds in tab "TeamCity Changes". User names map correctly. YouTrack commands by VCS commit comments work correctly. Simple YouTrack issue referencing from commit comments works correctly.

How to pass Arguments between build configuration steps in team city?

血红的双手。 提交于 2019-12-22 07:58:10
问题 I am new to team city and i just started using the existing team city configuration. I have a requirement to pass the build number (ex:- 7.6.0.4) generated in a build configuration (01 Build Services Installer) to another build configuration (03 deploy installers). The Build number is generated at run time so it will change for every build. How can i pass this build number to the one of the build step in 'deploy installers' configuration? I am using powershell to run my script and i need to

TF error: There are no remaining changes to check in

时间秒杀一切 提交于 2019-12-22 07:39:52
问题 We have an NAnt script to update our "pre-built" assemblies in TFS as one of our TeamCity build projects. The build is triggered by other builds. It does a TF checkout, moves some files, then does a TF checkin. The relevant target (tf resolves to the path of TF.exe): <target name="checkin.assemblies"> <exec program="${tf}"> <arg value="checkin" /> <arg value="${dir.assemblies}" /> <arg value="/comment:${message}." /> <arg value="/noprompt" /> <arg value="/recursive" /> </exec> </target>

What is the correct VCS Username settings with Github so that “My Changes” works correctly?

喜你入骨 提交于 2019-12-22 07:39:42
问题 I have a TeamCity continuous build process setup for a personal GitHub project which works well. However, in TeamCity I want to see a list of commits under "My Changes" ( http://teamcity/changes.html ). Under "VCS Username Settings" ( http://teamcity/vcsSettings.html ) I have set the username as "benpowell" to match my Github account and as you can see all commits are logged under that name. However, none of the commits are logged under "My Changes". Any ideas why? 回答1: One note that might

TF error: There are no remaining changes to check in

点点圈 提交于 2019-12-22 07:39:26
问题 We have an NAnt script to update our "pre-built" assemblies in TFS as one of our TeamCity build projects. The build is triggered by other builds. It does a TF checkout, moves some files, then does a TF checkin. The relevant target (tf resolves to the path of TF.exe): <target name="checkin.assemblies"> <exec program="${tf}"> <arg value="checkin" /> <arg value="${dir.assemblies}" /> <arg value="/comment:${message}." /> <arg value="/noprompt" /> <arg value="/recursive" /> </exec> </target>