How to “Unlock Jenkins”?

Starting from version 2.0 of Jenkins you may use

-Djenkins.install.runSetupWizard=false 

to prevent this screen.

Accroding to documentation

jenkins.install.runSetupWizard – Set to false to skip install wizard. Note that this leaves Jenkins unsecured by default.
Development-mode only: Set to true to not skip showing the setup wizard during Jenkins development.

More details about Jenkins properties can be found on this Jenkins Wiki page.

Leave a Comment