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

Implied label definitions are erased when system configuration is saved

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • implied-labels-plugin
    • None
    • Jenkins 2.387.3 or newer with implied labels 278.v7fc7ed998039 and 280.ve218c64f476a_

      When configuration as code support was added, a bug was introduced that erases the label implications when the system configuration page is saved.

      The bug exists in implied label plugins

      Users of Jenkins 2.387.3 will either need to downgrade the implied labels plugin to 228.v63b_3f8443d4e or upgrade their Jenkins controller to 2.401.3 or newer. The fixed version of implied labels plugin requires Jenkins 2.401.3 or newer

          [JENKINS-72313] Implied label definitions are erased when system configuration is saved

          Mark Waite created issue -

          Mark Waite added a comment -

          https://github.com/jenkinsci/implied-labels-plugin/pull/165 is the pull request that resolves the issue.

          Mark Waite added a comment - https://github.com/jenkinsci/implied-labels-plugin/pull/165 is the pull request that resolves the issue.
          Mark Waite made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Mark Waite made changes -
          Remote Link New: This issue links to "PR-165 with the fix to not erase implications when system configuration is saved (Web Link)" [ 29021 ]
          Mark Waite made changes -
          Released As New: https://github.com/jenkinsci/implied-labels-plugin/releases/tag/281.v1322d123c2b_4
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]
          Mark Waite made changes -
          Description Original: When configuration as code support was added, a bug was introduced that erases the label implications when the system configuration page is saved.

          The bug exists in implied label plugins

          * https://plugins.jenkins.io/implied-labels/releases/#version_280.ve218c64f476a_
          * https://plugins.jenkins.io/implied-labels/releases/#version_278.v7fc7ed998039
          New: When configuration as code support was added, a bug was introduced that erases the label implications when the system configuration page is saved.

          The bug exists in implied label plugins

          * https://plugins.jenkins.io/implied-labels/releases/#version_280.ve218c64f476a_
          * https://plugins.jenkins.io/implied-labels/releases/#version_278.v7fc7ed998039

          Users of Jenkins 2.387.3 will either need to downgrade the implied labels plugin to [228.v63b_3f8443d4e|https://github.com/jenkinsci/implied-labels-plugin/releases/tag/228.v63b_3f8443d4e] or upgrade their Jenkins controller to 2.401.3 or newer. The fixed version of implied labels plugin requires Jenkins 2.401.3 or newer
          Mark Waite made changes -
          Description Original: When configuration as code support was added, a bug was introduced that erases the label implications when the system configuration page is saved.

          The bug exists in implied label plugins

          * https://plugins.jenkins.io/implied-labels/releases/#version_280.ve218c64f476a_
          * https://plugins.jenkins.io/implied-labels/releases/#version_278.v7fc7ed998039

          Users of Jenkins 2.387.3 will either need to downgrade the implied labels plugin to [228.v63b_3f8443d4e|https://github.com/jenkinsci/implied-labels-plugin/releases/tag/228.v63b_3f8443d4e] or upgrade their Jenkins controller to 2.401.3 or newer. The fixed version of implied labels plugin requires Jenkins 2.401.3 or newer
          New: When configuration as code support was added, a bug was introduced that erases the label implications when the system configuration page is saved.

          The bug exists in implied label plugins

          * [280.ve218c64f476a_|https://plugins.jenkins.io/implied-labels/releases/#version_280.ve218c64f476a_]
          * [278.v7fc7ed998039|https://plugins.jenkins.io/implied-labels/releases/#version_278.v7fc7ed998039]

          Users of Jenkins 2.387.3 will either need to downgrade the implied labels plugin to [228.v63b_3f8443d4e|https://github.com/jenkinsci/implied-labels-plugin/releases/tag/228.v63b_3f8443d4e] or upgrade their Jenkins controller to 2.401.3 or newer. The fixed version of implied labels plugin requires Jenkins 2.401.3 or newer

          Thanks for creating bug and release

          I realized that my Jenkins instance was broken after saving some config by hand which normally I only manage by JCasC

          At the same time I also found similar issue on the Kubernetes plugin here : https://issues.jenkins.io/browse/JENKINS-72314 but is related to Cloud configuration page which erase pod template. Probably similar issue that an empty list of pod template is submitted by the form when configuration is saved

          Valentin Delaye added a comment - Thanks for creating bug and release I realized that my Jenkins instance was broken after saving some config by hand which normally I only manage by JCasC At the same time I also found similar issue on the Kubernetes plugin here : https://issues.jenkins.io/browse/JENKINS-72314 but is related to Cloud configuration page which erase pod template. Probably similar issue that an empty list of pod template is submitted by the form when configuration is saved

          Mark Waite added a comment -

          jonesbusy thanks especially to you for finding the root cause of the issue. I would never deduced a connection between saving system configuration and erasing implied labels definition.

          Mark Waite added a comment - jonesbusy thanks especially to you for finding the root cause of the issue. I would never deduced a connection between saving system configuration and erasing implied labels definition.

            Unassigned Unassigned
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: