sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Example could be improved to handle paths when there are multiple solutions in repo subfolders

Open petval opened this issue 5 years ago • 4 comments

Example could be improved to handle paths when there are multiple solutions in repo subfolders


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

petval avatar Jun 18 '21 09:06 petval

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Jun 18 '21 09:06 ghost

Do you mean you are storing multiple SPFx solutions in the same repo?

While it's possible to do this, the point of the article is to demonstrate how to set up CI/CD with SPFx projects using Azure Pipelines and not go into every setup possible.

andrewconnell avatar Jun 22 '21 11:06 andrewconnell

@andrewconnell

Do you mean you are storing multiple SPFx solutions in the same repo?

Yes. But I have figured out how to reference the subfolders. It's just that the documentation is not very informative about the folder variables used in YAML files. I suggest the document is updated to at least link to Use predefined variables document as this took me quite some time to figure out.

 /home/vsts/work/1 - Pipeline.Workspace
a - Build.ArtifactStagingDirectory
b - Build.BinariesDirectory
s - Build.SourcesDirectory
drop

petval avatar Jun 23 '21 08:06 petval

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

ghost avatar Jun 30 '21 12:06 ghost