Skip to content

Conversation

@gcummings
Copy link

Hi,

This is to enable a configurable interval/delay between start of concurrent builds for a project.
More detail of available in Jira: https://issues.jenkins-ci.org/browse/JENKINS-23368

feedback and questions welcome

thanks
Geoff

@cloudbees-pull-request-builder

plugins » throttle-concurrent-builds-plugin #37 SUCCESS
This pull request looks good

@jenkinsadmin
Copy link
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

@sergiopereiraTT
Copy link

I'd love this feature too. Is this PR still being reviewed/considered?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An old constructor is also required for the backward compatibility

@oleg-nenashev
Copy link
Member

The change would be useful.
Let's merge it into 1.9.x

@oleg-nenashev oleg-nenashev added this to the 1.9 milestone Oct 9, 2014
@oleg-nenashev oleg-nenashev mentioned this pull request Oct 9, 2014
@oleg-nenashev oleg-nenashev self-assigned this Apr 10, 2016
@oleg-nenashev
Copy link
Member

The pull request needs some polishing for the initialization flows. Now it stores null till the first getter invocation. readResolve() would be helpful. I'm also aware about exposing Long to the external interface.

@oleg-nenashev oleg-nenashev removed this from the 1.9 milestone Apr 10, 2016
Run<?,?> lastBuild = p.getLastBuild();
if (null != lastBuild && lastBuild.isBuilding()) {

// Probably better to use lastBuild.getStartTimeInMillis() which was introduced in Jenkins 1.494.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The core dependency has been bumped, hence it can be updated now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants