I am working on .Net Websites application. I want to create CICD pipeline which create the automated build package of only changed files (Delta changes) and not the full solution. I am using TFS Azure to create this pipeline.
Please suggest if any way to fetched the changed files through CICD pipeline.
What I have tried:
We have tried the below powershell script to fetched the changed files.
[string] username = "*****";
$password = ConvertTo-SecureString "****" -AsPlainText -Force
$credentials = New-Object System.Management.Automation.PSCredentials ($username, $password)
$tfs = get-tfsserver $tfsCollectionPath -credetials $credetials
But it gives error "get-tfsserver : TF30063 You are not authorised to access <tfs server="" path="">".