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

Flexible Publish does not work with Publishers using Descriptor#newInstance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Flexible Publish 0.11

      Following publishers does not work correctly when contained in Flexible Publish plugin.

      • Publishers that do not use DataBoundConstructor annotation for their constructors.
        • E-mail Notification ( hudson.tasks.Mailer at least in Jenkins 1.425)
          • Fails to save the project configuration.
        • These publishers are automatically filtered by current implementation.
      • Publishers that have their own Descriptor#newInstance.
        • Publish JUnit test result report hudson.tasks.junit.JUnitResultArchiver.
          • Fails to store configurations extended with TestDataPublisher. It is stored in Descriptor#newInstance, but not in the constructor.
          • For example, JUnit Attachments Plugin
        • Cobertura Plugin
          • Fails to store "Coverage Metric Targets", which is stored in Descriptor#newInstance.
        • RunDeck Plugin
          • Fails to store "Job ID", which is stored in Descriptor#newInstance(Also stored in the constructor, but the field name is mismatched).

      I try to handle Descriptor#newInstance.

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

              Created:
              Updated:
              Resolved: