Getting logged user id in Cruise Control .Net
I am trying to get the userid of the user that has triggered the build and use it as a parameter some where in the build file. Just like we can use ${CCNetProject} to get the project na开发者_如何学JAVAme. Is there a way I can get this information in Cruise Control .Net?
You can access the user via environment variable CCNetUser
. Find more information here.
精彩评论