Mutual usage of libraries between plugins
Hi all, I have a quick question regarding the architecture of Jenkins. Sometimes, there may be different plugins that are dependent on the same 3rd party libraries and I wanted to understand how the architecture responds to this. When a user creates a new plugin, he needs to define the libraries that the plugin is dependent on. I would like to know how Jenkins handles thiswhen the library is already used by another plugin. What if the plugin is using a different version of the library? I was wondering if the case is solved by a different class loader per plugin, but that might not be scalable. Thanks, Uri
Re: Selenium Plugin
On 2012-11-24, at 21:41, Andrew Gray andrew.paul.g...@gmail.com wrote: Thanks Richard, I take it that Selenium 2.26 does support ff17!? For what I've seen lately, FF17 is not yet supported (lots of issues). Some fixes have been done but it will probably be supported when 2.27 will come out Could the plugin be updated via the pom to include this version? You could just unzip the .hpi, change the included selenium server standalone jar and rezip the bundle. Otherwise I'd have to upload the version 2.26 to jenkins maven repo so pom file can use it (the selenium team don't pulish the standalone version on maven) but I'm working on a way to remove the jar from the hpi so people can choose which version they want to use but that is far from done Failing that could you possibly provide more details of the work around? Well if you have ran yourself a grid, the explanation is fairly simple. The workaround is to actually just spawn a selenium node on your slave (registering to jenkins selenium hub) that will support the selenium version you need with the browser capabilities your slave can provide. How exactly is it configured in Jenkins? Is the selenium c# tests affected at all? Jenkins master run a selenium process in hub/grid node and all the configured configuration will spawn a slave (selenium node) that will connect to the jenkins hub just like a normal grid. The plugin only provides an easy way to confogire your selenium node process configuration (-browsers arguments, -host, -port, etc...) I've done the obvious Jenkins config but it doesn't seem to work. doesn't seem to work doesn't give me much information. You'd have to provide more information. You are getting an exception from your c# tests ? On Saturday, November 24, 2012, Richard Lavoie wrote: The selenium plugin latest release comes with selenium 2.25 which doesn't support ff17. To circumvent that problem you can start a node yourself with selenium 2.26 where firefox is installed and make it connect to jenkins grid. On 2012-11-24, at 00:13, Andrew Gray andrew.paul.g...@gmail.com wrote: Hi, Can anyone explain to me how to set up the Selenium plugin in Jenkins 1.491 with Firefox 17.0 so that it actually executes the tests? I have been trying for months and I am not seeing the firefox.exe process spawn. Is there a blog post out there anywhere specifically dealing with this? Regards, Andrew
Re: Query about running different job steps on different slaves
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.comjavascript: 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
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
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