lockable-resources-plugin
lockable-resources-plugin copied to clipboard
Feature request: configurable priorities
Please add a parameter "priority" to the lock() function, which takes an integer number that defines the order in which concurrent jobs waiting for the same resource are served. The job with the highest number would get the resource first. If the priority is equal, the current precedence (first comes first, unless inversePrecedence is true) would be applied.
This feature was removed in version 1.7 of this plugin (see https://github.com/jenkinsci/lockable-resources-plugin/commit/a07a64244e3ee2b65a67d5111a6e8aa90c2b3249), long before I took over maintainership. The commit suggests this could be done with external plugins, but I currently see no extension point to facilitate this...
This feature was removed in version 1.7 of this plugin (see a07a642), long before I took over maintainership. The commit suggests this could be done with external plugins, but I currently see no extension point to facilitate this...
In that case shall be reverted. I will like this feature too.
See also #223
@rjarry had you any idea why it was removed?
This was a long time ago. I think it was to allow using lockable-resources with https://plugins.jenkins.io/PrioritySorter/
Hey everyone! I'm interested in prioritizing production branches over PRs. This seems to do it, any news?
@lppedd Currently not. Let me see what will be possible. Or do you want to participate. Any help are welcome.
@mPokornyETM it's just strange this was removed in the commit mentioned above.
The alternative plugins do not do the same at all.
@mPokornyETM it's just strange this was removed in the commit mentioned above. The alternative plugins do not do the same at all.
even better, It shall be easy to revert the commit. I hope.