Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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: 6
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: Sat Apr 20 01:13:52 GMT 2024

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

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

Back to the top