[Build-Flow-Plugin] Parallel Join operation
Hello All, -- 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/2cc02884-6387-43f8-8a13-6da9dbbd323a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: jenkins with groovy postbuild .Not able to execute anything in groovy script field
Check out the Jenkins log since you are writing via a logger. You can find the log recorders under http://JenkinsServer:8080/log On Friday, June 5, 2015 at 2:21:27 AM UTC-4, apoorva s wrote: https://lh3.googleusercontent.com/-sadaVwZE47k/VXE_o5PYcCI/A4U/XrtrkpUi8OI/s1600/1.PNG https://lh3.googleusercontent.com/-8oHNerFcYX8/VXE_pP-7_iI/A4Y/4Hl-jK9L5Gg/s1600/2.PNG https://lh3.googleusercontent.com/-sadaVwZE47k/VXE_o5PYcCI/A4U/XrtrkpUi8OI/s1600/1.PNG https://lh3.googleusercontent.com/-8oHNerFcYX8/VXE_pP-7_iI/A4Y/4Hl-jK9L5Gg/s1600/2.PNG i need to run set of code after the build is completed. I use groovy postbuild plugin(version2.2). I am new to jenkins and groovy. I tried simple println but it is not working. I tried something like this also and its not working. i see the above (second image) as output for first image. What might be the problem? -- 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/254a9d9f-255a-4c18-9c4b-9f3c1486c2cf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
AW: [workflow-plugin] Exposing RunWrapper.getLog() methods for workflow build step (or alternate way to retrieve build-step logs)
Hi, I got the same problem and it can work by thinking a little bit outside the box. You can get the jobs BUILD_NUMBER value through the getNumber() method. With that you may access the plain log via Jenkins-server/job/jobname/buildnumber/consoleText URL. Regards Eric Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] Im Auftrag von Vizionz Gesendet: Mittwoch, 10. Juni 2015 21:37 An: jenkinsci-users@googlegroups.com Betreff: [workflow-plugin] Exposing RunWrapper.getLog() methods for workflow build step (or alternate way to retrieve build-step logs) Hi All - I'm looking to find means of obtaining job (console) logs from build steps in a workflow. Any help is greatly appreciated! In the workflow script below, I am creating a map that contains that contains a build-step of 'TestJenkinsJob'. After the job is completed, I check the results for a failure. Is there way to access the job's logs? I see that the RunWrapper does not expose any api to retrieve Run.getLogFile(). Many Thanks! -Vizionz // Allocate Node // node(MyNode) { // Set Directory // dir(PathToDirectory) { // Map of builds for parallel execution / def buildMap = [:] // Setup JOB_1 / buildMap[JOB_1] = { // Start a test job. / def jobInfo = build job: 'TestJenkinsJob', propagate: false if (jobInfo.getResult() == FAILURE) { // Access logfile of job - NOT EXPOSED in RunWrapper // def failLog = jobInfo.getLogFile() println FAIL_LOG\n$failLog // ... Do more work with fail log (save/parse/report/etc.) } } // Setup JOB_2 // buildMap[JOB_2] = { // ... Setup Job 2 } // Start the parallel job / parallel buildMap } } -- 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1b15af84-4ec4-415f-8c1d-7391fb4daec8%40googlegroups.comhttps://groups.google.com/d/msgid/jenkinsci-users/1b15af84-4ec4-415f-8c1d-7391fb4daec8%40googlegroups.com?utm_medium=emailutm_source=footer. For more options, visit https://groups.google.com/d/optout. -- 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/DDB06868916F0342A722619DC460E97B50CF4CF7%40exch-bln01. For more options, visit https://groups.google.com/d/optout.
Re: How to plot graph using Jenkins Plugins with having my own X and Y axis values and labels?
No, the Plot plugin is rather inflexible. I use R and the R-plugin https://wiki.jenkins-ci.org/display/JENKINS/R+Plugin to plot my data anyway I want. Then it is very easy to display the generated graphics from R either in a custom report (using either the HTML Publishe https://wiki.jenkins-ci.org/display/JENKINS/HTML+Publisher+Pluginr or Summary Display https://wiki.jenkins-ci.org/display/JENKINS/Summary+Display+Plugin plugins) or by just archiving the png or pdf files generated from R. See also: Using the Jenkins R-Plugin http://biouno.org/using-the-jenkins-r-plugin.html Hope this helps Ioannis On Friday, May 22, 2015 at 1:17:05 AM UTC-4, ashok alluri wrote: I have Jenkins job running which reads the data from external DB (not local to Jenkins server), I want to plot this data (both X and Y axis values are read from DB) using Jenkins Plugins. I am finding difficulty with Plot plugin as it's X-axis value is always build number, is there anyway that I can plot my data against my own x-axis values? -- 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/5955474d-efd6-4ea3-83ce-c15b453d96c0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Build-Flow-Plugin] Parallel Join operation
Hello All, I am trying to use Jenkins build flow plugin to create below build chain. https://lh3.googleusercontent.com/-RiusPDtzJP8/VXlWpPCLBMI/ANA/3_G4K6MyLG0/s1600/Presentation1.png I have used below DSL to achieve up to build D. How to specify that Build E should start only after both Build D Build C are completed? // Declare all Build Results def Build_A_Result def Build_B_Result def Build_C_Result def Build_D_Result def Build_E_Result // Declare the build calls def Build_A_Flow= { Build_A_Result= ignore(UNSTABLE) { build( 'Build_A' ) } } def Build_B_Flow= { Build_B_Result= ignore(UNSTABLE) { build( 'Build_B' ) } } def Build_C_Flow= { Build_C_Result= ignore(UNSTABLE) { build( 'Build_C' ) } } def Build_D_Flow= { Build_D_Result= ignore(UNSTABLE) { build( 'Build_D' ) } } def Build_E_Flow= { Build_E_Result= ignore(UNSTABLE) { build( 'Build_E' ) } } //Start the process flow def BuildBDFlow= { [ Build_B_Flow, Build_D_Flow ].each { it() } } def BuildABCFlow= { [Build_A_Flow, { parallel(BuildBDFlow, Build_C_Flow) } ].each { it() } } [ BuildABCFlow ].each { it() } -- 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/09279607-c353-4d58-b3a3-dc56ddd92671%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Modify gradle build attributes using Groovy
Hi, I need to bulk modify Gradle switches in all Jobs using Gradle build steps. For the simple case, I am able to identify Gradle build steps with the following code: for(item in Hudson.instance.items) { if(item instanceof FreeStyleProject) { println(JOB : +item.name); for (builder in item.builders){ println( +builder); if (builder instanceof Gradle) { println(GRADLE BUILDER); println(Description : +builder.description); println(Tasks : +builder.tasks); println(Switches : +builder.switches); } } println(\n===\n); } } However, we also use org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder and org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder a lot (because we need to distinguish between ANT and Gradle builds), which surround the Gradle build steps. How can I also find the Gradle build steps wrapped inside a conditional build step? Thanks... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com mailto:d...@recommind.com *Skype*: dirk.heinrichs.recommind www.recommind.com http://www.recommind.com -- 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/557976BE.1020609%40recommind.com. For more options, visit https://groups.google.com/d/optout.
Using Java 1.7 and SSL self-signed certs
I am having an issue with Java 1.7 and using self-signed cert it works with Java 1.6 and an official certificate but in some cases we have test Jenkins where we self sign. Is there a setting in the jenkins config to get around this issue? Something that can be done with Jetty? Here are exceptions from the jenkins log and the cli https://paste.fedoraproject.org/231148/ Exception from Jenkins Log: Jun 10, 2015 6:06:21 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: handle failed java.lang.RuntimeException: java.security.KeyException at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1333) at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:519) at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:799) at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:767) at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624) at org.eclipse.jetty.io.nio.SslConnection.unwrap(SslConnection.java:536) at org.eclipse.jetty.io.nio.SslConnection.process(SslConnection.java:401) at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:193) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.security.ProviderException: java.security.KeyException at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:146) at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:687) at sun.security.ssl.ECDHCrypt.init(ECDHCrypt.java:63) at sun.security.ssl.ServerHandshaker.setupEphemeralECDHKeys(ServerHandshaker.java:1316) at sun.security.ssl.ServerHandshaker.trySetCipherSuite(ServerHandshaker.java:1115) at sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:942) at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:675) at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:213) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901) at sun.security.ssl.Handshaker$1.run(Handshaker.java:841) at sun.security.ssl.Handshaker$1.run(Handshaker.java:839) at java.security.AccessController.doPrivileged(Native Method) at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1273) at org.eclipse.jetty.io.nio.SslConnection.process(SslConnection.java:375) at org.eclipse.jetty.io.nio.SslConnection.access$900(SslConnection.java:48) at org.eclipse.jetty.io.nio.SslConnection$SslEndPoint.fill(SslConnection.java:678) at org.eclipse.jetty.http.HttpParser.fill(HttpParser.java:1044) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:280) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196) ... 6 more Caused by: java.security.KeyException at sun.security.ec.ECKeyPairGenerator.generateECKeyPair(Native Method) at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:126) ... 26 more Exception from CLI: [root@java16-master-jenkins-https-new ~]# java -jar jenkins-cli.jar -s https://localhost -noCertificateCheck help Skipping HTTPS certificate checks altogether. Note that this is not secure at all. Exception in thread main java.io.IOException: Failed to connect to https://localhost/ at hudson.cli.CLI.getCliTcpPort(CLI.java:271) at hudson.cli.CLI.init(CLI.java:126) at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72) at hudson.cli.CLI._main(CLI.java:471) at hudson.cli.CLI.main(CLI.java:387) Suppressed: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:953) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
Re: Restore of Jenkins 1.616 back to 1.555
Thanks for spending your time looking at this. I had a thought that it would be a lost cause. I'll have to look over the old images of the machine and see what I have got. On Thu, Jun 11, 2015 at 2:26 PM, Daniel Beck m...@beckweb.net wrote: Downgrading to 1.555 from 1.616 is a lot of effort and requires quite a bit of Jenkins knowledge due to changed data formats between these versions, plugins detached from core, etc. Your best bet is to restore from backup. On 11.06.2015, at 15:20, Paul Wilkins wilkinspau...@gmail.com wrote: I was required to upgrade our jenkins install to the latest. Once this was done I encountered some unexpected issues which forced me to want to restore back to 1.555. This is all running on a windows server 2012 running using Java 7 although there is an folder for jre1.8.0_45. This is an old system I inherited so I am bit vague on details. I hit the Restore to v1.555 button and all seemed ok. Once I restarted the machine and opened Jenkins I get the following message. If there are anymore details that might help solve this issue please let me know. Thank you. hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read D:\Jenkins\config.xml at hudson.WebAppMain$3.run(WebAppMain.java:234) Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read D:\Jenkins\config.xml at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:910) at jenkins.model.Jenkins.init(Jenkins.java:809) at hudson.model.Hudson.init(Hudson.java:82) at hudson.model.Hudson.init(Hudson.java:78) at hudson.WebAppMain$3.run(WebAppMain.java:222) Caused by: java.io.IOException: Unable to read D:\Jenkins\config.xml at hudson.XmlFile.unmarshal(XmlFile.java:165) at jenkins.model.Jenkins$17.run(Jenkins.java:2561) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:899) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.thoughtworks.xstream.converters.ConversionException: -1 : -1 Debugging information message : -1 cause-exception : java.lang.ArrayIndexOutOfBoundsException cause-message : -1 class : hudson.model.Hudson required-type : hudson.model.Hudson converter-type : hudson.util.RobustReflectionConverter path: /hudson/disabledAdministrativeMonitors line number : 3 version : not available --- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061) at hudson.util.XStream2.unmarshal(XStream2.java:113) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045) at hudson.XmlFile.unmarshal(XmlFile.java:163) ... 9 more Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 at com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet(OrderRetainingMap.java:77) at java.util.HashMap.putMapEntries(Unknown Source) at java.util.HashMap.putAll(Unknown Source) at com.thoughtworks.xstream.core.util.OrderRetainingMap.init(OrderRetainingMap.java:36) at com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:135) at com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldOrNull(FieldDictionary.java:113) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldOrNull(PureJavaReflectionProvider.java:186) at hudson.util.RobustReflectionConverter.fieldDefinedInClass(RobustReflectionConverter.java:344) at
Matrix reloaded link does not appear for a matrix build
I downloaded the last version of Matrix reloaded (1.1.3). I see the matrix reloaded in each sub run but not in the top level build. Instead I see Rebuild Last. Is it a conflict in the pluggins? Does anyone sees that? Thanks -- 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/f4368a80-09ed-4533-86d6-178688d9a953%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Javascript Webdriver (Chrome)
Hi mate, So I decided to put your theory to the test :-). I downgraded my firefox (after some investigation Webdriver doesn't seem to work with 38) and I changed my tests to run with Firefox and it worked from the Jenkins GUI (albeit with a test error which I'm trying to figure out now!). Something to do with Chrome then! Thank you for all the help you've given me! Short of finding out what I'd need to open up on the firewall I think I'll have to accept defeat with using the Chromedriver (for now)! On 10 June 2015 at 20:54, Richard Bywater rich...@byh2o.com wrote: That's no good... One other thought off the top of my head is, as I think the chrome driver uses TCPIP to communicate I wonder if the Windows firewall might be blocking things? Unfortunately that's the only other thought I have at the moment! Richard On 12:40AM, Thu, 11/06/2015 'simon drake' via Jenkins Users jenkinsci-users@googlegroups.com wrote: Hi Richard, I just gave this a go but have noticed that you have to use the 'Local System Account' to enable the ability to 'Allow service to interact with desktop'. I amended it to a admin user anyway, just to give it a try, but it still times out. Any ideas [?]? Si On 10 June 2015 at 11:34, simon drake simondrake1...@googlemail.com wrote: Thanks mate :-) I'll give it a go! On 10 June 2015 at 11:23, Richard Bywater rich...@byh2o.com wrote: Jenkins service as it would be that service kicking off the browser process which then, presumably, would connect to the Tomcat instance via HTTP(S) Richard On 10:03PM, Wed, 10/06/2015 'simon drake' via Jenkins Users jenkinsci-users@googlegroups.com wrote: Thanks :-) I'll give that a go. Do you happen to know whether that should be changed on the Jenkins Service or on the Apache Tomcat programme? I suspect both will do the same! On 10 June 2015 at 10:50, Richard Bywater rich...@byh2o.com wrote: IIRC (and it might not be right as haven't used Windows services for a while) but you need to give it a normal user account (whether it's a domain account or just local) to be able to tick the Interact with desktop check box. Hopefully I don't have it completely backwards and the system account is needed for that :) Richard On 8:34PM, Wed, 10/06/2015 simon drake simondrake1...@googlemail.com wrote: Certainly no need for apologies :-) I'm aware that these posts can get chucked down the list quite fast so I thought I'd bump it just in case! I appreciate that you are replying in the first place! It IS running as a local system account; apologies for the stupid question but what should it run as so that it can interact with the display? Si -- 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/cf53fe77-aea8-438b-ad38-e9a7f2d559c7%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/cf53fe77-aea8-438b-ad38-e9a7f2d559c7%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/ujwkOqV8dWY/unsubscribe . To unsubscribe from this group and all its topics, 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/CAMui946mPDSXeS%3DxfPokpiNEs3vpa-F5UFG0Cmxppaj_NgsQ7A%40mail.gmail.com https://groups.google.com/d/msgid/jenkinsci-users/CAMui946mPDSXeS%3DxfPokpiNEs3vpa-F5UFG0Cmxppaj_NgsQ7A%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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/CAP%2BB1bBm-_VeWoF4vL%2BJdK7Mbo87xObKyvBSFu5_J1iieSG78Q%40mail.gmail.com https://groups.google.com/d/msgid/jenkinsci-users/CAP%2BB1bBm-_VeWoF4vL%2BJdK7Mbo87xObKyvBSFu5_J1iieSG78Q%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/ujwkOqV8dWY/unsubscribe . To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this
Re: Restore of Jenkins 1.616 back to 1.555
Downgrading to 1.555 from 1.616 is a lot of effort and requires quite a bit of Jenkins knowledge due to changed data formats between these versions, plugins detached from core, etc. Your best bet is to restore from backup. On 11.06.2015, at 15:20, Paul Wilkins wilkinspau...@gmail.com wrote: I was required to upgrade our jenkins install to the latest. Once this was done I encountered some unexpected issues which forced me to want to restore back to 1.555. This is all running on a windows server 2012 running using Java 7 although there is an folder for jre1.8.0_45. This is an old system I inherited so I am bit vague on details. I hit the Restore to v1.555 button and all seemed ok. Once I restarted the machine and opened Jenkins I get the following message. If there are anymore details that might help solve this issue please let me know. Thank you. hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read D:\Jenkins\config.xml at hudson.WebAppMain$3.run(WebAppMain.java:234) Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read D:\Jenkins\config.xml at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:910) at jenkins.model.Jenkins.init(Jenkins.java:809) at hudson.model.Hudson.init(Hudson.java:82) at hudson.model.Hudson.init(Hudson.java:78) at hudson.WebAppMain$3.run(WebAppMain.java:222) Caused by: java.io.IOException: Unable to read D:\Jenkins\config.xml at hudson.XmlFile.unmarshal(XmlFile.java:165) at jenkins.model.Jenkins$17.run(Jenkins.java:2561) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:899) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.thoughtworks.xstream.converters.ConversionException: -1 : -1 Debugging information message : -1 cause-exception : java.lang.ArrayIndexOutOfBoundsException cause-message : -1 class : hudson.model.Hudson required-type : hudson.model.Hudson converter-type : hudson.util.RobustReflectionConverter path: /hudson/disabledAdministrativeMonitors line number : 3 version : not available --- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061) at hudson.util.XStream2.unmarshal(XStream2.java:113) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045) at hudson.XmlFile.unmarshal(XmlFile.java:163) ... 9 more Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 at com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet(OrderRetainingMap.java:77) at java.util.HashMap.putMapEntries(Unknown Source) at java.util.HashMap.putAll(Unknown Source) at com.thoughtworks.xstream.core.util.OrderRetainingMap.init(OrderRetainingMap.java:36) at com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:135) at com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldOrNull(FieldDictionary.java:113) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldOrNull(PureJavaReflectionProvider.java:186) at hudson.util.RobustReflectionConverter.fieldDefinedInClass(RobustReflectionConverter.java:344) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:283) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:228) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ... 18 more -- You received this message because you are subscribed to
Re: Options for embedding view in iframe
No, I did not get it working. Just moved on and never found a solution. Mark On Wednesday, June 10, 2015 at 7:10:08 AM UTC-4, Stefan Lindvall wrote: Hi, Have you got it working? I am trying to do something similar. Regards, /Stefan Den lördag 4 oktober 2014 kl. 21:19:23 UTC+2 skrev Mark Phippard: I am embedding a Jenkins view in an iFrame. It all works well, but it would be nice if I could control the presentation more, such as hiding the Jenkins header and left-hand navigation. Other than writing a custom view, is this possible with any URL options? I tried searching but could not find any docs if these exist. For example, if I create a view using something like the Wall Display plugin or the Build Monitor plugin I get a view that just shows the status of my build jobs. But if I want one of the more classic Jenkins job list views or the Dashboard plugin view, then the UI also contains the Jenkins header and left-hand navigation. I would prefer to be able to use one of these views but hide the other parts of the UI when embedding the view. Of course once a user clicks on a build job etc. then they would see the normal full Jenkins UI. Is this possible? Thanks Mark -- 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/d7c5103e-61e4-439d-9422-d3ff2148efa3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Restore of Jenkins 1.616 back to 1.555
I was required to upgrade our jenkins install to the latest. Once this was done I encountered some unexpected issues which forced me to want to restore back to 1.555. This is all running on a windows server 2012 running using Java 7 although there is an folder for jre1.8.0_45. This is an old system I inherited so I am bit vague on details. I hit the Restore to v1.555 button and all seemed ok. Once I restarted the machine and opened Jenkins I get the following message. If there are anymore details that might help solve this issue please let me know. Thank you. hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read D:\Jenkins\config.xml at hudson.WebAppMain$3.run(WebAppMain.java:234) Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read D:\Jenkins\config.xml at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:910) at jenkins.model.Jenkins.init(Jenkins.java:809) at hudson.model.Hudson.init(Hudson.java:82) at hudson.model.Hudson.init(Hudson.java:78) at hudson.WebAppMain$3.run(WebAppMain.java:222) Caused by: java.io.IOException: Unable to read D:\Jenkins\config.xml at hudson.XmlFile.unmarshal(XmlFile.java:165) at jenkins.model.Jenkins$17.run(Jenkins.java:2561) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:899) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.thoughtworks.xstream.converters.ConversionException: -1 : -1 Debugging information message : -1 cause-exception : java.lang.ArrayIndexOutOfBoundsException cause-message : -1 class : hudson.model.Hudson required-type : hudson.model.Hudson converter-type : hudson.util.RobustReflectionConverter path: /hudson/disabledAdministrativeMonitors line number : 3 version : not available --- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061) at hudson.util.XStream2.unmarshal(XStream2.java:113) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045) at hudson.XmlFile.unmarshal(XmlFile.java:163) ... 9 more Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 at com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet(OrderRetainingMap.java:77) at java.util.HashMap.putMapEntries(Unknown Source) at java.util.HashMap.putAll(Unknown Source) at com.thoughtworks.xstream.core.util.OrderRetainingMap.init(OrderRetainingMap.java:36) at com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:135) at com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldOrNull(FieldDictionary.java:113) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldOrNull(PureJavaReflectionProvider.java:186) at hudson.util.RobustReflectionConverter.fieldDefinedInClass(RobustReflectionConverter.java:344) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:283) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:228) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ... 18 more -- 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
Re: Javascript Webdriver (Chrome)
Cool - good to hear that I could help and that you are (at least partly) up and running. Re the firewall issue, I found this page - http://blogs.technet.com/b/bruce_adamczak/archive/2013/04/02/windows-2012-core-survival-guide-firewalls.aspx - which might give you some clues as to where to look for what is being blocked potentially (I assume Windows would be logging the fact that Jenkins wasn't allowed to talk to Chrome or something - but then again I'm often wrong when it comes to assumptions about Windows ;) ) Richard. On Fri, 12 Jun 2015 at 00:45 'simon drake' via Jenkins Users jenkinsci-users@googlegroups.com wrote: Hi mate, So I decided to put your theory to the test :-). I downgraded my firefox (after some investigation Webdriver doesn't seem to work with 38) and I changed my tests to run with Firefox and it worked from the Jenkins GUI (albeit with a test error which I'm trying to figure out now!). Something to do with Chrome then! Thank you for all the help you've given me! Short of finding out what I'd need to open up on the firewall I think I'll have to accept defeat with using the Chromedriver (for now)! On 10 June 2015 at 20:54, Richard Bywater rich...@byh2o.com wrote: That's no good... One other thought off the top of my head is, as I think the chrome driver uses TCPIP to communicate I wonder if the Windows firewall might be blocking things? Unfortunately that's the only other thought I have at the moment! Richard On 12:40AM, Thu, 11/06/2015 'simon drake' via Jenkins Users jenkinsci-users@googlegroups.com wrote: Hi Richard, I just gave this a go but have noticed that you have to use the 'Local System Account' to enable the ability to 'Allow service to interact with desktop'. I amended it to a admin user anyway, just to give it a try, but it still times out. Any ideas [?]? Si On 10 June 2015 at 11:34, simon drake simondrake1...@googlemail.com wrote: Thanks mate :-) I'll give it a go! On 10 June 2015 at 11:23, Richard Bywater rich...@byh2o.com wrote: Jenkins service as it would be that service kicking off the browser process which then, presumably, would connect to the Tomcat instance via HTTP(S) Richard On 10:03PM, Wed, 10/06/2015 'simon drake' via Jenkins Users jenkinsci-users@googlegroups.com wrote: Thanks :-) I'll give that a go. Do you happen to know whether that should be changed on the Jenkins Service or on the Apache Tomcat programme? I suspect both will do the same! On 10 June 2015 at 10:50, Richard Bywater rich...@byh2o.com wrote: IIRC (and it might not be right as haven't used Windows services for a while) but you need to give it a normal user account (whether it's a domain account or just local) to be able to tick the Interact with desktop check box. Hopefully I don't have it completely backwards and the system account is needed for that :) Richard On 8:34PM, Wed, 10/06/2015 simon drake simondrake1...@googlemail.com wrote: Certainly no need for apologies :-) I'm aware that these posts can get chucked down the list quite fast so I thought I'd bump it just in case! I appreciate that you are replying in the first place! It IS running as a local system account; apologies for the stupid question but what should it run as so that it can interact with the display? Si -- 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/cf53fe77-aea8-438b-ad38-e9a7f2d559c7%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/cf53fe77-aea8-438b-ad38-e9a7f2d559c7%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/ujwkOqV8dWY/unsubscribe . To unsubscribe from this group and all its topics, 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/CAMui946mPDSXeS%3DxfPokpiNEs3vpa-F5UFG0Cmxppaj_NgsQ7A%40mail.gmail.com https://groups.google.com/d/msgid/jenkinsci-users/CAMui946mPDSXeS%3DxfPokpiNEs3vpa-F5UFG0Cmxppaj_NgsQ7A%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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
Re: Using Java 1.7 and SSL self-signed certs
I assume that you've loaded up the certs into the correct place for the 1.7 version of Java? (e.g. cacerts file) Richard. On Fri, 12 Jun 2015 at 03:08 Ari LiVigni arilivi...@gmail.com wrote: I am having an issue with Java 1.7 and using self-signed cert it works with Java 1.6 and an official certificate but in some cases we have test Jenkins where we self sign. Is there a setting in the jenkins config to get around this issue? Something that can be done with Jetty? Here are exceptions from the jenkins log and the cli https://paste.fedoraproject.org/231148/ Exception from Jenkins Log: Jun 10, 2015 6:06:21 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: handle failed java.lang.RuntimeException: java.security.KeyException at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1333) at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:519) at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:799) at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:767) at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624) at org.eclipse.jetty.io.nio.SslConnection.unwrap(SslConnection.java:536) at org.eclipse.jetty.io.nio.SslConnection.process(SslConnection.java:401) at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:193) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.security.ProviderException: java.security.KeyException at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:146) at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:687) at sun.security.ssl.ECDHCrypt.init(ECDHCrypt.java:63) at sun.security.ssl.ServerHandshaker.setupEphemeralECDHKeys(ServerHandshaker.java:1316) at sun.security.ssl.ServerHandshaker.trySetCipherSuite(ServerHandshaker.java:1115) at sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:942) at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:675) at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:213) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901) at sun.security.ssl.Handshaker$1.run(Handshaker.java:841) at sun.security.ssl.Handshaker$1.run(Handshaker.java:839) at java.security.AccessController.doPrivileged(Native Method) at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1273) at org.eclipse.jetty.io.nio.SslConnection.process(SslConnection.java:375) at org.eclipse.jetty.io.nio.SslConnection.access$900(SslConnection.java:48) at org.eclipse.jetty.io.nio.SslConnection$SslEndPoint.fill(SslConnection.java:678) at org.eclipse.jetty.http.HttpParser.fill(HttpParser.java:1044) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:280) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196) ... 6 more Caused by: java.security.KeyException at sun.security.ec.ECKeyPairGenerator.generateECKeyPair(Native Method) at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:126) ... 26 more Exception from CLI: [root@java16-master-jenkins-https-new ~]# java -jar jenkins-cli.jar -s https://localhost -noCertificateCheck help Skipping HTTPS certificate checks altogether. Note that this is not secure at all. Exception in thread main java.io.IOException: Failed to connect to https://localhost/ at hudson.cli.CLI.getCliTcpPort(CLI.java:271) at hudson.cli.CLI.init(CLI.java:126) at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72) at hudson.cli.CLI._main(CLI.java:471) at hudson.cli.CLI.main(CLI.java:387) Suppressed: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:953) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343) at
Missing Dependencies
My Jenkins build is failing due to missing dependencies: cgey-commons-configuration-1.2.2.jar cgey-commons-events-1.0.0.jar cgey-commons-performances-1.0.0.jar classes12-8.1.7.jar I tried to download these dependencies from Internet but could not find them. Can anyone help? -- 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/94208705-38d6-4aa2-8dcb-59e2e1ded8fa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Missing Dependencies
This doesn't sound like a Jenkins issue but a build tool issue? Richard On 7:06PM, Thu, 11/06/2015 inderpreet.kaur8...@gmail.com wrote: My Jenkins build is failing due to missing dependencies: cgey-commons-configuration-1.2.2.jar cgey-commons-events-1.0.0.jar cgey-commons-performances-1.0.0.jar classes12-8.1.7.jar I tried to download these dependencies from Internet but could not find them. Can anyone help? -- 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/94208705-38d6-4aa2-8dcb-59e2e1ded8fa%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/94208705-38d6-4aa2-8dcb-59e2e1ded8fa%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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/CAMui946HMMDt%3DtJ4e1hPTYeixZ%3Dz-L1LZ8T8bSuvP%2Bs7cP1-Aw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Options for embedding view in iframe
I don't think it's currently possible. I guess the only way is to use that plugin to customize CSS and so on, out writing/using a dedicated view. Cheers Le 10 juin 2015 1:10 PM, Stefan Lindvall stefan.lindv...@gmail.com a écrit : Hi, Have you got it working? I am trying to do something similar. Regards, /Stefan Den lördag 4 oktober 2014 kl. 21:19:23 UTC+2 skrev Mark Phippard: I am embedding a Jenkins view in an iFrame. It all works well, but it would be nice if I could control the presentation more, such as hiding the Jenkins header and left-hand navigation. Other than writing a custom view, is this possible with any URL options? I tried searching but could not find any docs if these exist. For example, if I create a view using something like the Wall Display plugin or the Build Monitor plugin I get a view that just shows the status of my build jobs. But if I want one of the more classic Jenkins job list views or the Dashboard plugin view, then the UI also contains the Jenkins header and left-hand navigation. I would prefer to be able to use one of these views but hide the other parts of the UI when embedding the view. Of course once a user clicks on a build job etc. then they would see the normal full Jenkins UI. Is this possible? Thanks Mark -- 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/5a8a4bcd-5f4d-47f8-aef1-ecc0329483b4%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/5a8a4bcd-5f4d-47f8-aef1-ecc0329483b4%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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/CANWgJS5nvVkgGydrvXbzeeKria83jj5R%3DXj4c8igaxbc9RpBcA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Using Java 1.7 and SSL self-signed certs
we used the keytool to create the self-signed cert so I assumed that was the correct method. On Thursday, June 11, 2015 at 6:06:45 PM UTC-4, Richard Bywater wrote: I assume that you've loaded up the certs into the correct place for the 1.7 version of Java? (e.g. cacerts file) Richard. On Fri, 12 Jun 2015 at 03:08 Ari LiVigni arili...@gmail.com javascript: wrote: I am having an issue with Java 1.7 and using self-signed cert it works with Java 1.6 and an official certificate but in some cases we have test Jenkins where we self sign. Is there a setting in the jenkins config to get around this issue? Something that can be done with Jetty? Here are exceptions from the jenkins log and the cli https://paste.fedoraproject.org/231148/ Exception from Jenkins Log: Jun 10, 2015 6:06:21 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: handle failed java.lang.RuntimeException: java.security.KeyException at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1333) at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:519) at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:799) at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:767) at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624) at org.eclipse.jetty.io.nio.SslConnection.unwrap(SslConnection.java:536) at org.eclipse.jetty.io.nio.SslConnection.process(SslConnection.java:401) at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:193) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.security.ProviderException: java.security.KeyException at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:146) at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:687) at sun.security.ssl.ECDHCrypt.init(ECDHCrypt.java:63) at sun.security.ssl.ServerHandshaker.setupEphemeralECDHKeys(ServerHandshaker.java:1316) at sun.security.ssl.ServerHandshaker.trySetCipherSuite(ServerHandshaker.java:1115) at sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:942) at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:675) at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:213) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901) at sun.security.ssl.Handshaker$1.run(Handshaker.java:841) at sun.security.ssl.Handshaker$1.run(Handshaker.java:839) at java.security.AccessController.doPrivileged(Native Method) at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1273) at org.eclipse.jetty.io.nio.SslConnection.process(SslConnection.java:375) at org.eclipse.jetty.io.nio.SslConnection.access$900(SslConnection.java:48) at org.eclipse.jetty.io.nio.SslConnection$SslEndPoint.fill(SslConnection.java:678) at org.eclipse.jetty.http.HttpParser.fill(HttpParser.java:1044) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:280) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196) ... 6 more Caused by: java.security.KeyException at sun.security.ec.ECKeyPairGenerator.generateECKeyPair(Native Method) at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:126) ... 26 more Exception from CLI: [root@java16-master-jenkins-https-new ~]# java -jar jenkins-cli.jar -s https://localhost -noCertificateCheck help Skipping HTTPS certificate checks altogether. Note that this is not secure at all. Exception in thread main java.io.IOException: Failed to connect to https://localhost/ at hudson.cli.CLI.getCliTcpPort(CLI.java:271) at hudson.cli.CLI.init(CLI.java:126) at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72) at hudson.cli.CLI._main(CLI.java:471) at hudson.cli.CLI.main(CLI.java:387) Suppressed: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:953) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332) at
Re: [workflow-plugin] Exposing RunWrapper.getLog() methods for workflow build step (or alternate way to retrieve build-step logs)
You can get the jobs BUILD_NUMBER value through the getNumber() method. With that you may access the plain log via Jenkins-server/job/jobname/buildnumber/consoleText URL. Regards Eric This definitely works! I was hoping that there would be a way to access the logs without hitting a URL. Many Thanks Eric -- 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/9be5cc34-c6ac-4339-bf04-604d783c8813%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Upgrade 1.598 - 1.609.1 breaks jobs on 1 slave, revert doesn't fix
Root cause turned out to be an outdated commons-io jar I had installed for another project in the Jenkins user's ~/Library/Java/Extensions directory. When I updated to the latest version, both Jenkins and the other project were happy. The problem manifested at the time of the upgrade attempt because that was the first time the Jenkins slave on that host had been restarted since the installation of the outdated jar. On Wednesday, June 10, 2015 at 3:16:14 PM UTC-7, Ross Oliver wrote: Greetings, I am running a Jenkins master and several slaves all on Mac OS 10.10. Yesterday I attempted an upgrade from 1.598 to 1.609.1, and immediately all jobs on one slave started failing, unable to check out from git. The other slaves were unaffected an continued to operate normally. After some basic troubleshooting, I decided I needed to get these jobs working again, so I reverted to 1.598. I also had to manually restore the config.xml from the previous day, as the storage of node data in 1.609.1 was incompatible with 1.598. The revert seems successful, but the jobs on the 1 slave were still failing with the same errors. The jobs would run fine if moved to another slave. Still other than the slave.jar file, I could not find anything on the slave that the upgrade/revert might have changed. For troubleshooting, I created a very simple freestyle job that executed a single shell command echo this is here That job failed with the following log message (slave host name removed per company confidentiality policy): Started by user ross_oliver http://mobilejenkins.apple.com/user/ross_oliver [EnvInject] - Loading node environment variables. Building remotely on slave host name (java7 master2) in workspace workspace path FATAL: command execution failedjava.io.IOException http://stacktrace.jenkins-ci.org/search?query=java.io.IOException: Remote call on slave host name failed at hudson.remoting.Channel.call(Channel.java:760) http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.callentity=method at hudson.Launcher$RemoteLauncher.launch(Launcher.java:916) http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$RemoteLauncher.launchentity=method at hudson.Launcher$ProcStarter.start(Launcher.java:381) http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$ProcStarter.startentity=method at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:97) http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.CommandInterpreter.performentity=method at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.CommandInterpreter.performentity=method at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$1.performentity=method at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.performentity=method at hudson.model.Build$BuildExecution.build(Build.java:199) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.buildentity=method at hudson.model.Build$BuildExecution.doRun(Build.java:160) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.doRunentity=method at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.runentity=method at hudson.model.Run.execute(Run.java:1718) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.executeentity=method at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.runentity=method at hudson.model.ResourceController.execute(ResourceController.java:89) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.executeentity=method at hudson.model.Executor.run(Executor.java:240) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.runentity=method Caused by: java.lang.NoSuchFieldError http://stacktrace.jenkins-ci.org/search?query=java.lang.NoSuchFieldError: NULL_OUTPUT_STREAM at hudson.Launcher$ProcStarter.init(Launcher.java:152) http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$ProcStarter.%3Cinit%3Eentity=method at hudson.Launcher.launch(Launcher.java:408) http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher.launchentity=method at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1129) http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$RemoteLaunchCallable.callentity=method at
Re: [workflow-plugin] How to use SSH-Keys?
Am 10.06.2015 um 14:48 schrieb Markus Shorty Uckelmann: I try to convert a standard build to a workflow build. In the the original build we use the SSH-Agent plugin to access SSH-keys we need for deploying the artifacts in the builds shell-script. How can I do something like this in workflow? Is this even possible? So far, I have this: - https://groups.google.com/forum/?utm_medium=emailutm_source=footer#!msg/jenkinsci-users/mVICU_0DVrw/Sh-VZVQE9CIJ - https://stackoverflow.com/questions/30756802/how-to-use-ssh-credentials I hoped there would be an easier way... Peace, Shorty -- 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/55794289.1090909%40koeln.de. For more options, visit https://groups.google.com/d/optout.