question

sns1 avatar image
0 Votes"
sns1 asked sns1 edited

Agent dependencies to run SPFx & PNP scripts

Please let me know what are the softwares/modules required and installed in the agent to execute the builds in azure devops.

  1. Will Azure DevOps MS agent will take care of PNP & SharePoint frame work scripts by default?

  2. If it is self hosted agent what are the modules, softwires and packaged need to be installed in the agent machine?

office-sharepoint-onlineoffice-sharepoint-server-development
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @sns1,

I am currently doing some research on this issue, will let you know as soon as possible.

0 Votes 0 ·

1 Answer

TongZhangMSFT-7548 avatar image
0 Votes"
TongZhangMSFT-7548 answered sns1 edited

Hi @sns1,

According to my research and testing, you can set up Azure DevOps environment with CI/CD to automate your SharePoint Framework builds.

Here is an article contains how to set up an Azure DevOps environment and the module packages that need to be installed. You can refer to it.

For reference:
Implement Continuous Integration and Continuous deployment using Azure DevOps


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi TongZhang,

Thank you for the response:

I have few questions, can you please clarify my below questions:

  • [ ] Same steps I should follow as it is mentioned in the document you have shared?


  • [ ] What exactly is unit test ? Do I need to follow this for every application to build as mandatory?

  • [ ] What about when we plan to implement CI. CD for PnP based PowerShell scripts ? What are the module packages and software dependencies to be installed i the respective agent?

0 Votes 0 ·

Hi TongZhang,

I have followed the blog you have given, it is failed at the following step, looks like something wrong with variables I have provided but I gave correctly, Please correct me here. PFA where it is showing build ( release pipeline ) is failing due to these credentials. Please help
Awaiting for your response.

198387-username.png198404-authenticationerror.png


0 Votes 0 ·
username.png (7.2 KiB)