Has anyone used the 'Throttle Concurrent Builds Plugin' in a declarative 
pipeline?

>From what i understand, throttle() will throttle nodes, which are optional 
in a dp:

    pipeline {
        agent any
    }

When introducing an explicit node

    pipeline {
        throttle(['THROTTLE1']) {
            node {
            }
        }
    }

Jenkins complains 'WorkflowScript: 3: Invalid agent type "throttle" 
specified. Must be one of [docker, dockerfile, label, any, None]'

Thoughts?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ed4879df-b386-4370-bc57-ae679ab5db2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to