I am looking for a way to copy only the triggering file(s) for a triggered task with TFS2015 Team Server. I have a task setup as for Continuous Integration to get triggered for a check-in of file(s) for a Repository.....but I have only found to copy ALL files for the Repository to a separate server location. I only want to copy the file(s) that triggered the CI task. All other files on the separate server would still be up to date. Seems like this should be easily done with the new TFS2015 Build options, but I can't find a way to do this specific operation.
Thanks for any help on this.
There is no specific operation for this.
You would need to add a PowerShell task and write the PowerShell to move the diff between the locations.
You should also check http://marketplace.visualstudio.com for a pre-built task that can do this..