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

Confluence publishes loses configuration when job edited

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Jenkins 2.121.1, confluence publisher 2.0.1, Ubuntu 16.04.3 LTS 64bit, java-8-openjdk-amd64

      When a Jenkins Job definition (that uses confluence publisher Wiki Markup Replacements sections) is saved the confluence plugin Wiki Markup Replacements section is correctly saved to the jobs config.xml, but when the job is re-loaded to edit, the Wiki Markup Replacements section is blank. 

      All pre-pend, append, replace content generator sections are missing, and if the job is saved again, these are removed from the config.xml file.

      It is as if the section  <editors><com.myyearbook.hudson.plugins.confluence.wiki.editors.EntirePageEditor>

      has been removed.

      The effect of this is that the Wiki Markup Replacements sections must be re-entered from scratch each time an edit needs saving

          [JENKINS-52538] Confluence publishes loses configuration when job edited

          Same here – publisher 2.0.1 and 2.0.2.

          Any way I can help push this feature? Maybe a place to look for logs from the time?

          Torge Husfeldt added a comment - Same here – publisher 2.0.1 and 2.0.2. Any way I can help push this feature? Maybe a place to look for logs from the time?

          From the commit comment it looks like this should be fixed with:

          https://github.com/jenkinsci/confluence-publisher-plugin/commit/632f026077a78df848be6d2296cf6fbaba12a278

          This commit is tagged with version confluence-publisher-2.0.3.

          Hopefully, will try this out on our installation, but whoever is following here, feel free do do so, too – and hopefully tag this issue as fixed with that version.

          HTH

          Torge

          Torge Husfeldt added a comment - From the commit comment it looks like this should be fixed with: https://github.com/jenkinsci/confluence-publisher-plugin/commit/632f026077a78df848be6d2296cf6fbaba12a278 This commit is tagged with version  confluence-publisher-2.0.3 . Hopefully, will try this out on our installation, but whoever is following here, feel free do do so, too – and hopefully tag this issue as fixed with that version. HTH Torge

          Fix confirmed,

          jhansche could you please update the ticket accordingly?

          Thanks in advance

          Torge

          Torge Husfeldt added a comment - Fix confirmed, jhansche could you please update the ticket accordingly? Thanks in advance Torge

            jhansche Joe Hansche
            samliddicott Sam Liddicott
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: