I'm using the "Hudson batch task plugin" to kick off some ant tasks after a build has run to deploy the build to a remote box.
As a part of the deploy the ant tasks writes a log record to a database. I'd like to be able to include the current user's username.
Does anybody know if the user's login is available to ant scripts running in Hudson? Maybe as an environment variable?