You'd want to ask on the Hudson mailing lists. This list is for Jenkins.

On Sat, Mar 5, 2016 at 12:45 AM Zk W <[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 slave.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/CA%2B7%2BkFD02-T3FYKgzcfSdAiRevhsZky-VGzTBoTWYDwehLZG4Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CA%2B7%2BkFD02-T3FYKgzcfSdAiRevhsZky-VGzTBoTWYDwehLZG4Q%40mail.gmail.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/CAPiUgVcjc8wEBZ3qBmtNib5bBLSFdv9UgtymqmEbdz%2BS4E2%3DPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to