I am currently in the process of architecting a CI/CD pipeline using VSTS. Whenever a developer commits his changes to the solution in his local visual studio and syncs the changes with remote repository, it triggers the build and release process automatically. How do I release only the files modified by the developer to Azure platform? Is there a feature in VSTS to handle delta deployment?
3
votes
1 Answers
1
votes
VSTS build/release does not support build/release only changed files since only build/release changed files not always meaningful and can’t archeive what the project intend to release (such as the config file only changed in a commit).
But you can change your build definition to meet your requirement. Use a file to record each time upload/publish files -> compare with the new committed information -> publish only changed files. More details, you can refer this post.