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

When using Multiple Publisher Templates with Flexible publisher it will configure back to the one highest in Alphabetical order

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • None
    • Jenkins ver. 1.651.3.1
      Flexible Publish plugin ver. 0.15.2

      Issue:
      If you create 2 publisher templates, Publisher_A and Publisher_B, then try to use select Publisher_B inside of the `Add` section of the flexible publisher plugin it will revert back to Publisher_A once the configuration is saved.

      Steps to Reproduce:
      Create 2 new Publisher Templates: Publisher_A and Publisher_B
      Their transformer can be whatever you want as long as they save
      Create a new Freestyle project
      Create a post build action of Flexible Publish
      Add an Action under Conditional Action
      Select Publisher_B
      Save the configuration
      Go back into the configuration screen(or look at the config.xml)
      Check the action and it has reverted back to Publisher_A

          [JENKINS-37893] When using Multiple Publisher Templates with Flexible publisher it will configure back to the one highest in Alphabetical order

          ikedam added a comment -

          What's "publisher template"?

          ikedam added a comment - What's "publisher template"?

          Alex Taylor added a comment -

          Sorry this may not actually be related to the Flexible Publisher plugin.

          I found out this same issue happens inside of the Build Timeout Plugin leading me to think it is an issue with templates and Publisher Templates specifically.

          Publisher Templates are from the CloudBees Templates plugin and seem to be the only ones that are sorted incorrectly. So maybe some sorting issues with the templates plugin specifically. I am going to leave this open until I am able to ask CloudBees developers to see where the issue may lie.

          Thanks

          Alex Taylor added a comment - Sorry this may not actually be related to the Flexible Publisher plugin. I found out this same issue happens inside of the Build Timeout Plugin leading me to think it is an issue with templates and Publisher Templates specifically. Publisher Templates are from the CloudBees Templates plugin and seem to be the only ones that are sorted incorrectly. So maybe some sorting issues with the templates plugin specifically. I am going to leave this open until I am able to ask CloudBees developers to see where the issue may lie. Thanks

            ataylor Alex Taylor
            ataylor Alex Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: