Contributions
Re: Jenkins plugin - local tunnel
mickyjohnstonno I didn't get it working. My understanding is that you need to install the CBT tunnel via Node onto Jenkins first, and then the plugin ought to work - however I didn't take that approach and have since been looking at other products.2.4KViews0likes0CommentsRe: Jenkins plugin - local tunnel
Thanks Alex, I hadn't seen that page before and it contradicts the documentation for the plugin I was reading at https://plugins.jenkins.io/crossbrowsertesting/ which states: Optional: CheckUse Local Tunnelto run tests on webpages behind your firewall. TheCBT NodeJS Tunnelis embedded into the plugin and does not need to be install on the Jenkins Server. Hence I was expecting it to work out of the box. I would prefer to not be installing NPM modules directly onto Jenkins so I am currently trying by using the NPM module imported into our tests instead.2.8KViews1like4CommentsRe: Jenkins plugin - local tunnel
Thanks for your response. Yes I'm trying to open the tunnel on the same network as Jenkins. I noticed looking in the plugin code that it is looking for the embedded tunnel at "/cbt_tunnels/v0.9.3"; however I don't see this installed on my Jenkins install, so perhaps that is the issue? It sounds like the plugin should handle this automatically, but perhaps I should try the option to manually install the cbt_tunnel module and provide the path to it.2.8KViews0likes6CommentsJenkins plugin - local tunnel
Hi, I am trialling using the Jenkins CBT plugin and want to use the local tunnel with it, however it fails and doesn't give a very useful error message: 17:43:40 Going to use default tunnel 17:43:41 Tunnel is currently not running. Need to start one. 17:43:41 Waiting for the tunnel to establish a connection. 17:44:47 FATAL: Failed to start Local Tunnel 17:44:47 java.lang.Error: Failed to start Local Tunnel 17:44:47 at org.jenkinsci.plugins.cbt_jenkins.CBTBuildWrapper.startLocalTunnel(CBTBuildWrapper.java:219) 17:44:47 at org.jenkinsci.plugins.cbt_jenkins.CBTBuildWrapper.setUp(CBTBuildWrapper.java:309) 17:44:47 at hudson.model.Build$BuildExecution.doRun(Build.java:157) 17:44:47 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504) 17:44:47 at hudson.model.Run.execute(Run.java:1894) 17:44:47 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 17:44:47 at hudson.model.ResourceController.execute(ResourceController.java:97) 17:44:47 at hudson.model.Executor.run(Executor.java:428) Is there any advice as to how I can debug and fix this? Thanks Andy2.8KViews0likes8Comments