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

Job DSL no longer works with Priority Sorter

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      After upgrading to Priority Sorter 3.0, the priority() method no longer works when defining a job using the DSL.

      I suspect this is related to JENKINS-23552. There isn't much explanation for what the old functionality was "replaced" with, and how I can create a job with a priority.

        Attachments

          Issue Links

            Activity

            Hide
            emsa23 Magnus Sandberg added a comment -

            Realised this issue is also mapped to job-dsl-plugin, if you want to upgrade the dsl-plugin to work with never versions on priority-sorter and need some directions just let me know.

            Show
            emsa23 Magnus Sandberg added a comment - Realised this issue is also mapped to job-dsl-plugin, if you want to upgrade the dsl-plugin to work with never versions on priority-sorter and need some directions just let me know.
            Hide
            emsa23 Magnus Sandberg added a comment -

            The way the DSL plugin uses priority() is only compatible with Priority Sorter 1.x or 2.x in Legacy Mode and not with 3.x and higher.

            Please read the wiki on how to use newer versions (Advanced Mode) where grouping "top down" is preferred over setting priorities directly on Jobs,

            Show
            emsa23 Magnus Sandberg added a comment - The way the DSL plugin uses priority() is only compatible with Priority Sorter 1.x or 2.x in Legacy Mode and not with 3.x and higher. Please read the wiki on how to use newer versions (Advanced Mode) where grouping "top down" is preferred over setting priorities directly on Jobs,

              People

              Assignee:
              daspilker Daniel Spilker
              Reporter:
              draperp Paul Draper
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: