为Microsoft应用程序设置持续集成和持续部署 [英] Setting up Continuous integration and continuous deployment for Microsoft Applications

查看:174
本文介绍了为Microsoft应用程序设置持续集成和持续部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的组织中,我们有200多个Microsoft桌面和Web应用程序.我正在尝试为那些应用程序设置持续集成和持续部署(我已经为Java应用程序完成过).我们已经在企业Github,Jenkins,Nexus,XL-Deploy和XL-Release中使用了以下工具.我们还开发了Groovy的框架,该框架由Jenkins调用,并在Jenkins中分配了所有自动创建的工作,并将生成的工件推入了联系.

In my organization we have more than 200 Microsoft desktop and web applications. I am trying to setup the continuous integration and Continuous deployment for those application(I already did for Java applications). We already have the following tools at place Enterprises Github, Jenkins, Nexus, XL-Deploy and XL-Release. We have also developed a framework in groovy that is invoked by Jenkins and dose all the automatic job creations in Jenkins and push generated artifact into nexus.

我想设置同类解决方案,并希望使用与Microsoft相同的工具集.

I want to setup the homogeneous solution and want to use the same tools set for the Microsoft.

我浏览了Nexus文档,找不到任何存储生成的工件(.exe或MSI)的方法.它仅支持Nuget程序包,我不确定它们是什么以及如何使用它们?

I go through the Nexus documentation and didn't find any way to store the generated artifact(.exe or MSI) It only support the Nuget packages and I am not sure what are they and how to use them?

我能够在Jenkins执行外壳中使用msbuild.exe来构建我的项目解决方案文件,并能够以.exe和MSI的形式生成工件.

I am able to build my project solution file using msbuild.exe in Jenkins execute shell and able to generate the artifact in the form of .exe and MSI.

现在我有几个问题:

-我应该如何以及在何处进行版本控制和存储生成的工件(.exe和MSI),以及如何在目标主机上部署桌面应用程序(众所周知,我们需要双击.exe进行安装) ).

-- How and where should I versioned and store the generated artifact(.exe and MSI) and how can I deploy my desktop applications on the targeted host(as we all know we need to double click on the .exe to install that).

-我应该如何继续使用Web .net应用程序?

-- How should I proceed with the web .net applications?

-什么是nuget软件包,我可以将其用于桌面应用程序部署而不是MSI,我是否需要对代码进行任何修改才能做到这一点?

-- What is nuget package and can I use them for desktop applications deployment instead of MSI and do I need do modify any thing in my code for doing that ?

PS:我知道TFS是解决方案,但是由于成本限制,我们不能在组织中使用它.

PS: I know TFS is the solution but we can not use that in our organization because of cost constraint.

推荐答案

要上传非Maven项目工件(例如zip,msi等),可以使用

To upload the non-maven project artifacts such as zip, msi etc you can use Nexus Artifact Uploader. For this to work it is mandate to create maven type hosted repository and after that, upload the artifacts to this by populating GAV parameters and can be retrieve the artifacts based on the GAV parameters.

要将工件部署到测试环境,请使用 WinRM客户端插件连接测试环境.

To deploy the artifacts to the test environments use WinRM Client Plugin to connect test environments.

这篇关于为Microsoft应用程序设置持续集成和持续部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆