在CI Build之后将网站复制到服务器 [英] Copy website to server after CI Build

查看:62
本文介绍了在CI Build之后将网站复制到服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我们的开发环境中有一个网站,我们希望在每次成功的持续集成构建后自动更新。

We have a website in our development environment that we would like to automatically update after each successful Continuous Integration build.

以前,我们将在构建步骤中使用/ PublishProfile选项。现在我们只想发布所有测试都通过*和*我们在构建期间下载了一些NPM模块,所以我们正在使用TFS 2015版本。我已经阅读了文档并在其他人的问题上查看了
,但我发现文档中使用的语言含糊不清且难以理解。还有一些"发布"和"发布"。或"复制"或任务,差异对我来说并不清楚。

Previously, we would use the /PublishProfile option in the build step. Now we want to only publish if all the tests pass *and* we are downloading a few NPM modules during the build, so we're using TFS 2015 Releases. I have read the documentation and looked at other people's questions but I find the language used in the documentation ambiguous and hard to understand. There are also a number of "Publish" or "Copy" tasks, and the difference is not clear to me.

所以当构建完成并且测试通过时,我希望构建的网站文件夹中的所有文件,无论它们是否属于解决方案与否(node_modules)将被复制到另一台服务器上的共享。

So when the build completes and the tests pass, I would like all files within the built website folder, whether they're part of the solution or not (node_modules) to be copied to a share on another server.

实现此目的的最佳方法是什么?

What is the best way to accomplish this?




推荐答案

您好,

您发布的查询尚未达到正确的论坛。为了最好地协助您的查询,我将查询移动到正确的论坛。

The query posted by you has not reached the right forum. In order to assist best on your query, I am moving the query to the right forum.

这将帮助您更快地回复查询。

This will assist you with a faster reply to your query.

问候,

Nayana

Regards,
Nayana


这篇关于在CI Build之后将网站复制到服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆