[JIRA] (JENKINS-44411) Support throttling of blocks without node() in the throttle() step

7 views
Skip to first unread message

cyberjoac@gmail.com (JIRA)

unread,
Jan 16, 2020, 8:10:07 AM1/16/20
to jenkinsc...@googlegroups.com
Joachim Hagege commented on New Feature JENKINS-44411
 
Re: Support throttling of blocks without node() in the throttle() step

Hi, any update on support of declarative pipeline flows ? 
Thanks

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

simon.kaufmann@adesso.ch (JIRA)

unread,
Feb 3, 2020, 8:11:03 AM2/3/20
to jenkinsc...@googlegroups.com

marcus.a.philip@gmail.com (JIRA)

unread,
Apr 2, 2020, 4:31:03 AM4/2/20
to jenkinsc...@googlegroups.com

Lockable resources solves some use cases in declarative pipelines, but not all.

I want to limit builds of a declarative pipeline project to one build per node. I can't achieve this.

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

marcus.a.philip@gmail.com (JIRA)

unread,
Apr 2, 2020, 6:57:03 AM4/2/20
to jenkinsc...@googlegroups.com
Marcus Philip edited a comment on New Feature JENKINS-44411
Lockable resources solves some use cases in declarative pipelines, but not all.

I want to limit builds of a declarative pipeline project to one build per node. I can't achieve this.


The documentation in "Example 3: Throttling of declarative pipelines" is lacking/misguiding. I've tested, and it has no throttling effect on a single declarative Pipeline job. Does it only throttle between jobs using same category? (And in that case, are different branches in a multi-branch pipeline considered different jobs?) IMHO, that feature is not as useful as being able to throttle on the same job.
Reply all
Reply to author
Forward
0 new messages