You would want to ask on the Hudson mailing list, this list is for Jenkins.
On Sat, Mar 5, 2016 at 1:19 AM mpc8250 <[email protected]> wrote: > Hi All > > We use Hudson v2.2.1. > How can we add multiple users via command line ? > > Would this work ? We ask because we have a rather old Hudson. > > echo 'hpsr=new hudson.security.HudsonPrivateSecurityRealm(false); > hpsr.createAccount("dummyuser", "dummypassword")' | java -jar > hudson-cli.jar -s http://localhost:8080 groovy = > > > Is there any other command line approach ? > > > Thank you > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/dc4f733d-022d-43d8-a9c1-c0f74936f3d0%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/dc4f733d-022d-43d8-a9c1-c0f74936f3d0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcm%3Ds8uiaJe781rdOS%2B5Js25057un0w6M4zDR841H4Etw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
