Comments (5)
Is there any activity on this issue? GitHub doesn't show any referent PRs.
I also see this bug with two entirely distinct freestyle jobs locking on the same resource.
I'm currently living with the fact that I have to carefully remember to not upgrade this plugin because it will break half of our builds.
from lockable-resources-plugin.
Downgrading only helps if you save the job afterwards.
More specifically the issue is present when the job config looks like this:
<org.jenkins.plugins.lockableresources.RequiredResourcesProperty plugin="[email protected]">
<resourceNames>ResX ResY</resourceNames>
<resourceNamesVar></resourceNamesVar>
<resourceNumber></resourceNumber>
<labelName></labelName>
</org.jenkins.plugins.lockableresources.RequiredResourcesProperty>
But this works fine:
<org.jenkins.plugins.lockableresources.RequiredResourcesProperty plugin="[email protected]">
<resourceNames>ResX ResY</resourceNames>
</org.jenkins.plugins.lockableresources.RequiredResourcesProperty>
from lockable-resources-plugin.
This should have been fixed with #89 (?) - so since 2.2 (March 2018) this should work as expected...
from lockable-resources-plugin.
IIRC, we tested the 2.2 release when it came out and confirmed that it fixed the issue for us. At the very least, we upgraded and nobody in our team has complained in the past year.
We've also stopped relying on this plugin so much for our builds, so it's possible that we wouldn't catch it in our organization if it were still happening in rare cases.
from lockable-resources-plugin.
@sirosen Thanks for the feedback, I'm closing this issue then - Feel free to reopen if the issue reappears.
from lockable-resources-plugin.
Related Issues (20)
- Is there any API documentation on what is supported? Can this be used from command line outside of jenkins? HOT 10
- Missing permission Job/Configure for Administrator
- Adapt plugin for Data Table API 2.0.x HOT 6
- Set reserved timestamp when stealing lock
- manually unlock "globally locked" resource early
- ReservedTimeStamp leads to failure in Plugin:Configuration as Code Plugin during booting jenkins HOT 1
- Add feature to prevent creation of Ephemeral resources
- Sometimes the plugin throws an IndexOutOfBoundsException with multiple locks HOT 1
- Extend lockable-resources build page
- Add timemout attribute to eliminate long stuck when resource is long time locked / reserved
- Sort requested resources by user defined groovy script
- Implement executor count for one resource
- Add way to cancel current queued requests in one job (by groovy)
- Lock the whole pipeline base on variable , and excute stage on specific agent HOT 2
- Jenkins events on lock actions
- Reoccurring null in LockableResourcesManager resources HOT 1
- Make matrix-project optional dependency
- Lock resources whose names are provided by build parameters. HOT 1
- Add ability to "offline" a resource through Declarative pipeline code HOT 2
- Add ability to do custom check on a device when locking
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lockable-resources-plugin.