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 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.

          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: