I'm no Windows guru, but I believe that USERNAME gets set when you log in. Is Jenkins installed on your laptop as a service? If it's installed as a service, check the "Log On As" column in the services view. It might be configured on your laptop with a "Log On As" of "Local Service" or some such, and possibly on the VM as an actual user.
--Rob Mandeville Litle & Co www.litle.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of shanz Sent: Friday, February 24, 2012 5:31 AM To: Jenkins Users Subject: USERNAME I have 2 instances of Jenkins. One is on a VM on a server. The other is on a physical laptop. When I open a DOS window and type "set", I see the USERNAME=whatever environment variable exists on both PCs. However, when I open Jenkins and look at /systemInfo, only one of the PCs shows USERNAME (the one on the VM). Why is this? How can I get them to behave the same? (USERNAME doesn't show up in the System or User Environment Variables shown in the Windows dialog box for either PC). Why does "set" show the variable but the dialog box doesn't? Where is USERNAME variable set? The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle & Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle & Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer.
