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.

       

          [JENKINS-50963] UpdatePolicy reset to default on edit

          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.

          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.

          thomas jouve added a comment -

          thomas jouve added a comment - Fix proposal in https://github.com/jenkinsci/repository-connector-plugin/pull/34

          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.

          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.

          Jae Gangemi added a comment -

          releases as 1.2.4, should be available shortly

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

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

              Created:
              Updated:
              Resolved: