I am using VSTS for CI/CD process in my project.
As of now, we have few config files in project with *.deployment.config
extension. We are using XDT Transform
task in build definition which applies transform to all files having extension *.deployment.config
.
Similarly, I am looking for a task to transform my json files. I want to keep *.deployment.json
files and want them to be transformed into .json
file on build.
I also got one task, mentioned below. But this will transform only one file at a time. Hence, we will have to create multiple tasks for multiple json files.
https://marketplace.visualstudio.com/items?itemName=sergeyzwezdin.magic-chunks
Could anyone please suggest a better way?
No built-in tasks/extensions can transform multiple json files, there is a related extension: File Patch Build and Release Tasks.
On the other hand, you can build a custom task through VSTS extension: Add a build or release task
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments