简体   繁体   English

竹云结帐目录

[英]Bamboo cloud checkout directory

I'm trying to set up Bamboo with my BitBucket Git repository. 我正在尝试使用BitBucket Git存储库设置Bamboo。 I want Bamboo to: 我希望Bamboo:

Build my .NET solution Run tests Checkout the code on AWS when all tests has passed I have made a job in Bamboo and added my BitBucket repository to it, set up the above tasks and it seems like all I need now is to set the checkout directory. 构建我的.NET解决方案运行测试当所有测试通过后,在AWS上签出代码我在Bamboo上做了一份工作,并向其中添加了BitBucket存储库,设置了上述任务,现在看来我需要做的就是设置签出目录。

Having read the documentation provided by Atlassian about Bamboo, it says that the default checkout directory is where Bamboo is installed. 阅读Atlassian提供的有关Bamboo的文档后,它说默认的检出目录是Bamboo的安装目录。 However, since this is a Bamboo Cloud service, I have no idea where this directory is located. 但是,由于这是Bamboo Cloud服务,因此我不知道此目录位于何处。 Also, it should checkout the code on my Amazon web server (AWS). 另外,它应该在我的Amazon Web服务器(AWS)上签出代码。

So the question is: how do I tell Bamboo to check out my code on AWS? 所以问题是:我如何告诉Bamboo在AWS上签出我的代码? Can't seem to find anything about it in the documentation. 在文档中似乎找不到任何相关内容。

Configure Bamboo plan to run on particular agent. 配置Bamboo计划以在特定代理上运行。 go to Bamboo->Agents. 转到Bamboo-> Agent。 Select AWS agent and click on Dedicate Agent and select name of build plan which is supposed to run on that agent. 选择AWS代理,然后单击专用代理,然后选择应该在该代理上运行的构建计划的名称。 Next time, when you run this plan, it will automatically run AWS agent. 下次运行此计划时,它将自动运行AWS代理。 You can configure different stages to run on different agents too. 您可以配置不同的阶段以在不同的代理上运行。 Also, if you any agent is dedicated , then it will not allow any other job to run on it. 另外,如果您有任何专用的代理,那么它将不允许任何其他作业在其上运行。

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

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