Hi All,

I am trying to separate the security configuration from the jenkins config 
files. 

We have a team of jenkins "developers" each running jenkins locally with 
some machine specific configuration. It is getting to the point now where 
we need to start scripting out some changes to the config files after each 
git pull. 

My question is this: Can I recreate the password hash in a script easily?

I would like to set the 'hudson/securityRealm/managerDN' and 
'hudson/securityRealm/managerPassword' fields (for LDAP) using the script 
just after the git pull. At the moment it fails with plaintext (correct) 
passwords. If I enter the credentials with exactly the same values using 
the UI I get the hashed value which then works properly.

Interestingly, if I check in the hashed value and redeploy it somewhere 
else, those hashed credentials still work (on different machines). 
Obviously we can't do this because the production jenkins will have 
passwords in it that are sensitive. Is there a way around this?

Pieter

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to