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

Release plugin doesn't appear at all

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • release-plugin
    • None
    • CentOS 7.4.1708, Jenkins ver. 2.106, Release plugin v2.10

      We've had the release plugin working on our Jenkins installation for quite a while and used the lastSuccessfulReleaseBuild permalink as a way to publish our downloads. A couple weeks ago this just stopped working. I'm not sure if it was the upgrade to v2.10 or not, although that happened in close proximity time-wise to when the problem started occurring.

      When I started looking into it, I realized that nothing from the release plugin was working: we don't have the lastSuccessfulReleaseBuild permalink, the Release option is no longer available in pop-ups, and previous release builds are no longer marked as release builds (although they are still marked as "keep forever"). I included a screen shot of one of our projects where you can see the lack of lastSuccessfulReleaseBuild permalink as well as a build marked "keep forever" that was our previous 1.7.4.1 release.

      I've tried removing the release plugin and reinstalling it with no change. I've removed it, completely deleted it from the plugins folder (release.jpi, release.hpi.pinned and the release folder), and reinstalled it. No change. There are no errors relating to the release plugin in the jenkins.log that I can see.

      Here are all of the files for the plugin (as far as I know) in the plugins folder:

      -> # ls -l release*
      rw-rr-. 1 jenkins jenkins 91425 Feb 13 11:13 release.jpirelease:
      total 36
      rw-rr-. 1 jenkins jenkins 200 Jan 15 13:56 help-doNotKeepLog.html
      rw-rr-. 1 jenkins jenkins 97 Jan 15 13:56 help-globalConfig.html
      rw-rr-. 1 jenkins jenkins 1547 Jan 15 13:56 help-overrideBuildParameters.html
      rw-rr-. 1 jenkins jenkins 259 Jan 15 13:56 help-projectConfig.html
      rw-rr-. 1 jenkins jenkins 389 Jan 15 13:56 help-releaseVersionTemplate.html
      drwxr-xr-x. 3 jenkins jenkins 4096 Feb 13 11:13 META-INF
      drwxr-xr-x. 2 jenkins jenkins 4096 Feb 13 11:13 promotion
      drwxr-xr-x. 2 jenkins jenkins 4096 Feb 13 11:13 view-filter
      drwxr-xr-x. 3 jenkins jenkins 4096 Feb 13 11:13 WEB-INF

      Here's everything from jenkins.log from the first mention of release to the last:

      Feb 13, 2018 11:13:27 AM hudson.model.UpdateCenter$DownloadJob run
      INFO: Starting the installation of Release Plugin on behalf of jrherrick@wustl.edu
      Feb 13, 2018 11:13:27 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
      INFO: Downloading Release Plugin
      Feb 13, 2018 11:13:27 AM hudson.PluginManager dynamicLoad
      INFO: Attempting to dynamic load /var/lib/jenkins/plugins/release.jpi
      Feb 13, 2018 11:13:27 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Started initialization
      Feb 13, 2018 11:13:27 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Listed all plugins
      Feb 13, 2018 11:13:27 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Prepared all plugins
      Feb 13, 2018 11:13:27 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Started all plugins
      Feb 13, 2018 11:13:27 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Augmented all extensions
      Feb 13, 2018 11:13:27 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Loaded all jobs
      Feb 13, 2018 11:13:27 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Completed initialization
      Feb 13, 2018 11:13:27 AM hudson.PluginManager dynamicLoad
      INFO: Plugin release:2.10 dynamically installed
      Feb 13, 2018 11:13:27 AM hudson.model.UpdateCenter$DownloadJob run
      INFO: Installation successful: Release Plugin

      I restarted the server after the installation but no change.

      Please let me know if I can provide any other info to get this problem sorted out.

            oleg_nenashev Oleg Nenashev
            rherrick rherrick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: