简体   繁体   English

如何在不构建项目的情况下部署到服务器

[英]How to deploy to a server without build a projekt

We have an ImageVault website that we do not develop ourselves. 我们有一个不自行开发的ImageVault网站。 But want version management in TFS and be able to publish against tests and production servers. 但是要在TFS中进行版本管理,并能够针对测试和生产服务器进行发布。 It does not need to be built because it is already finished. 由于它已经完成,因此不需要构建。 How should you set up a building when you should not build anything? 不建房屋时应如何建房? Is it possible to set up a pipeline without having a building? 是否可以在没有建筑物的情况下建立管道?

It is possible to set up a pipeline that doesnot build your project. 可以设置不构建项目的管道。 You project is built by the build tasks in the pipeline. 您的项目是由管道中的构建任务构建的。 You can just disable or exclude the build tasks from your pipeline if you donot want your project be built. 如果您不希望构建项目,则可以仅从管道中禁用或排除构建任务。

You can also create an empty pipeline without any tasks inside. 您也可以创建一个没有任何任务的空管道。 You can follow below steps to create an empty pipeline. 您可以按照以下步骤创建一个空管道。

1,Sign in to your Azure DevOps organization and navigate to your project. 1,登录到您的Azure DevOps组织并导航到您的项目。

2,In your project, navigate to the Pipelines page. 2,在您的项目中,导航到“管道”页面。 Choose the Pipelines tab and click new pipeline on the top right corner of the page. 选择“ 管道”选项卡,然后单击页面右上角的新管道。

3,Walk through the steps of the wizard by first selecting the location of your source code.(You can create a classic UI pipeline by choosing " Use the classic editor to create a pipeline without YAML ".) 3,首先选择源代码的位置来完成向导的步骤。(您可以通过选择“ 使用经典编辑器创建不带YAML的管道来创建经典UI管道。)

4,Then choose to start with An Empty Job under Select a template 4,然后在选择模板选择以 空作业开始

With above steps, a pipeline without build tasks is created. 通过上述步骤,创建了没有构建任务的管道。 You can then add some utility tasks like copy file task , publish artifacts task etc. Utility tasks donot do the building work. 然后,您可以添加一些实用程序任务,例如复制文件任务发布工件任务等。实用程序任务不会执行构建工作。

You might need to add some utility tasks like publish build artifacts tasks if you want to deploy release pipeline. 如果要部署发布管道,可能需要添加一些实用程序任务,例如发布构建工件任务。 在此处输入图片说明

Check here to learn more about creating your pipeline 单击此处以了解有关创建管道的更多信息

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

相关问题 如何在构建服务器上构建和部署.Net应用程序? - How to build and deploy .Net applications on a build server? 如何构建将节点应用程序部署到 http 服务器 - How build to deploy node app to http server 如何使用 Azure 构建代理部署到内部服务器? - How to deploy using Azure build agent to internal server? 如何从构建服务器部署/运行Docker映像 - How to deploy/run a Docker image from a build server 如何从 github 构建文件夹部署到托管服务器? - How can i deploy from github build folder to hostinger server? 如何在文件夹结构和 TypeScript 中构建快速服务器,然后将其部署到 Heroku - How to build and then deploy express server in folder structure and TypeScript to Heroku 在没有服务器访问仓库的情况下,如何从git repo进行部署? - How to deploy from git repo without server having access to repo? 如何在不重新启动jboss服务器的情况下部署Web应用程序 - How to deploy web application without restart jboss server 如何在不进行编译或安装的情况下将ruby部署到服务器中? - How do I deploy ruby into a server without compiling or installing? 如何在没有完整源代码的情况下将django服务器部署到生产环境中? - How to deploy django server into production environment without a full source code?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM