Skip to content

[JENKINS-71636] maxConcurrentPerNode not working #446

@jenkins-infra-bot

Description

@jenkins-infra-bot

 

I have one main node and 2 slave node.

I want to limit  one task at the same time per node.

So I set maxConcurrentPerNode: 1, maxConcurrentTotal: 0

But it does not work!!

 

Here is my code

// code placeholder
options {
    throttleJobProperty categories: [], limitOneJobWithMatchingParams: false, maxConcurrentPerNode: 1, maxConcurrentTotal: 0, paramsToUseForLimit: 'Packer', throttleEnabled: true, throttleOption: 'project'
} 

 


Originally reported by xushunwang, imported from: maxConcurrentPerNode not working
  • status: Open
  • priority: Blocker
  • component(s): throttle-concurrent-builds-plugin
  • resolution: Unresolved
  • votes: 6
  • watchers: 13
  • imported: 20251218-075729
Raw content of original issue

 

I have one main node and 2 slave node.

I want to limit  one task at the same time per node.

So I set maxConcurrentPerNode: 1, maxConcurrentTotal: 0

But it does not work!!

 

Here is my code

// code placeholder
options {
    throttleJobProperty categories: [], limitOneJobWithMatchingParams: false, maxConcurrentPerNode: 1, maxConcurrentTotal: 0, paramsToUseForLimit: 'Packer', throttleEnabled: true, throttleOption: 'project'
} 

 

environment
Jenkins 2.387.2<br/>
Throttle Concurrent Builds Plug-in   2.14

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions