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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Not A Defect
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.651.3.1
      Flexible Publish plugin ver. 0.15.2
    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          ikedam ikedam added a comment -

          What's "publisher template"?

          Show
          ikedam ikedam added a comment - What's "publisher template"?
          Hide
          ataylor 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

          Show
          ataylor 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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: