xrm-ci-framework icon indicating copy to clipboard operation
xrm-ci-framework copied to clipboard

Extract Solution Tasks - using TFVC and GIT

Open Bogdan-Pushtiu opened this issue 4 years ago • 1 comments

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:

  • Set version of the D365 Solution
  • Export D365 Solution

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

Bogdan-Pushtiu avatar Jun 07 '20 23:06 Bogdan-Pushtiu

@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.

WaelHamze avatar Jun 09 '20 05:06 WaelHamze