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

Provide method to force the setup wizard to run

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      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

            Hide
            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)

            Show
            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)
            Hide
            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.

            Show
            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.
            Hide
            jglick Jesse Glick added a comment -

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

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

              People

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

                Dates

                Created:
                Updated:
                Resolved: