Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-34035

2.0 needs a stable/supported way to disable the Getting Started wizard

    XMLWordPrintable

Details

    Description

      According to danielbeck in this thread

      You could alternatively just go with patching the JENKINS_HOME so Jenkins considers it not an update:

      $ echo -n 2.0 > $JENKINS_HOME/upgraded
      $ echo -n 2.0 > $JENKINS_HOME/.last_exec_version

      The files are being renamed in https://github.com/jenkinsci/jenkins/pull/2215, but for beta 2, the above appears to work.

      But please note that this is considered internal storage so may not work this way forever. I think we'll pretty quickly introduce a supported alternative way though.

      Based on comments by kzantow earlier in the 2.0 development cycle, I was under the impression that setting the system property jenkins.install.runSetupWizard=false would suffice.

      Apparently this is not true.

      For me, and my co-maintainer of the puppet-jenkins module jhoblitt, I believe the lack of a consistent and supported way to disable the "Getting Started" wizard is a blocker for 2.0. We cannot build reliable automation around provisioning Jenkins 2.0 (Puppet, Chef, etc) without it.

      Attachments

        Issue Links

          Activity

            It seems that this was included in the 2.27 release even thou it's not mentioned in the Changelog

            dserodio Daniel Serodio added a comment - It seems that this was included in the 2.27 release even thou it's not mentioned in the Changelog
            danielbeck Daniel Beck added a comment -

            FTR, this change is part of Jenkins 2.0 and not mentioned anywhere since the feature was added during the 2.0 preview/beta releases and this issue discovered and fixed before 2.0.

            danielbeck Daniel Beck added a comment - FTR, this change is part of Jenkins 2.0 and not mentioned anywhere since the feature was added during the 2.0 preview/beta releases and this issue discovered and fixed before 2.0.
            chenzhiwei Zhiwei Chen added a comment -

            Hi, when I disable the Getting Started Wizard, the "slave to master connection" was disabled by default.

            Could you tell me how can I disable the setup wizard without disable slave to master connection?

            chenzhiwei Zhiwei Chen added a comment - Hi, when I disable the Getting Started Wizard, the "slave to master connection" was disabled by default. Could you tell me how can I disable the setup wizard without disable slave to master connection?
            danielbeck Daniel Beck added a comment -

            This is not a support site.

            danielbeck Daniel Beck added a comment - This is not a support site.

            For possible reference, please note that if you're looking for a definitive and up to date list of available system properties, you want to look at https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties

            batmat Baptiste Mathus added a comment - For possible reference, please note that if you're looking for a definitive and up to date list of available system properties, you want to look at https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties

            People

              kzantow Keith Zantow
              rtyler R. Tyler Croy
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: