简体   繁体   English

如何创建 Azure DevOps 管道以部署到 SharePoint?

[英]How to create an Azure DevOps pipeline to deploy to SharePoint?

What I would like to do is whenever a commit is pushed into a stable branch, a pipeline would copy the code directly into a SharePoint folder.我想做的是,每当将提交推送到稳定分支时,管道会将代码直接复制到 SharePoint 文件夹中。

I'm new to Azure DevOps and finding difficult to find the way.我是 Azure DevOps 的新手,发现很难找到方法。

You can use PowerShell with SharePointPnP.PowerShell to copy files to SharePoint folder.您可以使用 PowerShell 和SharePointPnP.PowerShell将文件复制到 SharePoint 文件夹。

On Azure DevOps you need to create new release pipeline with run Powershell script task.在 Azure DevOps 上,您需要使用运行 Powershell 脚本任务来创建新的发布管道。 If it is SharePoint on-premise, it should be accessible from internet of course.如果它是内部部署的 SharePoint,当然应该可以从 Internet 访问它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM