WaelHamze / xrm-ci-framework

xRM CI Framework provides you with the tools automate the build and deployment of your CRM Solution. Using the framework to implement a fully automated DevOps pipeline will allow you to deploy more frequently with added consistency and quality.
MIT License
186 stars 116 forks source link

Extract Solution Tasks - using TFVC and GIT #279

Open Bogdan-Pushtiu opened 4 years ago

Bogdan-Pushtiu commented 4 years ago

Hi Wael, I hope you can help with a question about 'Extract Solution' Tasks. I have a build pipeline that high level, it does this:

I'd like to use the Extract Solution, so I can back it up in Azure DevOps as a TFVC Repo. I am capturing and getting the solution from the artefact successfully, the pipeline works fine (no errors), however I can't see the extracted solution under my TFVC folder.

I was wondering if I am missing a step or if not, if you have an example of that? I am using the classic interface, just learning YAML...

I have tried with GIT Repo as well with no luck.

Hope you can help! Many thanks! Bogdan

WaelHamze commented 4 years ago

@Bogdan-Pushtiu the Extract is not designed to store the files in source control as consumers will be using different repo types etc...

All it does is place the files locally on the agent.

If you need these in source control, then you need to add a PowerShell script to commit the files.