在构建服务器中构建失败 [英] Build failing in build server

查看:53
本文介绍了在构建服务器中构建失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在进行VSTS构建。它在我的机器中运行得很好但是当我们尝试在构建服务器中运行它时,它会进入一步:"删除.manifest.pregam"在缓冲时间之后,该构建将被终止。我们怀疑
这可能是问题,因为在构建机器中的证书安装如在日志文件中那样表明构建正在等待"Signfile"。 。这里有人建议我如何克服这个障碍吗?你的建议将不胜感激。

I am doing a VSTS build.It is running perfectly in my machine but when we try to run it in the build server it is getting struck into one step:"deleting .manifest.pregam" and after that build will get terminated after the buffer time.We are suspecting that this maybe the problem because of the certificate installation in the build machine as in log files it showing that the build is waiting for the "Signfile".Can anyone here suggest me how to overcome this hurdle?your suggestions will be appreciated.

推荐答案

hi lucky10893,

Hi lucky10893,

感谢您在此发帖。

我注意到您在stackoverflow中发布了相同的问题  这里  
就像starain的回答中提到的那样,你需要导入证书文件(例如pfx) Visual Studio构建步骤。

I noted that you posted the same question in stackoverflow here , just as mentioned in starain’s answer, you need to import the certificate file (e.g. pfx) before Visual Studio Build step.

我在这里发布答案,为您和其他社区成员提供便利:

I post the answer here for your and other community members’ convenience:


  • 构建定义的PowerShell任务。工作文件夹:[证书文件路径]


pfxpath ='pathtoees.pfx'
pfxpath = 'pathtoees.pfx'


password ='password'
Add-Type -AssemblyName System.Security
password = 'password' Add-Type -AssemblyName System.Security


这篇关于在构建服务器中构建失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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