Re: Query about running different job steps on different slaves
This SEEMS to be a pretty cool component, allowing for some features that I've been dying to have in Jenkins. Unfortunately, I'm encountering a number of errors as I try to use the plugin. I'll send those along directly rather than clutter up the group. Also - I would strongly recommend publishing this component like other Jenkins components. It would be a great component to have if it works like it seems to work. On Sunday, November 25, 2012 2:08:21 PM UTC-8, Ivan Kalinin wrote: Sure, here it is: http://db.tt/reV8CziX On Sunday, November 25, 2012 8:07:15 PM UTC+4, Jason Swager wrote: Having troubles getting a build environment built up. Could you publish the jpi so that it could be loaded directly into Jenkins? On Sunday, November 25, 2012 6:19:09 AM UTC-8, Ivan Kalinin wrote: Hi there! So have u tried that thing? If its broken or something is missing I can try 2 fix that. On Thursday, November 22, 2012 5:31:17 PM UTC+4, alok kumar wrote: Hey there, That would be great!! Can you please share it with me? Also, please let me know how to get it from github as I am new to this. Thanks a lot for the help. Alok On Thu, Nov 22, 2012 at 12:10 PM, Ivan Kalinin pups...@gmail.comwrote: Hi! Actually, I've managed to develop a plugin for my own needs that implements what you want. It allows to 'connect' a group of slaves to form a so-called 'compound slave' - a virtual entity, proxying Slave.doBuild() (or wassitsname) to a different subslave of the group. It adds a build step 'run something on a sub-node' to delegate particular build step to a sub-slave. The plugin even can create 'compound' slaves on-the-fly as a cloud provider from real slaves provisioned in some other cloud. If that sounds promising to you, I can share it on github (currently is privately-hosted) and you can try to tweak it up to you needs. Cheers, pupssman. On Wednesday, November 21, 2012 6:18:29 PM UTC+4, alok kumar wrote: Hi, Can anyone let me know if it is possible to execute different build steps on different slaves from within a single job? Is there any plugin that supports that? If not, what can be the workaround to achieve the same? Any help would be greatly appreciated. Thanks, Alok
Re: Query about running different job steps on different slaves
Having troubles getting a build environment built up. Could you publish the jpi so that it could be loaded directly into Jenkins? On Sunday, November 25, 2012 6:19:09 AM UTC-8, Ivan Kalinin wrote: Hi there! So have u tried that thing? If its broken or something is missing I can try 2 fix that. On Thursday, November 22, 2012 5:31:17 PM UTC+4, alok kumar wrote: Hey there, That would be great!! Can you please share it with me? Also, please let me know how to get it from github as I am new to this. Thanks a lot for the help. Alok On Thu, Nov 22, 2012 at 12:10 PM, Ivan Kalinin pups...@gmail.com wrote: Hi! Actually, I've managed to develop a plugin for my own needs that implements what you want. It allows to 'connect' a group of slaves to form a so-called 'compound slave' - a virtual entity, proxying Slave.doBuild() (or wassitsname) to a different subslave of the group. It adds a build step 'run something on a sub-node' to delegate particular build step to a sub-slave. The plugin even can create 'compound' slaves on-the-fly as a cloud provider from real slaves provisioned in some other cloud. If that sounds promising to you, I can share it on github (currently is privately-hosted) and you can try to tweak it up to you needs. Cheers, pupssman. On Wednesday, November 21, 2012 6:18:29 PM UTC+4, alok kumar wrote: Hi, Can anyone let me know if it is possible to execute different build steps on different slaves from within a single job? Is there any plugin that supports that? If not, what can be the workaround to achieve the same? Any help would be greatly appreciated. Thanks, Alok
Re: Query about running different job steps on different slaves
Hey there, That would be great!! Can you please share it with me? Also, please let me know how to get it from github as I am new to this. Thanks a lot for the help. Alok On Thu, Nov 22, 2012 at 12:10 PM, Ivan Kalinin pupss...@gmail.com wrote: Hi! Actually, I've managed to develop a plugin for my own needs that implements what you want. It allows to 'connect' a group of slaves to form a so-called 'compound slave' - a virtual entity, proxying Slave.doBuild() (or wassitsname) to a different subslave of the group. It adds a build step 'run something on a sub-node' to delegate particular build step to a sub-slave. The plugin even can create 'compound' slaves on-the-fly as a cloud provider from real slaves provisioned in some other cloud. If that sounds promising to you, I can share it on github (currently is privately-hosted) and you can try to tweak it up to you needs. Cheers, pupssman. On Wednesday, November 21, 2012 6:18:29 PM UTC+4, alok kumar wrote: Hi, Can anyone let me know if it is possible to execute different build steps on different slaves from within a single job? Is there any plugin that supports that? If not, what can be the workaround to achieve the same? Any help would be greatly appreciated. Thanks, Alok
Re: Query about running different job steps on different slaves
I would LOVE to see a plugin like this. If you could send me github information after you make it available, I would be very grateful! Thanks, Jason On Wednesday, November 21, 2012 10:40:36 PM UTC-8, Ivan Kalinin wrote: Hi! Actually, I've managed to develop a plugin for my own needs that implements what you want. It allows to 'connect' a group of slaves to form a so-called 'compound slave' - a virtual entity, proxying Slave.doBuild() (or wassitsname) to a different subslave of the group. It adds a build step 'run something on a sub-node' to delegate particular build step to a sub-slave. The plugin even can create 'compound' slaves on-the-fly as a cloud provider from real slaves provisioned in some other cloud. If that sounds promising to you, I can share it on github (currently is privately-hosted) and you can try to tweak it up to you needs. Cheers, pupssman. On Wednesday, November 21, 2012 6:18:29 PM UTC+4, alok kumar wrote: Hi, Can anyone let me know if it is possible to execute different build steps on different slaves from within a single job? Is there any plugin that supports that? If not, what can be the workaround to achieve the same? Any help would be greatly appreciated. Thanks, Alok
Re: Query about running different job steps on different slaves
As far as I know, there is no plugin that lets you run individual build steps on a different slave than the one that job originally started on. But there ways to mimic this behavior. We do something like this in our own tests. One job starts up; it has a parameter that indicates another slave on which to run parts of the test. The original job (we call it the master job), then uses the Parameterized Trigger Plugin's build step plus the NodeLabel Plugin parameter to start another job (called a slave job) on the slave in question. The ParamTrig build step can be set to wait until the slave job is finished running - that gives us sequential behavior: steps run on the master, then on the slave, then on the master. Sometimes, we have to have steps running in parallel on the master and slave. In that case, the ParamTrig build step can also start the job on the slave then immediately return to its own steps. Synching the two executions can be difficult and tricky On Wednesday, November 21, 2012 6:18:29 AM UTC-8, alok kumar wrote: Hi, Can anyone let me know if it is possible to execute different build steps on different slaves from within a single job? Is there any plugin that supports that? If not, what can be the workaround to achieve the same? Any help would be greatly appreciated. Thanks, Alok