简体   繁体   English

与VSTS持续集成

[英]Continuous Integration with VSTS

I am trying to do a PoC on how to achieve continuous integration and deployment using VSTS. 我正在尝试就如何使用VSTS实现持续集成和部署进行PoC。 I have been successful in the build process ie from VSTS it will pull the code (asp.net based application) and build. 我已经在构建过程中取得了成功,即从VSTS它将提取代码(基于ASP.NET的应用程序)并进行构建。 The build process is also getting successful. 构建过程也取得了成功。 Now after the build is done I want to deploy the application and run my maven based selenium test cases written in java on the application. 现在,在构建完成之后,我想部署应用程序并在应用程序上运行用Java编写的基于Maven的硒测试用例。 This is the part where I am struck. 这就是我被打动的部分。 As in the deployment step it is not able to put the artifacts to the remote path that I am mentioning. 与部署步骤一样,它无法将工件放置到我要提到的远程路径中。 Can anyone please provide me some pointers on how to achieve the deployment on a remote machine and then run the java based test cases on this application? 任何人都可以向我提供一些有关如何实现在远程计算机上进行部署然后在此应用程序上运行基于Java的测试用例的指示吗?

Any pointers would be greatly appreciated. 任何指针将不胜感激。

Ok..here is the complete scenario... 1. I have the asp.net code on cloud in my vsts 2. I have been able to add a build step and create the artifacts successfully 3. Now I have a IIS server where i want to deploy these artifacts, and the server is not accessible from the public network and is behind a firewall. 好的,这是完整的方案... 1.我在vsts中的云上有asp.net代码2.我已经能够添加一个构建步骤并成功创建工件3.现在有了一个IIS服务器,我想部署这些工件,并且该服务器无法从公共网络访问并且位于防火墙后面。

Hence I am looking for any task that would help me achieve this. 因此,我正在寻找可以帮助我实现这一目标的任何任务。 I am not sure of the complications that might arise due to the firewall and hence am trying out different methods to understand the complete big picture. 我不确定防火墙可能引起的复杂性,因此我正在尝试各种方法来了解完整的概况。 I received a reply here to use the Win RM tasks. 我在这里收到了使用Win RM任务的答复。 I used that but it is giving a 53 error and not able to connect to the server that I am trying to deploy the code on. 我使用了它,但是它给出了53错误,并且无法连接到我要在上面部署代码的服务器。

To deploy asp.net based application, you can use IIS Web App Deployment step/task to deploy to your server or deploy to azure web site by using Azure App Service Deploy step/task . 若要部署基于asp.net的应用程序,可以使用IIS Web App部署步骤/任务来部署到服务器,或者通过使用Azure App Service部署步骤/任务来部署到Azure网站。

To do Java test, there is a Maven step/task . 要进行Java测试,有一个Maven步骤/任务

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

相关问题 VSTS 与安全文件的持续集成 - VSTS Continuous Integration with secure files VSTS持续集成-更改SDK路径 - VSTS Continuous Integration - Change SDK path Angular 应用程序构建管道 - VSTS 中的持续集成 - Angular Application Build pipeline - Continuous Integration in VSTS VSTS / TFS Git分支策略和持续集成 - VSTS/TFS Git Branching Strategy and Continuous Integration 如何在VSTS持续集成内自动化Entity Framework数据库迁移 - How to automate Entity Framework database migration within VSTS continuous integration VSTS上的持续集成-构建定义:无文件-System.AggregateException - Continuous Integration on VSTS - Build Definition: No Files - System.AggregateException 我们可以使用VSTS在线连续集成发布Asp.net Web应用程序吗 - Can we publish an Asp.net web application using VSTS online continuous integration 为ASP.NET Core Devextreme项目设置VSTS持续集成(CI) - Setup VSTS Continuous Integration (CI) for ASP.NET Core Devextreme project 在VSTS / TFS中集成并执行量角器e2e自动化测试持续集成 - Integrate and execute protractor e2e automated tests in VSTS/TFS Continuous integration 持续集成服务器上的集成测试 - Integration Test on Continuous Integration server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM