CruiseControl.net - CCNetUser property empty

[亡魂溺海] 提交于 2019-12-25 04:18:06

问题


Looking at a recent build log I noticed the CCNetUser property is set to empty, should it not be the user who has requested the build?

<cruisecontrol project="...">
    <parameters>
        ....
        <parameter name="$CCNetUser" value="" />

I want the username of the person who's just requested a force build so that I can send them an e-mail.


回答1:


The CNetUser property can be empty if it's not a force build. If the build is triggered by a source control/project trigger then the property is empty. If the build is forced via the dashboard and not cctray the property may be empty too.



来源:https://stackoverflow.com/questions/3880984/cruisecontrol-net-ccnetuser-property-empty

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