If no user setup is present Jenkins handles this via /var/lib/jenkins/secrets/initialAdminPassword and its setup wizard nowadays. That's something we'd might want to skip, since we provide the user password on the command line and provide the plugins we need via our puppet setup.
If no user setup is present Jenkins handles this via
/var/lib/jenkins/secrets/initialAdminPassword
and its setup wizard nowadays. That's something we'd might want to skip, since we provide the user password on the command line and provide the plugins we need via our puppet setup.In some "recent" Jenkins version the user setup/behavior was changed, see e.g. https://jenkins.io/doc/upgrade-guide/2.138/
We now have:
... while this doesn't work for us (jenkins-debian-glue user isn't configured). We'd have to ship to a
/var/lib/jenkins/users/users.xml
file like: