This post has NOT been accepted by the mailing list yet.
We have a Jenkins server authenticating via LDAP to Active Directory. Most of our jobs invoke an Ant script to perform a web app build which then commits the resulting war file back to our SVN server.
As our SVN server also authenticates against AD we have to pass a hard coded generic user and password when the Ant script commits the War file. I'd like to get the commit command to use the same credentials as the user who has logged into Jenkins. How can this be achieved in a secure and seamless way which doesn't involve hardcoding or re-prompting for credentials?