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

Groovy script is lost when upgrading the plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: claim-plugin
    • Labels:
      None
    • Environment:
      from 2.10 version of the plugin
    • Similar Issues:

      Description

      Currently, when updating the claim-plugin to it's latest version, the global configuration seems to be resetted. I.e. any groovy script given there will be deleted after the update.

      This is highly unpleasant for obvious reasons.

        Attachments

          Activity

          Hide
          greybird Arnaud TAMAILLON added a comment -

          Hi,

          Can you please indicate from which version to which one you are updating so that I can try to reproduce ?

          Thanks,

          Show
          greybird Arnaud TAMAILLON added a comment - Hi, Can you please indicate from which version to which one you are updating so that I can try to reproduce ? Thanks,
          Hide
          up_lange Urs Lange added a comment - - edited

          Hi,

          the problem occured for at least the last two updates 2.11 -> 2.12 and 2.12 -> 2.13. The OS is a Windows Server 2012.

          Show
          up_lange Urs Lange added a comment - - edited Hi, the problem occured for at least the last two updates 2.11 -> 2.12 and 2.12 -> 2.13. The OS is a Windows Server 2012.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Arnaud
          Path:
          src/main/java/hudson/plugins/claim/ClaimConfig.java
          http://jenkins-ci.org/commit/claim-plugin/f7fcc028eb0a55d8a311a656575acdffae37b0a6
          Log:
          JENKINS-49015 Groovy script is lost when upgrading the plugin

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arnaud Path: src/main/java/hudson/plugins/claim/ClaimConfig.java http://jenkins-ci.org/commit/claim-plugin/f7fcc028eb0a55d8a311a656575acdffae37b0a6 Log: JENKINS-49015 Groovy script is lost when upgrading the plugin
          Hide
          greybird Arnaud TAMAILLON added a comment -

          Fixed in 2.14, thanks for signaling the issue.

          Show
          greybird Arnaud TAMAILLON added a comment - Fixed in 2.14, thanks for signaling the issue.

            People

            • Assignee:
              greybird Arnaud TAMAILLON
              Reporter:
              up_lange Urs Lange
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: