jenkinsci / lockable-resources-plugin

Lock resources against concurrent use
https://plugins.jenkins.io/lockable-resources
MIT License
87 stars 185 forks source link

Improve lockable-resources build (job) page #673

Closed mPokornyETM closed 2 months ago

mPokornyETM commented 5 months ago

Partly implement #667 with focus on performacne. fix #703 The main change is to synchronized the addAction() per build and not global. Also usage of getReadOnlyResources() is more or less obsolete, because all the actions provides in this plugin are synchronized correctly. That measn we spare a lot of memory and CPU by skipping the copy of all resources.

Testing done

My local tests (and also performance tests) looks fine

New LockableResources look on build page image

tested also in #703

Proposed upgrade guidelines

N/A

Localizations

Submitter checklist