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

UpdatePolicy reset to default on edit

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      On configure page of a job the value of the Snapshot and Release UpdatePolicy is reset to default value (daily) ignoring the value previously set. Same for the ChecksumPolicy.

      If the config is Saved or Applyed the default value is register in the config file causing unexpected change in job configuration.

       

        Attachments

          Issue Links

            Activity

            Hide
            tjouve thomas jouve added a comment -

            Seem to have to update DescriptorImpl and add a default constructor calling methode load(). Then handle if value already set or not in config file.

            Show
            tjouve thomas jouve added a comment - Seem to have to update DescriptorImpl and add a default constructor calling methode load(). Then handle if value already set or not in config file.
            Show
            tjouve thomas jouve added a comment - Fix proposal in https://github.com/jenkinsci/repository-connector-plugin/pull/34
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: tJouve
            Path:
            src/main/java/org/jvnet/hudson/plugins/repositoryconnector/ArtifactResolver.java
            http://jenkins-ci.org/commit/repository-connector-plugin/abe4c4fa280ca27c6e8cb34d3e161e234774a09f
            Log:
            JENKINS-50963 - UpdatePolicies and ChecksumPolicy rest to default on edit. On doFill action for those field the default value is no longer forced. (#34)

            *NOTE:* This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

            Functionality will be removed from GitHub.com on January 31st, 2019.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: tJouve Path: src/main/java/org/jvnet/hudson/plugins/repositoryconnector/ArtifactResolver.java http://jenkins-ci.org/commit/repository-connector-plugin/abe4c4fa280ca27c6e8cb34d3e161e234774a09f Log: JENKINS-50963 - UpdatePolicies and ChecksumPolicy rest to default on edit. On doFill action for those field the default value is no longer forced. (#34) * NOTE: * This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
            Hide
            jgangemi Jae Gangemi added a comment -

            releases as 1.2.4, should be available shortly

            Show
            jgangemi Jae Gangemi added a comment - releases as 1.2.4 , should be available shortly

              People

              • Assignee:
                jgangemi Jae Gangemi
                Reporter:
                tjouve thomas jouve
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: