简体   繁体   English

TeamCity设置从HG(Mercurial)退出

[英]TeamCity setup to pull from HG (Mercurial)

I need to set up TeamCity (I'm a super beginner with this beast that is called TeamCity). 我需要设置TeamCity(我是这个名为TeamCity的野兽的超级初学者)。

Just to get things going, I want to be able to Pull from a few repositories from Mercurial (So I can see where they're pulled into, so I can move into setting up the build steps) 为了使事情顺利进行,我希望能够从Mercurial的几个存储库中提取信息(这样我就可以看到它们的存储位置,因此可以进入构建步骤)

This is what I've done so far: 到目前为止,这是我所做的:

  1. created the project 创建了项目
  2. Setup the VCS bit (Test connection works; so I know Mercurial is properly working) 设置VCS位(测试连接有效;因此我知道Mercurial正常工作)

I want to test this setup by clicking the "Run..." button so I see the files are being pulled from mercurial 我想通过单击“运行...”按钮来测试此设置,因此我看到文件是从水银中拉出的

The problem is I don't see the "Run..." button. 问题是我看不到“运行...”按钮。 how can I go about this 我该怎么办

Create a build step to simply pull data from mercurial 创建构建步骤以简单地从Mercurial中提取数据

TeamCity will not pull the changes or run the build unless at least one build step is defined. 除非至少定义了一个构建步骤,否则TeamCity不会拉出更改或运行构建。 To test that your sources are pulled correctly you can, for example, add build step of type 'CommandLine' with some sample script (ex 'echo "Hello, World!"') inside. 要测试是否正确提取了源,您可以,例如,在其中添加一些示例脚本(例如“ echo“ Hello,World!”“),添加类型为“ CommandLine”的构建步骤。

After this build step is added, you should be able to run your build configuration 添加此构建步骤后,您应该能够运行构建配置

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM