It sounds to me like there's a good use-case for being able to skip the setup wizard even in "prod" mode? Is the jenkins.install.runSetupWizard ignored if development = false? If so would it make sense just to skip that check?
Richard. On Fri, 1 Apr 2016 at 10:10 Baptiste Mathus <[email protected]> wrote: > There's a sysprop for that, but normally only for development mode. > But, NOT FOR KIDS, you can confuse things by forcing it to dev mode. > > Probably reasonable for continuously starting from scratch from the docker > container only, not for prod use obviously (beware that you may trigger > weird behaviours w/ plugins that would use this property to change things > for dev). > > $ docker run -p 8080:8080 --env JAVA_OPTS="-Dhudson.Main.development=true > -Djenkins.install.runSetupWizard=false" jenkinsci/jenkins:2.0-beta-1 > > 2016-03-31 22:44 GMT+02:00 Curt Bushko <[email protected]>: > >> Hello, >> >> I am building a Docker container based on jenkinsci/jenkins:2.0-beta-1. I >> am autofilling it in with jobs/pipelines but the annoying thing is that >> every time I run the image I have to go through the setup wizard. >> >> How do disable this wizard so that my container will just be up and >> running? >> >> Thanks! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" 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-users/149f107d-59d6-4f74-95bc-1b07742f8239%40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-users/149f107d-59d6-4f74-95bc-1b07742f8239%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" 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-users/CANWgJS53SUUKuoT4qem%3Dj6sgNJ_X3XjXnOmFrE5-JZzyCjAU-Q%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS53SUUKuoT4qem%3Dj6sgNJ_X3XjXnOmFrE5-JZzyCjAU-Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" 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-users/CAMui947kKui-ATTvXoNh7oaAAv0arvKiMxJ8ENL2xSiqbk6SoQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
