Incremental build VSTS for files changed only (Wordpress)

前端 未结 1 931
不知归路
不知归路 2021-01-06 18:37

I have a build and release pipeline for Wordpress php files, but I only want to create a build for the files changed in source control. I am not using a Visual Studio Build

相关标签:
1条回答
  • 2021-01-06 18:55

    There isn’t the feature in VSTS that can just pick files up based on the previous artifacts.

    You can refer to these ways to achieve it:

    1. Create XML file that stores the last upload/publish information of each files (e.g. file name, date time, changeset/commit version).
    2. Create a PowerShell script file that included the logical to compare files (get files metadata and compare with that XML file) and copy updated files to specific folder
    3. Publish the files in that folder
    0 讨论(0)
提交回复
热议问题