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

TopicAssociation field not set after Jenkins restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • gerrit-trigger-plugin
    • Gerrit Trigger Plugin 2.38
      Jenkins Environment 2.361.4
    • Fix released in vers. 2.39

       
      In the job configuration if 

      TopicAssociation

      is enabled and Jenkins is restarted the option is not set anymore.
      The reason is that the

       readResolve() 

      function checks the config value

       private transient boolean enableTopicAssociation = Config.DEFAULT_ENABLE_TOPIC_ASSOCIATION; 

      (GerritTrigger.java) which is always false. Since this condition is always the case the topicAssociation value in the GerritTrigger class is set to "null" (not set).

       

            ckreisl ckreisl
            ckreisl ckreisl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: