We are trying to setup CI/CD for a winform app developed using DotNet core 6. We have setup the build pipeline and it's producing the correct set of artifacts but the problem is we are unable to publish these artifacts to network file share drive (DFS server). While connecting to network file share we are getting error Incorrect username or password. Do we need a service account which would connect to network file share ? If there is a service account needed we don't see any option in release pipeline under which task in Azure Devops we need to pass username and password as the Publish artifact task allow us to define the network location without using any credentials. Can anyone please suggest.
CodePudding user response:
Do we need a service account which would connect to network file share ?
CodePudding user response:
Can be accomplish through service principal/agent that has write permission to the drive. You can then create scripts in the build pipeline to transfer the file to the Azure storage account blob container.