Copy Pull Reqeust Changed Files
When you deploy scripts or static resource files to your environment, you may just want to update changed files instead of deploying all files (HTML, JS, CSS, PHP, Python), because it may take time. So this pipeline extension can help you to do incremental deployment more easily.
Prerequisites
- Azure DevOps Service && Azure DevOps Sever(on-promise)
- Windows Build Agents & Linux Build Agents (You need to use task with 'Cross Platform’, the original task is left in the list for backward compatibility)
User Guide
- Search and add "Pull Request Diff Copy Cross Platform" task to your pipeline, and set "Destination" parameter.
- Trigger new build from Pull Request, if you want to know more about how to setup branch policy, please refer to: setup branch policy to trigger a build during Pull Request.
- You can also use "Publish build artifacts" task to store the incremental files to your build artifacts.
Bussiness Support && About Us
Please feel free to contact us by email: henryli@leansoftx.com
Leansoft dedicated in DevOps consulting, implementation, system integration, extension development, report design and other devops related solution. If you have any questions, please fell free to contact us with email above.
Other extensions you may like
Name |
Desc |
Workitems Batch Link |
With this extension you can easily link selected workitems to other workitems from another team project (Support Cross-project, One-To-Many and Many-To-Many relationship) |
Workitems Batch Copy |
With this extension you can easily copy selected workitems (including child and linked workitems) to other Azure Devops Team Project |
Unique Field Control |
with this work item custom control, you can validate the uniqueness of work item field value before saving |
Pull Reqeust 变更文件复制流水线插件介绍
当你使用Azure DevOps进行脚本或者静态资源的部署时,往往只需要更新或部署变更的文件,而不是部署所有的静态资源文件或者脚本文件。
比如HTML、JS、CSS、PHP、Python等文件或脚本。所以此插件非常适合增量部署等场景。
前置条件
- 代码仓库必须为GIT仓库,不支持TFVC.
- 流水线必须是通过Pull Request触发的.
支持平台
- Azure DevOps Service && Azure DevOps Sever(本地部署版)
- Windows 构建代理 & Linux 构建代理 (请使用Pull Request Diff Copy Cross Platform任务)
使用说明
- 在Pipeline的特定阶段下,添加对应的 "Pull Request Diff Copy Cross Platform" 任务, 并设置Destination参数(将更改文件复制到的目标文件夹)
- 通过Pull Request触发对应的流水线执行,关于分支策略的配置方式可以参考微软官方操作手册:分支策略配置
- 可以结合 “发布生成工件” 任务将更新的文件发布到流水线制品中进行存档,以便后续进行增量部署,如下图所示:
商业支持 && 关于我们
如有任何问题可以通过邮件与我们联系:henryli@leansoftx.com
英捷创软致力于DevOps咨询,实施,插件开发,系统集成,报表度量设计等相关领域,至今已经为超过100家不同类型和规模的客户提供过ALM/DevOps解决方案的咨询和落地服务。 如您有任何DevOps相关的问题可以随时通过以上邮件与我们取得联系
其他插件
插件名称 |
插件描述 |
工作项批量链接 |
工作项批量链接插件,可以方便快速的将当前项目下选择的工作项与其他项目的工作项建立链接,一键建立跨项目1对1,1对多,多对多的关联关系。 |
工作项批量复制 |
工时项批量复制插件,可以方便快速的将项目下选中的工作项批量的复制到其他项目,对于需要将工作项复用到其他项目或移动到其他项目的场景非常有帮助 |
工作项字段唯一性校验控件 |
通过此工作项自定义控件,用户可以验证字段值的唯一性,避免出现在多个工作项上出现同一字段中存储相同值的问题 |