1

在从 Teamcity 进行自动部署时,我想跳过 Octopus 项目的某些步骤。我已阅读有关如何设置它的文档,并让它进行部署。

我如何在使用这个时跳过一些 Octopus 部署步骤?或者我应该为仅包含基本步骤的自动部署创建一个单独的章鱼项目,然后再创建一个包含所有步骤的项目?

请任何帮助将不胜感激。

4

2 回答 2

0

I achieved this (or something similar) with a fake environment.

We have an environment called "live - inactive" which only contains the octopus server machine. This step queries our load balancer and promotes the deployment to one of our real live environments. Our deployment process steps are not configured to run in this fake environment. So the iis config etc is skipped

于 2014-10-14T21:51:53.930 回答
0

正如您在以下文档中看到的那样http://docs.octopusdeploy.com/display/OD/Deploying+releases

--skip=step name 作为 OctopusDeploy 的 附加命令行参数的一部分:在 Teamcity 中创建发布步骤

于 2015-06-26T15:17:08.217 回答