You could try using the script console. After enabling security, you could
possibly do something like this:
// get users into a map of username -> password
def users = ...
def realm = Jenkins.instance.securityRealm
users.each -> { username, password
realm.createAccount(username,password)
}
Jenkins.instance.save()
I have not tried this myself, but it might get you started.
On Tue, Mar 3, 2020 at 7:11 PM Yoyo <[email protected]> wrote:
> If I need to create 100 users, do I have to do it manually? Is there any
> plugin to create users in a batch from CSV files or other formats?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" 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-dev/79b7aab7-0651-40b4-97a5-cf959c3b2215%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/79b7aab7-0651-40b4-97a5-cf959c3b2215%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
Website: http://earl-of-code.com
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" 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-dev/CAPiUgVdKVE7AaMdVGUpWs924k6L_fOCvh9-9xUcgsavhvFNhJA%40mail.gmail.com.