Visual Studio Team Services'构建用于Openshift部署的Powershell脚本 [英] Visual Studio Team Services' Build for a Powershell script purposed for Openshift Deployment

查看:78
本文介绍了Visual Studio Team Services'构建用于Openshift部署的Powershell脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我创建了一个Powershell脚本,通过commad-line界面自动化Openshift应用程序部署。该脚本在我的本地系统上运行完美,并在大约10秒内完成,但是当我尝试在VSTS上构建它时,它永远不会启动或停止,因此
构建计时器会继续进行无穷大。最后我必须取消构建。

I have created a Powershell script to automate the Openshift app deployment through commad-line interface. The script runs perfectly on my local system and finishes in around 10 seconds but when I try to build it on VSTS, it never starts or stops so the build timer goes on for infinity. At the end I have to cancel the build.

我已经在我的系统上安装了rhc redhat软件包(包括Ruby),用于从CLI进行应用程序部署。如果没有在VSTS上创建的相同环境,构建是否会起作用?但是,既然它只是一个构建,它不应该只在几秒钟内成功完成脚本吗?
我感到困惑和困惑。请帮助。 

I have installed rhc redhat package (including Ruby) on my system for the app deployment from CLI. Would the build not work without the same environment created on VSTS? But since, it is just a build, shouldn't it just succeed the script in a few seconds? I am confused and stuck. Please help. 

推荐答案

问候,

我们需要更多信息并需要对此进行调查,因此我建议您创建支持服务单以及日志和详细信息,团队成员将帮助您解决问题。
并查看此链接,这可能会对您有所帮助。

https://www.visualstudio.com/en- us / docs / build / admin / agents / v2-linux

https://www.visualstudio.com/en-us/docs/build/admin/agents/v2-linux

< a href ="https://www.visualstudio.com/en-us/support/support-overview-vs"> https:// www。 visualstudio.com/en-us/support/support-overview-vs

希望这会有所帮助。

问候,


这篇关于Visual Studio Team Services'构建用于Openshift部署的Powershell脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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