Jenkins Poll-mailbox-trigger-plugin problem
Hi, We are using Poll-mailbox-trigger-plugin in Jenkins but have encountered some problems. while a job is being built, sometimes the plugin does not trigger new jobs which they suppose to be. We then click on the button of Test Connection in the plugin and see there are several mails queued. Does anyone get any idea about this? However, there are two ways to temporarily recover : - Restart Jenkins. - Disable concurrent build and re enable it. Here's a couple of information: Jenkins 1.612 Poll-mailbox-trigger-plugin 0.16 Execute concurrent builds if necessary : enabled # of executors : 30 schedule value: # every 10 minutes between 12:00AM to 08:59AM H/10 0-8 * * * # every 1 minutes between 09:00 AM to 11:59 PM H/1 9-23 * * * Thank you. Skies -- 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/30dae2b2-0c16-47cb-902c-8fc0d8b01f84%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: How can i install jenkins server on rhel 7 machine ? Have anyone done it earlier ?
Am 15.07.2015 um 10:45 schrieb Krishna Kumar Tiwari: I want to install jenkins server on my rhel 7 machine for continuous integration. Has anyone done it earlier ? Standalone or inside Tomcat (or other) web app server? Bye... 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/55A61E43.8080105%40recommind.com. For more options, visit https://groups.google.com/d/optout.
Jenkins multijob parameterize build - get params from sub jobs
Hi all, I have a job A with parameters I want to create another master job that will run job A I want job master to be able to present A's parameters without me having to insert them once more into master job. What I want to be able to do - is to have a parameterized build of master and see the parameters of job A I hope I was able to explain my goal, Thanks a lot for your help, Giora -- 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/29f8648f-825b-418a-bf8c-1fb7ced3d33a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Failing to iterate list with workflow
Try to use classic: for(int i = 0 ; i jobs.length(); ++i) {...} W dniu wtorek, 14 lipca 2015 21:40:08 UTC+2 użytkownik David Resnick napisał: I'm trying create jobs to run in parallel in a workflow with this script: def branches = [:] def jobs = [ 'job-1' ] for (job in jobs) { branches[job] = { build job: job } } parallel branches This fails with the below (though it doesn't fail when 'parallel branches' is commented out). How can this be done? Thanks, David Running: Execute sub-workflows in parallel : Start [job-1] Running: Parallel branch: job-1 [job-1] Running: Build a Job [job-1] Starting building project: job-1 Running: Execute sub-workflows in parallel : Body : End Running: End of Workflow java.io.NotSerializableException: java.util.ArrayList$Itr at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:860) at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032) at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988) at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854) at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032) at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988) at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854) at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032) at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988) at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854) at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032) at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988) at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:967) at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854) at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032) at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988) at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854) at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032) at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988) at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854) at org.jboss.marshalling.river.BlockMarshaller.doWriteObject(BlockMarshaller.java:65) at org.jboss.marshalling.river.BlockMarshaller.writeObject(BlockMarshaller.java:56) at org.jboss.marshalling.MarshallerObjectOutputStream.writeObjectOverride(MarshallerObjectOutputStream.java:50) at org.jboss.marshalling.river.RiverObjectOutputStream.writeObjectOverride(RiverObjectOutputStream.java:179) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344) at java.util.HashMap.internalWriteEntries(HashMap.java:1777) at java.util.HashMap.writeObject(HashMap.java:1354) at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:271) at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:976) at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854) at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032) at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988) at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854) at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58) at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111) at org.jenkinsci.plugins.workflow.support.pickles.serialization.RiverWriter.writeObject(RiverWriter.java:133) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:344) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:328) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:303) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$000(CpsThreadGroup.java:71) at
HTML publisher plugin, result 404
Hi, Sorry if this is the wrong group for this question. Off course I spend some time in google before posting this here. Running Jenkins 1.620 with HTML publisher plugin 1.4, running on Windows 8 I recently started using the HTML publisher plugin to publish CodeCoverage reports generated by OpenCover+ReportGenerator. HTML directory to archive : TestResults/UnitTestCoverage/ Index page[s] : index.html Report title : Unit test code coverage TestResults is a subdir of the workspace The link address on the project page is: http://iai-hka-twincat:8080/job/Continuous%20Trunk%20Debug%20build/Unit_test_code_coverage (seems ok) However response is 404 not found: HTTP/1.1 404 Not Found X-Content-Type-Options: nosniff Stapler-Trace-001: - evaluate(hudson.model.Hudson@1cf82ae :hudson.model. Hudson, /job/Continuous%20Trunk%20Debug%20build/Unit_test_code_coverage/index.html ) Stapler-Trace-002: - evaluate(((StaplerProxy)hudson.model.Hudson@1cf82ae ).getTarget(), /job/Continuous%20Trunk%20Debug%20build/Unit_test_code_coverage/index.html ) Stapler-Trace-003: - evaluate(hudson.model.Hudson@1cf82ae.getJob(Continuous Trunk Debug build),/Unit_test_code_coverage/index.html) Stapler-Trace-004: - evaluate(hudson.model.FreeStyleProject@1b6db69[ Continuous Trunk Debug build] :hudson.model.FreeStyleProject, /Unit_test_code_coverage/index.html) Stapler-Trace-005: - evaluate(hudson.model.FreeStyleProject@1b6db69[ Continuous Trunk Debug build].getDynamic(Unit_test_code_coverage,...), /index.html) Stapler-Trace-006: - evaluate(htmlpublisher. HtmlPublisherTarget$HTMLAction@5dd337 :htmlpublisher. HtmlPublisherTarget$HTMLAction,/index.html) Stapler-Trace-007: - htmlpublisher.HtmlPublisherTarget$HTMLAction@5dd337. doDynamic(...) Content-Type: text/html;charset=ISO-8859-1 Cache-Control: must-revalidate,no-cache,no-store Content-Length: 1438 Server: Jetty(winstone-2.8) .(etc) HTML publisher output: [htmlpublisher] Archiving HTML reports... [htmlpublisher] Archiving at PROJECT level C:\Users\twincat\.jenkins\jobs\Continuous Trunk Debug build\workspace\TestResults\UnitTestCoverage to C:\Users\twincat\.jenkins\jobs\Continuous Trunk Debug build\htmlreports\Unit_test_code_coverage The build is currently marked as unstable. Haven't got the change to test it with a successful build. Is my configuration wrong, or is this a bug? I tried using Always link to last build on job page, but it doesn't help. Thanks, Ruud -- 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/dc4094b7-dbf1-4386-a779-cd5061273b7a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Schedule a build in parallel from code (Jenkins API)
Never mind. Got it in import java.lang.Object Now I am stuck with unable to resolve class QueueTaskFuture unable to resolve class QueueTaskFuture On Wed, Jul 15, 2015 at 12:55 PM, Thandesha VK tha...@gmail.com wrote: It can't find the class Future. Could you please help unable to resolve class Future On Monday, March 10, 2014 at 4:26:28 AM UTC+5:30, dev123 wrote: A my bad I of course had to call the correct job, it now works thanks :-) On Sunday, March 9, 2014 11:47:20 PM UTC+1, dev123 wrote: Yes I did a check in allow concurrent execution. Now when I run mvn clean hpi:run it starts the jobs in parallel on the available executors, but its spawns jobs infinitely and the text: Done in: + object.getTime() is never printed. And I have not even pressed the build button. Why do I get something that seems like an infinite loop? Here is my code based on your script: ListFuture? futures = new ArrayListFuture?(); for (int i = 0; i 5; i++) { System.out.println(Running: + i + out off: + executors); try { QueueTaskFuture? scheduleBuild2 = build.getProject().scheduleBuild2(0, new Cause.UserCause(), parametersAction); futures.add((Future) scheduleBuild2); } catch (Exception e) { throw new AbortException(e.getMessage()); } } for (Future? future : futures) { AbstractBuild?, ? object = (AbstractBuild?, ?) future.get(); System.out.println( Done in: + object.getTime()); } On Sunday, March 9, 2014 11:23:37 PM UTC+1, Daniel Beck wrote: Since you seem to be triggering multiple builds of the same project, did you enable the project for parallel execution of multiple builds? On 09.03.2014, at 23:21, Daniel Beck m...@beckweb.net wrote: If you have the executors, the builds should run in parallel -- 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/emSwxk2F6Oo/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/53d688f9-1070-4f57-b07a-e47011315489%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/53d688f9-1070-4f57-b07a-e47011315489%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- - T -- 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/CAJJpmi8ATARzjBQ2tEWSZ%3DgjM%2BdZK%3DANGmrWVYVDC%3DW30nrEgw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
How can i install jenkins server on rhel 7 machine ? Have anyone done it earlier ?
Hi I want to install jenkins server on my rhel 7 machine for continuous integration. Has anyone done it earlier ? -- 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/b2de6ebe-69b6-4480-9eb1-e8fd8c8023ec%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[workflow-plugin] how to add parameters to existing/new project
I have a code snippet to create an empty workflow project. def parent = Jenkins.getInstance() def name = Test_Name def project = parent.getItem(name) if (project == null) { project = parent.createProject(WorkflowJob.class, name) } else print [INFO] Project $name already exists. Will be updated. project.setDescription(my description) project.setDefinition(new CpsFlowDefinition(print \test\)) project.addTrigger(new hudson.triggers.TimerTrigger(0 20 * * *)) project.setBuildDiscarder(new hudson.tasks.LogRotator(, 5, , )) project.save() I would like to add parameters to that project, something like: project.addParameter(new StringParameter(name, default, description)) but I cannot find a way how to actually do 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/324760f0-02a7-497f-8b5c-3a6e5535a3c2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Schedule a build in parallel from code (Jenkins API)
It can't find the class Future. Could you please help unable to resolve class Future On Monday, March 10, 2014 at 4:26:28 AM UTC+5:30, dev123 wrote: A my bad I of course had to call the correct job, it now works thanks :-) On Sunday, March 9, 2014 11:47:20 PM UTC+1, dev123 wrote: Yes I did a check in allow concurrent execution. Now when I run mvn clean hpi:run it starts the jobs in parallel on the available executors, but its spawns jobs infinitely and the text: Done in: + object.getTime() is never printed. And I have not even pressed the build button. Why do I get something that seems like an infinite loop? Here is my code based on your script: ListFuture? futures = new ArrayListFuture?(); for (int i = 0; i 5; i++) { System.out.println(Running: + i + out off: + executors); try { QueueTaskFuture? scheduleBuild2 = build.getProject().scheduleBuild2(0, new Cause.UserCause(), parametersAction); futures.add((Future) scheduleBuild2); } catch (Exception e) { throw new AbortException(e.getMessage()); } } for (Future? future : futures) { AbstractBuild?, ? object = (AbstractBuild?, ?) future.get(); System.out.println( Done in: + object.getTime()); } On Sunday, March 9, 2014 11:23:37 PM UTC+1, Daniel Beck wrote: Since you seem to be triggering multiple builds of the same project, did you enable the project for parallel execution of multiple builds? On 09.03.2014, at 23:21, Daniel Beck m...@beckweb.net wrote: If you have the executors, the builds should run in parallel -- 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/53d688f9-1070-4f57-b07a-e47011315489%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: immediately fail whole matrix job if one configuration fails
The usual way is to define one or more touchstone configurations that are built first, and starting the remaining jobs only if these succeeded. thanks for your answer. my first attempt to configure touchstone configurations failed, i.e. it correctly prints touchstone configs resulted in failure... at the end but it still ran all configurations?! *11:30:31* Triggering PRT_BC_TEST,PRT_CC_OPT,PRT_TC_VC10,jdk7,win7_32 http://zrh-jenkins.esri.com:8080/job/prt/PRT_BC=PRT_BC_TEST,PRT_CC=PRT_CC_OPT,PRT_TC=PRT_TC_VC10,jdk=jdk7,label=win7_32/*11:30:31* Triggering PRT_BC_REL,PRT_CC_NOPT_SYM,PRT_TC_VC11,jdk7,win7_64 http://zrh-jenkins.esri.com:8080/job/prt/PRT_BC=PRT_BC_REL,PRT_CC=PRT_CC_NOPT_SYM,PRT_TC=PRT_TC_VC11,jdk=jdk7,label=win7_64/*11:30:31* Triggering PRT_BC_TEST,PRT_CC_OPT,PRT_TC_VC10,jdk7,win7_64 http://zrh-jenkins.esri.com:8080/job/prt/PRT_BC=PRT_BC_TEST,PRT_CC=PRT_CC_OPT,PRT_TC=PRT_TC_VC10,jdk=jdk7,label=win7_64/*11:30:31* Triggering PRT_BC_REL,PRT_CC_NOPT_SYM,PRT_TC_VC11,jdk7,win7_32 http://zrh-jenkins.esri.com:8080/job/prt/PRT_BC=PRT_BC_REL,PRT_CC=PRT_CC_NOPT_SYM,PRT_TC=PRT_TC_VC11,jdk=jdk7,label=win7_32/*11:30:31* Triggering PRT_BC_TEST,PRT_CC_OPT,PRT_TC_GCC,jdk7,rhel6 http://zrh-jenkins.esri.com:8080/job/prt/PRT_BC=PRT_BC_TEST,PRT_CC=PRT_CC_OPT,PRT_TC=PRT_TC_GCC,jdk=jdk7,label=rhel6/*11:30:31* Triggering PRT_BC_REL,PRT_CC_NOPT_SYM,PRT_TC_VC10,jdk7,win7_32 http://zrh-jenkins.esri.com:8080/job/prt/PRT_BC=PRT_BC_REL,PRT_CC=PRT_CC_NOPT_SYM,PRT_TC=PRT_TC_VC10,jdk=jdk7,label=win7_32/*... * *19:27:11* Touchstone configurations resulted in FAILURE, so aborting... do i need to chain two matrix jobs together? this would kind of defeat the touchstone option... TIA, simon -- 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/48878f23-ef91-4d21-9b19-4fbf6194b43b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Cannot run groovy on node
Good news. I'll look for that next time we update our servers. Thanks On Tuesday, July 14, 2015 at 2:09:46 PM UTC-7, Daniel Beck wrote: It should only be the UI label by now (pending a new Groovy plugin release), the update center provides the correct Bintray URLs: http://jenkins.mirror.isppower.de/updates/updates/hudson.plugins.groovy.GroovyInstaller.json On 14.07.2015, at 18:26, Brian Ray be_...@sbcglobal.net javascript: wrote: Or rather, like this for 2.4.3: On Tuesday, July 14, 2015 at 9:23:05 AM UTC-7, Brian Ray wrote: codehaus.org no longer hosts the Groovy project or its binaries. Configure an installer like this: On Tuesday, July 14, 2015 at 6:36:48 AM UTC-7, Gilad Baruchian wrote: I tried to configure auto install like this : and i configured the job to use groovy-2-4-3, didn't work - did not try to install and did not find groovy. i installed groovy myself on the node, added it to the path, deleted the node from jenkins and configured again, ran the job, saw the groovy on the path variable in the job in jenkins, still it cannot find groovy. I have no more ideas, please 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-use...@googlegroups.com javascript:. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1e058f52-f4cd-410c-a602-d0fbc0aa5b8a%40googlegroups.com. 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/eedeb3fd-b267-490e-b2ce-eb7cd2700b68%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: immediately fail whole matrix job if one configuration fails
Hi, On 15.07.2015 09:14, Simon Haegler wrote: thanks for your answer. my first attempt to configure touchstone configurations failed, i.e. it correctly prints touchstone configs resulted in failure... at the end but it still ran all configurations?! Then the specificiation is probably broken. This is an expression, for example for one job that has an axis cpu with the values x86 and x64, I use cpu==x86 Apparently, your configuration selects all configurations as touchstone. Simon -- 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/55A6A1FB.7010902%40hogyros.de. For more options, visit https://groups.google.com/d/optout. signature.asc Description: OpenPGP digital signature
RE: HTML publisher plugin, result 404
That is because the index page in named index.HTM (no L). I spent lots of time on this problem. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ruud Siebierski Sent: Wednesday, July 15, 2015 3:54 AM To: jenkinsci-users@googlegroups.com Subject: HTML publisher plugin, result 404 Hi, Sorry if this is the wrong group for this question. Off course I spend some time in google before posting this here. Running Jenkins 1.620 with HTML publisher plugin 1.4, running on Windows 8 I recently started using the HTML publisher plugin to publish CodeCoverage reports generated by OpenCover+ReportGenerator. HTML directory to archive : TestResults/UnitTestCoverage/ Index page[s] : index.html Report title : Unit test code coverage TestResults is a subdir of the workspace The link address on the project page is: http://iai-hka-twincat:8080/job/Continuous%20Trunk%20Debug%20build/Unit_test_code_coverage (seems ok) However response is 404 not found: HTTP/1.1 404 Not Found X-Content-Type-Options: nosniff Stapler-Trace-001: - evaluate(hudson.model.Hudson@1cf82aemailto:hudson.model.Hudson@1cf82ae :hudson.model.Hudson,/job/Continuous%20Trunk%20Debug%20build/Unit_test_code_coverage/index.html) Stapler-Trace-002: - evaluate(((StaplerProxy)hudson.model.Hudson@1cf82aemailto:hudson.model.Hudson@1cf82ae).getTarget(),/job/Continuous%20Trunk%20Debug%20build/Unit_test_code_coverage/index.html) Stapler-Trace-003: - evaluate(hudson.model.Hudson@1cf82aemailto:hudson.model.Hudson@1cf82ae.getJob(Continuous Trunk Debug build),/Unit_test_code_coverage/index.html) Stapler-Trace-004: - evaluate(hudson.model.FreeStyleProject@1b6db69[Continuous Trunk Debug build]mailto:hudson.model.FreeStyleProject@1b6db69[Continuous%20Trunk%20Debug%20build] :hudson.model.FreeStyleProject,/Unit_test_code_coverage/index.html) Stapler-Trace-005: - evaluate(hudson.model.FreeStyleProject@1b6db69[Continuous Trunk Debug build]mailto:hudson.model.FreeStyleProject@1b6db69[Continuous%20Trunk%20Debug%20build].getDynamic(Unit_test_code_coverage,...),/index.html) Stapler-Trace-006: - evaluate(htmlpublisher.HtmlPublisherTarget$HTMLAction@5dd337mailto:htmlpublisher.HtmlPublisherTarget$HTMLAction@5dd337 :htmlpublisher.HtmlPublisherTarget$HTMLAction,/index.html) Stapler-Trace-007: - htmlpublisher.HtmlPublisherTarget$HTMLAction@5dd337mailto:htmlpublisher.HtmlPublisherTarget$HTMLAction@5dd337.doDynamic(...) Content-Type: text/html;charset=ISO-8859-1 Cache-Control: must-revalidate,no-cache,no-store Content-Length: 1438 Server: Jetty(winstone-2.8) .(etc) HTML publisher output: [htmlpublisher] Archiving HTML reports... [htmlpublisher] Archiving at PROJECT level C:\Users\twincat\.jenkins\jobs\Continuous Trunk Debug build\workspace\TestResults\UnitTestCoverage to C:\Users\twincat\.jenkins\jobs\Continuous Trunk Debug build\htmlreports\Unit_test_code_coverage The build is currently marked as unstable. Haven't got the change to test it with a successful build. Is my configuration wrong, or is this a bug? I tried using Always link to last build on job page, but it doesn't help. Thanks, Ruud -- 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/dc4094b7-dbf1-4386-a779-cd5061273b7a%40googlegroups.comhttps://groups.google.com/d/msgid/jenkinsci-users/dc4094b7-dbf1-4386-a779-cd5061273b7a%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/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8648A58%40AMERMBX02.PERKINELMER.NET. For more options, visit https://groups.google.com/d/optout.
After Jenkins upgrade to latest 1.6 version Jenkin url sometimes becomes inaccessible
Hi All, We recently followed below steps during this Jenkins upgrade from version 1.56 to latest 1.6 1. Browsed to Manage Jenkins link and clicked download/upgrade 2. The latest .war file was downloaded but was not able to copy itslef or overwrite in to the final destination folder for upgrade, looked some permission issue 3. We then manually copied the .war file to the required destination folder deleting the older one double clicked it 4. Restarted the Jenkins 5. Were able to see the upgraded version with all existing jobs 6. We then proceeded to upgrade the Jenkins plugins and did final restarts. 7. Tested couple of builds and all went fine *Issue*: Now sometimes the urls http://localhost:8080 becomes inaccesbile how ever we are able to ping the host -- 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/1c490e7b-c48e-4d34-9348-9dff2ffec787%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins multijob parameterize build - get params from sub jobs
Just create a multijob and parameterize it. There are a couple of checkboxes that will pass the parameters from the multijob down to the Phases. The two options are under the advanced option for each Phase. Click the Current job paramters option and under Add Parameters choose Current build parameters. I do not know if you need both of these, but I turned both on in my builds and it works... On Wednesday, July 15, 2015 at 5:02:25 AM UTC-4, giora...@gmail.com wrote: Hi all, I have a job A with parameters I want to create another master job that will run job A I want job master to be able to present A's parameters without me having to insert them once more into master job. What I want to be able to do - is to have a parameterized build of master and see the parameters of job A I hope I was able to explain my goal, Thanks a lot for your help, Giora -- 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/65819b8b-5a13-4899-bded-31c911c413d7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Jenkins Job spawning a thread that creates an ever-growing log file
I have a Jenkins job running some JBehave tests. The job fails, but isn't listed in the build queue any more. Unfortunately, it appears to have spawned a thread that is stuck in an infinite loop. It keeps throwing an interrupt exception, printing a stack trace, and then doing it again. The problem is that it's writing the exception and stack trace to a log file in the /tmp directory on the Jenkins master. The /tmp directory on master is on it's own mount point, but when it's full, it does stop Jenkins from performing any builds, since temporary log files are written there. The only way to recover from this, is to restart the Jenkins service on the master. If I kill the slave the log file stops growing, but it won't release the disk space, even if the file is deleted, until the Jenkins master restarts. Both the master and the slave are running on RHEL6. I'm running Jenkins 1.580.3 LTS. I have the logfilesizechecker plugin installed. But it doesn't catch this log. Has anyone encountered a similar case? I really don't like the idea that one rogue job can bring down the entire system. -- 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/43341ca2-239a-4c9e-8771-16280beed974%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [workflow-plugin] how to add parameters to existing/new project
Currently you would have to define Workflow job parameters via UIs and then use these parameters as environment variables in your workflow scripts. Unfortunately there is no direct scripting support. среда, 15 июля 2015 г., 12:06:07 UTC+3 пользователь Arek Skalski написал: I have a code snippet to create an empty workflow project. def parent = Jenkins.getInstance() def name = Test_Name def project = parent.getItem(name) if (project == null) { project = parent.createProject(WorkflowJob.class, name) } else print [INFO] Project $name already exists. Will be updated. project.setDescription(my description) project.setDefinition(new CpsFlowDefinition(print \test\)) project.addTrigger(new hudson.triggers.TimerTrigger(0 20 * * *)) project.setBuildDiscarder(new hudson.tasks.LogRotator(, 5, , )) project.save() I would like to add parameters to that project, something like: project.addParameter(new StringParameter(name, default, description)) but I cannot find a way how to actually do 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/ddf0cae4-e822-4435-9e2a-984a607bca68%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Using Jenkins to manage my target devices
Hi CHandra, Take a look at the following - they may help with what you are wanting to do. https://wiki.jenkins-ci.org/display/JENKINS/External+Resource+Dispatcher https://wiki.jenkins-ci.org/display/JENKINS/Lockable+Resources+Plugin /James On 14/07/2015 19:06, Chandra Kumar wrote: My Company is developing embedded devices, after successful build we wish to deploy it to certain devices which should also be managed by Jenkins. Is there any plugins to make Jenkins manage my devices within his database (maybe via plugin)? or is there any other solution? Thanks, Chandra Kumar -- 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 mailto:jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/555e0ea2-a931-43d9-8062-5d8a6125cefe%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/555e0ea2-a931-43d9-8062-5d8a6125cefe%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/55A6D0B3.3020904%40teilo.net. For more options, visit https://groups.google.com/d/optout.
Re: Jobs displayed in reverse order
On 16.07.2015, at 00:09, Daniel Everett djeveret...@gmail.com wrote: How do I get them to always be in alphabetical order? By upgrading to Jenkins 1.618. -- 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/9CC6A15B-A669-46BA-A963-B68857FDF4FE%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins Job spawning a thread that creates an ever-growing log file
On 15/07/2015 18:07, Jeff Dickerson wrote: The only way to recover from this, is to restart the Jenkins service on the master. Well depending what that thread is you could kill it in the script console. (Killing threads is considered 7/10 on my evil scale) I really don't like the idea that one rogue job can bring down the entire system. It doesn't sound like it is the job that is the problem but a plugin. A search for a imilar ticket in the issue tracker (issues.jenkins-ci.org) and if non present a new ticket against the plugin may help. I just wanted to check that you're also not running the build on the master are you - you are using slaves? /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/55A6D281.3020707%40teilo.net. For more options, visit https://groups.google.com/d/optout.
Jobs displayed in reverse order
Since upgrading to Jenkins 1.616, I've found that jobs are displayed within views in *reverse* alphabetical order. How do I get them to *always* be in alphabetical order? Daniel -- 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/72774e96-67eb-446c-a1e6-7dcfcee2c712%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: HTML publisher plugin, result 404
OMG. Glad that i'm not the only one who spent a lot of time on this. Thanks a lot Dick. It works now. 2015-07-15 13:47 GMT+02:00 Ginga, Dick dick.gi...@perkinelmer.com: That is because the index page in named index.HTM (no L). I spent lots of time on this problem. *From:* jenkinsci-users@googlegroups.com [mailto: jenkinsci-users@googlegroups.com] *On Behalf Of *Ruud Siebierski *Sent:* Wednesday, July 15, 2015 3:54 AM *To:* jenkinsci-users@googlegroups.com *Subject:* HTML publisher plugin, result 404 Hi, Sorry if this is the wrong group for this question. Off course I spend some time in google before posting this here. Running Jenkins 1.620 with HTML publisher plugin 1.4, running on Windows 8 I recently started using the HTML publisher plugin to publish CodeCoverage reports generated by OpenCover+ReportGenerator. HTML directory to archive : TestResults/UnitTestCoverage/ Index page[s] : index.html Report title : Unit test code coverage TestResults is a subdir of the workspace The link address on the project page is: http://iai-hka-twincat:8080/job/Continuous%20Trunk%20Debug%20build/Unit_test_code_coverage (seems ok) However response is 404 not found: HTTP/1.1 404 Not Found X-Content-Type-Options: nosniff Stapler-Trace-001: - evaluate(hudson.model.Hudson@1cf82ae :hudson.model .Hudson, /job/Continuous%20Trunk%20Debug%20build/Unit_test_code_coverage/index.html ) Stapler-Trace-002: - evaluate(((StaplerProxy)hudson.model.Hudson@1cf82ae ).getTarget(), /job/Continuous%20Trunk%20Debug%20build/Unit_test_code_coverage/index.html ) Stapler-Trace-003: - evaluate(hudson.model.Hudson@1cf82ae.getJob(Continuous Trunk Debug build),/Unit_test_code_coverage/index.html) Stapler-Trace-004: - evaluate(hudson.model.FreeStyleProject@1b6db69[Continuous Trunk Debug build] hudson.model.FreeStyleProject@1b6db69[Continuous%20Trunk%20Debug%20build] :hudson.model.FreeStyleProject,/Unit_test_code_coverage/index.html) Stapler-Trace-005: - evaluate(hudson.model.FreeStyleProject@1b6db69[Continuous Trunk Debug build] hudson.model.FreeStyleProject@1b6db69[Continuous%20Trunk%20Debug%20build] .getDynamic(Unit_test_code_coverage,...),/index.html) Stapler-Trace-006: - evaluate( htmlpublisher.HtmlPublisherTarget$HTMLAction@5dd337 :htmlpublisher. HtmlPublisherTarget$HTMLAction,/index.html) Stapler-Trace-007: - htmlpublisher.HtmlPublisherTarget$HTMLAction@5dd337 .doDynamic(...) Content-Type: text/html;charset=ISO-8859-1 Cache-Control: must-revalidate,no-cache,no-store Content-Length: 1438 Server: Jetty(winstone-2.8) .(etc) HTML publisher output: [htmlpublisher] Archiving HTML reports... [htmlpublisher] Archiving at PROJECT level C:\Users\twincat\.jenkins\jobs\Continuous Trunk Debug build\workspace\TestResults\UnitTestCoverage to C:\Users\twincat\.jenkins\jobs\Continuous Trunk Debug build\htmlreports\Unit_test_code_coverage The build is currently marked as unstable. Haven't got the change to test it with a successful build. Is my configuration wrong, or is this a bug? I tried using Always link to last build on job page, but it doesn't help. Thanks, Ruud -- 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/dc4094b7-dbf1-4386-a779-cd5061273b7a%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/dc4094b7-dbf1-4386-a779-cd5061273b7a%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/X2mcVxVWAuk/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/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8648A58%40AMERMBX02.PERKINELMER.NET https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8648A58%40AMERMBX02.PERKINELMER.NET?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/CAPM6oEJ9s%2BJrwuASQriHS16q%3DanTpz1v0H30mLXeOvch%3DVK_7Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins Email Server configuration
On 14/07/15 09:54, Martin Min wrote: Hello, I am using the almost latest Jenkins release and have a question on configuration email notification. Why are there only two fields for this? There aren't only two fields — there is also an Advanced button, which reveals more options. You even mention the Use SSL checkbox, which is in the advanced section. I unchecked the SSL box for a quick test. and received this error message below. I put in my gmail user name and password. If it didn't work when you disabled SSL, have you tried enabling SSL? This is what Gmail wants when it says that STARTTLS is required. Regards, Chris -- 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/55A680A3.6020406%40orr.me.uk. For more options, visit https://groups.google.com/d/optout.