Re: How to add users via command line with Hudson

2016-03-05 Thread Slide
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 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.s

How to add users via command line with Hudson

2016-03-04 Thread Zk W
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://localhos