How do I run a TeamCity build as a specific user

本秂侑毒 提交于 2019-12-04 02:22:14

The RunAs plugin combined with TeamCity 7's new Typed Parameters will let you make the password a "typed" parameter plugin.

Then, when it's entered at the Run screen, it will not be visible in the build history.

EDIT: Much later, as covered in the comments: You probably don't want to do this. Consider having separate pools which run as different users, and parameters to specify what builds are supported by what pools.

Neil, you can pass build parameters via Run Custom Build dialog.

There are "System properties" and "Environment variables" sections, where you can add new build parameters or redefine existing ones.

Please read more: http://confluence.jetbrains.net/display/TCD6/Triggering+a+Custom+Build

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!