[JIRA] (JENKINS-13619) Add ability to throttle number of concurrent builds of matrix configurations per node
Title: Message Title Ke Liu edited a comment on JENKINS-13619 Re: Add ability to throttle number of concurrent builds of matrix configurations per node Sorry to re-surface such an old thread. I am trying to do exactly the same thing. I have a matrix build of N child jobs, and M nodes. Each node can only execute one child job at the same time, while child jobs on different nodes don't interfere with each other. Child jobs from different builds don't interfere with each other as long as they don't run on the same node.Is there any example that shows how this can be set up? Right now I observe multiple child jobs being scheduled on the same node. My current configuration (in groovy DSL) is like this (I deleted a bunch of unrelated stuff to make it clearer). Thanks. {code:java} def numShards = 5 matrixJob('') { description('') axes { text('SHARD', (0..(numShards - 1)).collect \ { it.toString() }) label('slaves', "some-label") } concurrentBuild() throttleConcurrentBuilds { maxPerNode(1) } steps { shell('some command') }} {code} Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-13619) Add ability to throttle number of concurrent builds of matrix configurations per node
Title: Message Title Ke Liu commented on JENKINS-13619 Re: Add ability to throttle number of concurrent builds of matrix configurations per node Sorry to re-surface such an old thread. I am trying to do exactly the same thing. I have a matrix build of N child jobs, and M nodes. Each node can only execute one child job at the same time, while child jobs on different nodes don't interfere with each other. Child jobs from different builds don't interfere with each other as long as they don't run on the same node. Is there any example that shows how this can be set up? Right now I observe multiple child jobs being scheduled on the same node. My current configuration (in groovy DSL) is like this (I deleted a bunch of unrelated stuff to make it clearer). Thanks. def numShards = 5 matrixJob('') { description('') axes { text('SHARD', (0..(numShards - 1)).collect \{ it.toString() } ) label('slaves', "some-label") } concurrentBuild() throttleConcurrentBuilds { maxPerNode(1) } steps { shell('some command') } } Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-13619) Add ability to throttle number of concurrent builds of matrix configurations per node
Chris Withers commented on JENKINS-13619 Add ability to throttle number of concurrent builds of matrix configurations per node It appears that the Throttle Concurrent Builds Plugin only works at the parent level, which isn't what is wanted here. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-13619) Add ability to throttle number of concurrent builds of matrix configurations per node
Chris Withers commented on JENKINS-13619 Add ability to throttle number of concurrent builds of matrix configurations per node I've raised an issue to fix this bug in the Throttle Concurrent Builds Plugin: https://issues.jenkins-ci.org/browse/JENKINS-16521 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-13619) Add ability to throttle number of concurrent builds of matrix configurations per node
Kevin Neal commented on JENKINS-13619 Add ability to throttle number of concurrent builds of matrix configurations per node Would this work? https://wiki.jenkins-ci.org/display/JENKINS/Throttle+Concurrent+Builds+Plugin This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13619) Add ability to throttle number of concurrent builds of matrix configurations per node
Adam PAPAI commented on JENKINS-13619 Add ability to throttle number of concurrent builds of matrix configurations per node Do we have any improvements on this? We also need no throttle our matrix jobs. Is there something I can help? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13619) Add ability to throttle number of concurrent builds of matrix configurations per node
Adam PAPAI edited a comment on JENKINS-13619 Add ability to throttle number of concurrent builds of matrix configurations per node Do we have any improvements on this? We also need to throttle our matrix jobs. Is there something I can help? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13619) Add ability to throttle number of concurrent builds of matrix configurations per node
Austen Dicken created JENKINS-13619: --- Summary: Add ability to throttle number of concurrent builds of matrix configurations per node Key: JENKINS-13619 URL: https://issues.jenkins-ci.org/browse/JENKINS-13619 Project: Jenkins Issue Type: New Feature Components: throttle-concurrents Reporter: Austen Dicken Assignee: abayer Priority: Minor It would be extremely useful to be able to throttle the number of concurrent builds of matrix configurations that can take place on a given node. The reason for this is when you have a matrix project in which all subprojects share the same parent workspace data. It is possible then to run concurrent builds across separate nodes, but not on the same node. The specific use case I am running into is for building Android. I have a matrix project that defines configurations for each device I wish to build. Every sub-project shares the same android source tree to build off of, so concurrent builds are not possible on the same node as they would clobber each other, but concurrent builds on separate nodes would be fine. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira