That's quite a security issue and generally not recommended. As a compromise, if it's required as part of a job, could use the "Password Parameter" option and have the user re-enter it.
On Friday, 27 March 2015 16:38:17 UTC-7, Mantoo Ankalakoti wrote: > > Hi, > > I want to read the logged in users password in my jenkins shell script. > I am using the Jenkins own database for authentication. > Please help me if there is any way to accomplish this? > > > Thanks and Regards > Mahantesh.C.A > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f6338321-63b9-4725-ab5b-f1311eb0b6af%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.