Commit Graph

2 Commits

Author SHA1 Message Date
Randy Coulman 14ac6e9850 Access priority sorter plugin info via short name
In [version 2.0](8f2ae302bd)
of the priority sorter plugin, the long name of the plugin was renamed
to "Jenkins Priority Sorter Plugin", which broke the `priority_sorter`
function in the `properties` module.

The short name did not change, so we now use that instead to ensure
that we generate a configuration that matches the latest required by
the plugin.

Change-Id: I89a8fdabeac63ea482b3b1bd8ddf2dd83c1c7435
Task: 3112
Story: 2000655
2018-06-21 12:11:33 -07:00
John Fragoulis 5e5baa114f Support version 2.0 and greater of the Priority Sorter Plugin
The Priority Sorter Plugin changed the xml specification after 2.0. The commit
reflects that change but also keeps support for version 1.0.

References:
[1] https://storyboard.openstack.org/#!/story/2001534
[2] https://wiki.jenkins.io/display/JENKINS/Priority+Sorter+Plugin

Change-Id: I2f861265dfa64cde930c6a8e66c967bf1e6fc831
Closes-Bug: 2001534
2018-02-14 12:51:26 +02:00