Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » How to add new users via command line with Hudson ?
How to add new users via command line with Hudson ? [message #1725643] Sat, 05 March 2016 17:35
Z W is currently offline Z WFriend
Messages: 5
Registered: June 2012
Junior Member
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
Previous Topic:Hudson 3.3.3 Oracle Linux rpm -> Service running, status wrong
Next Topic:Team based Authorization Strategy not work after restart, hudson3.3.3, centos6.7
Goto Forum:
  


Current Time: Fri Aug 18 22:43:45 GMT 2017

Powered by FUDForum. Page generated in 0.03075 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software