Build仅适用于msbuild参数中的用户名和密码 [英] Build only works with username and password in msbuild arguments

查看:137
本文介绍了Build仅适用于msbuild参数中的用户名和密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在构建新网站时遇到问题。目前它只适用于流程模板中的/ p:Username = domain \account和/ p:Passsord = secret参数。我需要能够调用存储的凭证或找出绕过它的方法。
我希望那里有人知道使用的参数不需要服务帐户和密码。



Chris Jones

I have an issue with building to a new web farm. Currently it only works with the /p:Username=domain\account and /p:Passsord=secret arguments in the process template. I need to be able to call either a stored credential or figure out a way to bypass this. I am hoping someone out there knows of an argument to use that does not require the service account and password.


Chris Jones

推荐答案

感谢您的发帖。

请尝试为构建服务帐户授予权限。或者,您可以尝试使用存储的凭据,使用构建计算机上的帐户日志,让帐户有权访问构建计算机。

Please try to give build service account the permission. Or, you can try to use stored credential, use the account log on build machine, let the account have permission to access build machine.

问候,


这篇关于Build仅适用于msbuild参数中的用户名和密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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