Giter VIP home page Giter VIP logo

Comments (5)

sirosen avatar sirosen commented on August 17, 2024 4

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.

debfx avatar debfx commented on August 17, 2024 1

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.

TobiX avatar TobiX commented on August 17, 2024

This should have been fixed with #89 (?) - so since 2.2 (March 2018) this should work as expected...

from lockable-resources-plugin.

sirosen avatar sirosen commented on August 17, 2024

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.

TobiX avatar TobiX commented on August 17, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.