将 WSP 文件远程部署到 SharePoint 2010?

发布于 2024-09-06 22:45:49 字数 335 浏览 3 评论 0原文

我每天晚上在构建服务器上创建一些 WSP 文件,并希望将它们自动部署到 QA 环境。

在 SharePoint 2007 中,除了丑陋的 psexec-workarounds 之外,没有其他方法可以远程部署 WSP 文件。

SharePoint 2010 对此有改善吗?我可以以某种方式利用 PowerShell 的东西吗?

我的构建服务器不属于 SharePoint 场。它甚至不运行相同的 SharePoint 版本(它运行独立的 Foundation,而真正的服务器场运行 Standard)

(注意:SO 上有一些关于此的问题,但它们是关于 WSSv3/SP2007 并且不适用)

I create some WSP Files on a build server every night and would like to automatically deploy them to a QA Environment.

In SharePoint 2007, there was no way to remote deploy WSP Files except for ugly psexec-workarounds.

Has this improved with SharePoint 2010? Can I utilize the PowerShell stuff somehow?

My build server is not Part of the SharePoint farm. It doesn't even run the same SharePoint version (It runs a standalone Foundation, whereas the real farm runs Standard)

(Note: There are some questions on SO about this, but they are about WSSv3/SP2007 and don't apply)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

只等公子 2024-09-13 22:45:49

通过 PowerShell 远程处理解决。 WSP 仍然需要转到服务器,并且 Add-SPSolution 等需要在该计算机上运行,​​但我现在可以从构建服务器执行此操作。

Solved through through PowerShell remoting. The WSP still needs to go to a server and Add-SPSolution et al needs to run on that machine, but I can now do that from the build server.

-小熊_ 2024-09-13 22:45:49

我创建了一个在构建服务器上运行的构建后事件,该事件将 WSP 文件复制到测试服务器的特定目录中。进入测试服务器后,(Windows Server) 计时器作业会查找 WSP 文件,并使用 STSADM 命令安装它们。有时我们会遇到删除解决方案的问题,因为我还没有找到一种简单/优雅的方法来检查解决方案是否已正确删除。通常我运行命令来删除解决方案。第二次运行然后安装。

I have create a post build event that run on our build server that copies the WSP file to our test server in a specific directory. Once on the test server, a (Windows Server) timer job looks for the WSP file and a STSADM command installs them. Sometimes we run into issues removing the solution since I haven not found an easy/elegant way to check if the solution is properly removed. Usually I run a command to remove the solution. Run it a second time and then install.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文