Re: Connection Refused error when running Sbt Tests in Jenkins but it works fine in local machine
I would recommend logging in to where Jenkins is trying to run sbt, cd-ing to the workspace and trying to run sbt yourself from the command line. Take Jenkins out of the loop. Maybe you might have a proxy issue on the slave/master where you are running sbt. - David On Monday, December 8, 2014 6:09:08 PM UTC+2, Vijaykumar Gundavarapu wrote: Hi, I have a simple Jenkins job which executes some Sbt tests in scala/akka and it tries to download Mongo flapdoodle to execute a test. The tests works fine in local machine but I get connection refused error when it runs in Jenkins. Download Version{2.4.10}:Linux:B64 START Dec 05, 2014 5:42:19 PM de.flapdoodle.embed.process.runtime.Starter prepare SEVERE: prepare executable java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.init(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1167) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1103) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:997) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:931) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1511) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439) at de.flapdoodle.embed.process.store.Downloader.download(Downloader.java:76) at de.flapdoodle.embed.process.store.ArtifactStore.checkDistribution(ArtifactStore.java:66) at de.flapdoodle.embed.process.store.CachingArtifactStore.checkDistribution(CachingArtifactStore.java:56) at de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:52) at com.deere.fieldstreams.jobstreams.tilerender.session.SessionWatchSpec.init(SessionWatchSpec.scala:78) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at java.lang.Class.newInstance(Class.java:438) at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:619) at sbt.ForkMain$Run$2.call(ForkMain.java:294) at sbt.ForkMain$Run$2.call(ForkMain.java:284) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [error] Uncaught exception when running com.deere.fieldstreams.jobstreams.tilerender.session.SessionWatchSpec: de.flapdoodle.embed.process.exceptions.DistributionException: java.net.ConnectException: Connection refused sbt.ForkMain$ForkError: java.net.ConnectException: Connection refused at de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:65) at com.deere.fieldstreams.jobstreams.tilerender.session.SessionWatchSpec.init(SessionWatchSpec.scala:78) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at java.lang.Class.newInstance(Class.java:438) at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:619) at sbt.ForkMain$Run$2.call(ForkMain.java:294) at sbt.ForkMain$Run$2.call(ForkMain.java:284) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
When you are declined login
When I type in a bad username/password, I get a page asking me to try again. Any reason I have to click the link before being prompted to type it again? Most systems these day re-prompt with any last error message. Just trying to cut down the mouse clicks... James -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMH6%2Baz%2BDg5hdB5bOEvQh%2Bwp4HMzs%3Dn6Ppm%2BRRTqO5ntx2AB7g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Version String from War file
$ unzip -c jenkins.war META-INF/MANIFEST.MF | grep Version On Wednesday, December 10, 2014, Pankaj Gupta contact.gpan...@gmail.com wrote: Hi, Is there an easy way to find jenkins version string from war file? It will be great if i don't extract the war and get this info. Thanks, -Pankaj -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com javascript:_e(%7B%7D,'cvml','jenkinsci-users%2bunsubscr...@googlegroups.com'); . To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CADcM3VfniHU%3DMSCDizBjeM_s6Jjr37%2BuEDFMWNsfKG1XaBMwBg%40mail.gmail.com https://groups.google.com/d/msgid/jenkinsci-users/CADcM3VfniHU%3DMSCDizBjeM_s6Jjr37%2BuEDFMWNsfKG1XaBMwBg%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Sent from my phone -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyYw98yBFyDpTNhJhp0ydGuGg8jyJ_mVsxnjFAcREjsRg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Connection failure in Job Import Plugin
I am trying to import jobs from one Jenkins server A running 1.550 into another B running 1.565.2. A has no authorization configured and B has matrix authorization based on Active Directory. I can see the job list on A from the job import plugin on B, but each time I try to import a job I get: FAILED - Connection refused: connect Nothing from either logs gives me any idea of what to do differently. I have tried specifying a user and an API token. Same result. Need help please Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4D3F8F%40AMERMBX02.PERKINELMER.NET. For more options, visit https://groups.google.com/d/optout.
Can't get log info with Groovy Postbuild Plugin
I'm using the Groovy Postbuild Plugin in Jenkins on Windows 7. I was trying to match strings in a file but when that failed, I reduced it to the point where I am just searching for a string in another string. It will never find a match. I must be misunderstanding how Groovy works or else it just isn't working in this plugin. Please tell me what I am doing wrong. def txt = slkd Cskk sdwo Csks swkdCsksl def matcher = txt =~ /Cs/ if(matcher.matches()){ manager.addShortText(match) } else { manager.addShortText(no match) } Thanks, Rob -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cbc1569e-959d-45a2-9ce2-f3acf3f021ec%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Plugin to display arbitrary results?
Arbitrary data in tabular form, try: https://wiki.jenkins-ci.org/display/JENKINS/Summary+Display+Plugin For plotting data over time, try: https://wiki.jenkins-ci.org/display/JENKINS/Plot+Plugin -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5b94c0af-96f3-46ef-9089-02266b161a8f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Can't get log info with Groovy Postbuild Plugin
On 11.12.2014, at 01:40, Rob D robdsem...@gmail.com wrote: Please tell me what I am doing wrong. From http://docs.oracle.com/javase/7/docs/api/java/util/regex/Matcher.html, emphasis mine: • The matches method attempts to match the __entire input sequence__ against the pattern. • The find method scans the input sequence looking for __the next subsequence__ that matches the pattern. Since `txt` is clearly not the string 'Cs', it doesn't _match_. Using something line /.*Cs.*/ may be an option for you, like the examples on https://wiki.jenkins-ci.org/display/JENKINS/Groovy+Postbuild+Plugin do it. General troubleshooting hint: Try to remove as many components as possible from your problem to determine where the problem lies. In this case, a simple standalone Groovy script would have demonstrated that the problem has nothing to do with Groovy Postbuild, or Jenkins even. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1527E44B-C900-4D23-92A9-B3DD9B9DCD54%40beckweb.net. For more options, visit https://groups.google.com/d/optout.