Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

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.

Thanks
Sachin

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="">".
Posted
Updated 5-Oct-20 21:18pm

1 solution

Here, have a look at the steps here: Create the Delta Package with Azure DevOps Pipeline and GIT | DevOps Notes[^]

High level, you need to:
- Generate the changed files list.
- Copy changed files.

Quote:
But it gives error "get-tfsserver : TF30063 You are not authorised to access <tfs server="" path="">".

About the error above that you get, you might have either incorrect username/password OR there is some other cached data that needs to be purged. Start with clearing temp/cookies/cache. If it does nto help, go through this: Refresh data caches on clients - Azure DevOps | Microsoft Docs[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900