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

Provide method to force the setup wizard to run

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            jglick Jesse Glick added a comment -

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

            jglick Jesse Glick added a comment - Can you explain what a “built-in item” is? Any example you can point to?
            vlatombe 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.

            vlatombe 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_issue_link 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)

            People

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

              Dates

                Created:
                Updated:
                Resolved: