Quantcast

Passing user and password to an Ant script

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Passing user and password to an Ant script

daryl.hurst
This post has NOT been accepted by the mailing list yet.
Hi,

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?

Regards,

Daryl
Loading...