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

Updating built-in plugins doesn't work, the file doesn't get pinned and is overwritten on the next startup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      jenkins 1.456, tomcat 7.0.25, java 1.6.0-31 running on windows vista

    • Similar Issues:

      Description

      I still cannot update cvs or subversion plugins without manually creating a .pinned file.

      When e.g. updating cvs plugin 1.6 (shipped with jenkins.war) to 2.1, the file is installed into the plugin dir, but no cvs.jpi.pinned file is created. When restarting the tomcat server, the file is replaced by the 1.6 version from the war directory.

        Attachments

          Issue Links

            Activity

            Hide
            alexlehm Alex Lehmann added a comment -

            fixed in jenkins_main_trunk#1623

            Show
            alexlehm Alex Lehmann added a comment - fixed in jenkins_main_trunk#1623
            Hide
            kohsuke Kohsuke Kawaguchi added a comment -

            Bumping up the priority to be on the LTS backporting radar.

            Show
            kohsuke Kohsuke Kawaguchi added a comment - Bumping up the priority to be on the LTS backporting radar.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Alex Lehmann
            Path:
            core/src/main/java/hudson/PluginManager.java
            test/src/test/java/hudson/PluginManagerTest2.java
            http://jenkins-ci.org/commit/jenkins/2453985ca5f4cb2c824466d132fe3658020b72fe
            Log:
            [Fixed JENKINS-13129] Updating built-in plugins doesn't work, the file doesn't get pinned and is overwritten on the next startup

            changed bundled plugin detection, added unit test

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Lehmann Path: core/src/main/java/hudson/PluginManager.java test/src/test/java/hudson/PluginManagerTest2.java http://jenkins-ci.org/commit/jenkins/2453985ca5f4cb2c824466d132fe3658020b72fe Log: [Fixed JENKINS-13129] Updating built-in plugins doesn't work, the file doesn't get pinned and is overwritten on the next startup changed bundled plugin detection, added unit test
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_ui-changes_branch #21
            [Fixed JENKINS-13129] Updating built-in plugins doesn't work, the file doesn't get pinned and is overwritten on the next startup (Revision 2453985ca5f4cb2c824466d132fe3658020b72fe)

            Result = SUCCESS
            alexlehm : 2453985ca5f4cb2c824466d132fe3658020b72fe
            Files :

            • test/src/test/java/hudson/PluginManagerTest2.java
            • core/src/main/java/hudson/PluginManager.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_ui-changes_branch #21 [Fixed JENKINS-13129] Updating built-in plugins doesn't work, the file doesn't get pinned and is overwritten on the next startup (Revision 2453985ca5f4cb2c824466d132fe3658020b72fe) Result = SUCCESS alexlehm : 2453985ca5f4cb2c824466d132fe3658020b72fe Files : test/src/test/java/hudson/PluginManagerTest2.java core/src/main/java/hudson/PluginManager.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Alex Lehmann
            Path:
            core/src/main/java/hudson/PluginManager.java
            test/src/test/java/hudson/PluginManagerTest2.java
            http://jenkins-ci.org/commit/jenkins/e986dcd929886182db6c5c1926ba01a927ba55d2
            Log:
            [Fixed JENKINS-13129] Updating built-in plugins doesn't work, the file doesn't get pinned and is overwritten on the next startup

            changed bundled plugin detection, added unit test
            (cherry picked from commit 2453985ca5f4cb2c824466d132fe3658020b72fe)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Lehmann Path: core/src/main/java/hudson/PluginManager.java test/src/test/java/hudson/PluginManagerTest2.java http://jenkins-ci.org/commit/jenkins/e986dcd929886182db6c5c1926ba01a927ba55d2 Log: [Fixed JENKINS-13129] Updating built-in plugins doesn't work, the file doesn't get pinned and is overwritten on the next startup changed bundled plugin detection, added unit test (cherry picked from commit 2453985ca5f4cb2c824466d132fe3658020b72fe)

              People

              • Assignee:
                alexlehm Alex Lehmann
                Reporter:
                alexlehm Alex Lehmann
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: