• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      When pre-installing plugins that create built-in items, the setup wizard thinks it is an upgrade because of https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/jenkins/install/InstallUtil.java#L187

      There should be a way force the setup wizard to run.

          [JENKINS-37438] Provide method to force the setup wizard to run

          Jesse Glick added a comment -

          Can you explain what a “built-in item” is? Any example you can point to?

          Jesse Glick added a comment - Can you explain what a “built-in item” is? Any example you can point to?

          Vincent Latombe added a comment - - edited

          What I call a built-in item is an item that is created before or during initialization as part of initial provisioning.

          Before includes any item that is created in advance by any provisioning script before starting Jenkins: folder structure, utility jobs, etc.
          During initialization can include items created by groovy scripts in init.groovy.d, or by plugins on startup.

          Unfortunately I don't have any OSS example, only closed source.

          Vincent Latombe added a comment - - edited What I call a built-in item is an item that is created before or during initialization as part of initial provisioning. Before includes any item that is created in advance by any provisioning script before starting Jenkins: folder structure, utility jobs, etc. During initialization can include items created by groovy scripts in init.groovy.d, or by plugins on startup. Unfortunately I don't have any OSS example, only closed source.

          Code changed in jenkins
          User: Keith Zantow
          Path:
          core/src/main/java/jenkins/install/InstallUtil.java
          http://jenkins-ci.org/commit/jenkins/4376fdedfc85a652f77af098d539e30dd18665fa
          Log:
          JENKINS-37438 - method to run setup wizard after Jenkins is modified (#2512)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Keith Zantow Path: core/src/main/java/jenkins/install/InstallUtil.java http://jenkins-ci.org/commit/jenkins/4376fdedfc85a652f77af098d539e30dd18665fa Log: JENKINS-37438 - method to run setup wizard after Jenkins is modified (#2512)

            kzantow Keith Zantow
            vlatombe Vincent Latombe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: