RE: How do I stop Jenkins?
From Manage Jenkins, select Prepare for Shutdown. This will prevent any more jobs from running. When all jobs are finished, you simply (on Windows) stop the service named Jenkins From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ed Keith Sent: Wednesday, September 04, 2013 8:31 AM To: jenkinsci-users@googlegroups.com Subject: How do I stop Jenkins? I can't figure out how to shut down Jenkins. Any help would be appreciated. -EdK -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: java.lang.IllegalStateException: No match found - Perforce
This looks suspicious. What is your view definition look like: P4 -G where //... From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Peter Soncek Sent: Thursday, September 12, 2013 4:21 PM To: jenkinsci-users@googlegroups.com Subject: java.lang.IllegalStateException: No match found - Perforce I am new to Jenkins and have been building projects fine for the past week. However, this just started today in the very beginning where Jenkins is querying Perforce for changes. I am using the Perforce Plugin for this. I get an exception and the build crashes. See the exception below and let me know if there is anything I can do. Building in workspace C:\Program Files (x86)\Jenkins\workspace\gtsuite750 Using master perforce client: gtsuite_jenkins_v7.4.x [gtsuite750] $ P4 workspace -o gtsuite_jenkins_v7.4.x 'Don't update client' is set. Not saving the client changes. Last build changeset: 176777 [gtsuite750] $ P4 changes -s submitted -m 1 //gtsuite_jenkins_v7.4.x/... [gtsuite750] $ P4 -s changes -s submitted //gtsuite_jenkins_v7.4.x/...@176778,@176802mailto://gtsuite_jenkins_v7.4.x/...@176778,@176802 [gtsuite750] $ P4 describe -s 176802 [gtsuite750] $ P4 -G where //... [gtsuite750] $ P4 describe -s 176801 [gtsuite750] $ P4 describe -s 176800 [gtsuite750] $ P4 describe -s 176799 [gtsuite750] $ P4 describe -s 176797 [gtsuite750] $ P4 describe -s 176790 [gtsuite750] $ P4 describe -s 176788 [gtsuite750] $ P4 describe -s 176787 FATAL: No match found java.lang.IllegalStateExceptionhttp://stacktrace.jenkins-ci.org/search?query=java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Unknown Source) at hudson.plugins.perforce.PerforceSCMHelper.doMapping(PerforceSCMHelper.java:240) at hudson.plugins.perforce.PerforceSCMHelper.mapToWorkspace(PerforceSCMHelper.java:189) at com.tek42.perforce.parse.Changes.getWorkspacePathForFile(Changes.java:98) at com.tek42.perforce.parse.Changes.calculateWorkspacePaths(Changes.java:92) at com.tek42.perforce.parse.Changes.getChangelist(Changes.java:74) at com.tek42.perforce.parse.Changes.getChangelistsFromNumbers(Changes.java:433) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:947) at hudson.model.AbstractProject.checkout(AbstractProject.java:1408) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) at hudson.model.Run.execute(Run.java:1603) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: java.lang.IllegalStateException: No match found - Perforce
Well, if your using streams, then this view is fixed by the stream. We have just started using streams and that same Where command is also in my builds. Tis looks like a Perforce thing. I would look into changelist 176787 From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Peter Soncek Sent: Thursday, September 12, 2013 4:57 PM To: jenkinsci-users@googlegroups.com Subject: Re: java.lang.IllegalStateException: No match found - Perforce Below is my view (I renamed a few things for privacy). My workspace is mapped to a virtual stream, which has all the mappings in it. In the virtual stream, I import from other depot streams as well. //Solver/v7.4.x/... //jenkins_ws_v7.4.x/... //Solver/v7.4.x/resrc/... //jenkins_ws_v7.4.x/resrc/... //Solver/v7.4.x/source/... //jenkins_ws_v7.4.x/C:/v7.4.0/s/v740/... //Solver/v7.4.x/source/dir/src/main1.f //jenkins_ws_v7.4.x/C:/v7.4.0/s/v740/dir/src/main1.f //Solver/v7.4.x/restart_preprocessor/... //jenkins_ws_v7.4.x/C:/v7.4.0/s/restart_preprocessor/... //Solver/v7.4.x/+resrc/... //jenkins_ws_v7.4.x/C:/v7.4.0/AutoBuild/dir/cc/resrc/... //Solver/v7.4.x/usrfiles/... //jenkins_ws_v7.4.x/Y:/inst_latest/v7.4.0/usrfiles/... //Solver/v7.4.x/gtadmin-build/nag_win32/... //jenkins_ws_v7.4.x/S:/build/v740/nag_win32/... //Solver/v7.4.x/gtadmin-build/nag_win32_dp/... //jenkins_ws_v7.4.x/S:/build/v740/nag_win32_dp/... //Solver/v7.4.x/simulink/... //jenkins_ws_v7.4.x/C:/v7.4.0/s/v74/Simulink/... //Solver/v7.4.x/simulink/RealTime/... //jenkins_ws_v7.4.x/C:/v7.4.0/s/v740rt/RealTime/... //GUI/v7.4.x/AutoBuild/dir/... //jenkins_ws_v7.4.x/C:/v7.4.0/AutoBuild/dir/... //GUI/v7.4.x/GTISoft/resrc/... //jenkins_ws_v7.4.x/C:/v7.4.0/AutoBuild/dir/deploy/v7.4.0/resrc/... //GUI/v7.4.x/lib/... //jenkins_ws_v7.4.x/C:/v7.4.0/s/gui/lib/... //GUI/v7.4.x/make/... //jenkins_ws_v7.4.x/C:/v7.4.0/s/gui/make/... //GUI/v7.4.x/tools/... //jenkins_ws_v7.4.x/C:/v7.4.0/s/gui/tools/... //GUI/v7.4.x/clib/... //jenkins_ws_v7.4.x/C:/v7.4.0/s/gui/clib/... -//Solver/...source/link2010/... //jenkins_ws_v7.4.x/...source/link2010/... On Thursday, September 12, 2013 3:28:06 PM UTC-5, rginga wrote: This looks suspicious. What is your view definition look like: P4 -G where //... From: jenkins...@googlegroups.comjavascript: [mailto:jenkins...@googlegroups.comjavascript:] On Behalf Of Peter Soncek Sent: Thursday, September 12, 2013 4:21 PM To: jenkins...@googlegroups.comjavascript: Subject: java.lang.IllegalStateException: No match found - Perforce I am new to Jenkins and have been building projects fine for the past week. However, this just started today in the very beginning where Jenkins is querying Perforce for changes. I am using the Perforce Plugin for this. I get an exception and the build crashes. See the exception below and let me know if there is anything I can do. Building in workspace C:\Program Files (x86)\Jenkins\workspace\gtsuite750 Using master perforce client: gtsuite_jenkins_v7.4.x [gtsuite750] $ P4 workspace -o gtsuite_jenkins_v7.4.x 'Don't update client' is set. Not saving the client changes. Last build changeset: 176777 [gtsuite750] $ P4 changes -s submitted -m 1 //gtsuite_jenkins_v7.4.x/... [gtsuite750] $ P4 -s changes -s submitted //gtsuite_jenkins_v7.4.x/...@176778,@176802mailto://gtsuite_jenkins_v7.4.x/...@176778,@176802 [gtsuite750] $ P4 describe -s 176802 [gtsuite750] $ P4 -G where //... [gtsuite750] $ P4 describe -s 176801 [gtsuite750] $ P4 describe -s 176800 [gtsuite750] $ P4 describe -s 176799 [gtsuite750] $ P4 describe -s 176797 [gtsuite750] $ P4 describe -s 176790 [gtsuite750] $ P4 describe -s 176788 [gtsuite750] $ P4 describe -s 176787 FATAL: No match found java.lang.IllegalStateExceptionhttp://stacktrace.jenkins-ci.org/search?query=java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Unknown Source) at hudson.plugins.perforce.PerforceSCMHelper.doMapping(PerforceSCMHelper.java:240) at hudson.plugins.perforce.PerforceSCMHelper.mapToWorkspace(PerforceSCMHelper.java:189) at com.tek42.perforce.parse.Changes.getWorkspacePathForFile(Changes.java:98) at com.tek42.perforce.parse.Changes.calculateWorkspacePaths(Changes.java:92) at com.tek42.perforce.parse.Changes.getChangelist(Changes.java:74) at com.tek42.perforce.parse.Changes.getChangelistsFromNumbers(Changes.java:433) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:947) at hudson.model.AbstractProject.checkout(AbstractProject.java:1408) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) at hudson.model.Run.execute(Run.java:1603) at
RE: Build Flow Plugin and artifacts management in the DSL
Sorry missed the important statement: After each build, get the build number as B1.build.number From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ginga, Dick Sent: Monday, September 16, 2013 9:44 AM To: jenkinsci-users@googlegroups.com Subject: RE: Build Flow Plugin and artifacts management in the DSL There are a number of ways to pick the artifacts to archive. Use the In your DSL, do B1 = build(job 1) B2 = build(job 2) Then pass them to Deploy as parameters. Then, as just stated, your deploy job can pick specific builds. From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Emmanuel Boudrant Sent: Monday, September 16, 2013 9:34 AM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: Build Flow Plugin and artifacts management in the DSL I am not sure it will work, copy Artifact plugin is going to only copy the last successful artifact of a given job ? When I launch N job in parallel they are actually the same job with different parameter. Could it copy the artifacts generated by each job build ? On Monday, September 16, 2013 6:09:06 AM UTC-7, rginga wrote: The Copy Artifact Plugin will allow your deploy job to copy artifacts from your other jobs and put them in the deploy workspace. From: jenkins...@googlegroups.comjavascript: [mailto:jenkins...@googlegroups.comjavascript:] On Behalf Of Emmanuel Boudrant Sent: Monday, September 16, 2013 9:04 AM To: jenkins...@googlegroups.comjavascript: Subject: Build Flow Plugin and artifacts management in the DSL Hello, We've checked the Build Flow Plugin for parallel execution, is is possible to manage the artifact in the plugin. Example : parallel ( // Each job is going to produce one artifact { build(job1) }, { build(job2) }, ... { build(jobN) } ) // deploy need access to all the artifact generated by job1, job2, ..., jobN. build(deploy) Our use case is we have plenty of slaves for building the artifacts but only one slave can deploy them. Thanks, -emmanuel -- 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.comjavascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: Build Flow Plugin and artifacts management in the DSL
There are a number of ways to pick the artifacts to archive. Use the In your DSL, do B1 = build(job 1) B2 = build(job 2) Then pass them to Deploy as parameters. Then, as just stated, your deploy job can pick specific builds. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Emmanuel Boudrant Sent: Monday, September 16, 2013 9:34 AM To: jenkinsci-users@googlegroups.com Subject: Re: Build Flow Plugin and artifacts management in the DSL I am not sure it will work, copy Artifact plugin is going to only copy the last successful artifact of a given job ? When I launch N job in parallel they are actually the same job with different parameter. Could it copy the artifacts generated by each job build ? On Monday, September 16, 2013 6:09:06 AM UTC-7, rginga wrote: The Copy Artifact Plugin will allow your deploy job to copy artifacts from your other jobs and put them in the deploy workspace. From: jenkins...@googlegroups.comjavascript: [mailto:jenkins...@googlegroups.comjavascript:] On Behalf Of Emmanuel Boudrant Sent: Monday, September 16, 2013 9:04 AM To: jenkins...@googlegroups.comjavascript: Subject: Build Flow Plugin and artifacts management in the DSL Hello, We've checked the Build Flow Plugin for parallel execution, is is possible to manage the artifact in the plugin. Example : parallel ( // Each job is going to produce one artifact { build(job1) }, { build(job2) }, ... { build(jobN) } ) // deploy need access to all the artifact generated by job1, job2, ..., jobN. build(deploy) Our use case is we have plenty of slaves for building the artifacts but only one slave can deploy them. Thanks, -emmanuel -- 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.comjavascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: Build Flow Plugin and artifacts management in the DSL
You need a way to export the build numbers outside the build flow environment so that they are available to a later archive step. I tried doing this but could not. I do not know DSL/Groovy/Jenkins enough to do it. -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Les Mikesell Sent: Monday, September 16, 2013 10:51 AM To: jenkinsci-users Subject: Re: Build Flow Plugin and artifacts management in the DSL On Mon, Sep 16, 2013 at 8:44 AM, Ginga, Dick dick.gi...@perkinelmer.com wrote: There are a number of ways to pick the artifacts to archive. Use the In your DSL, do B1 = build(job 1) B2 = build(job 2) Then pass them to Deploy as parameters. Then, as just stated, your deploy job can pick specific builds. This approach should work as long as the artifacts are copied by another job started after the builds complete. Is there any way for the parent build-flow job to collect (and then archive) them itself instead of having another job do it? I can't find a way to use the copy artifact plugin from a build flow job. -- Les Mikesell lesmikes...@gmail.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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: Jenkins with P4 over Assembla - Unable to check workspace against depot
Is this causing a problem? I have seen it on all the builds I have created. I let Jenkins handle the workspaces for all our builds now. But I seem to remember that it always worked although it complained. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of ya...@7egames.com Sent: Monday, September 23, 2013 5:55 AM To: jenkinsci-users@googlegroups.com Subject: Jenkins with P4 over Assembla - Unable to check workspace against depot I'm trying to connect my Jenkins server with perforce. The depot is sitting on Assembla's servers. I managed to install p4v with all the settings and everything work. Jenkins throws the Unable to check workspace against depot error whenever I try to define a workspace (i'm using one which is already defined and has a path on this computer). Is there a way to at least find out what the problem is? Why is Jenkins unable to check workspace against depot? (And yes, I added the correct path to p4 under the configuration menu) Thank you! -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: editable email Notification Project Recipient List keeps getting reset to $DEFAULT_RECIPIENTS
I struggled with this for a long time. I managed to correct it by doing Apply instead of Save just once. Then it seemed to take. It feels like it gets into this state somehow and Apply gets it out. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide Sent: Tuesday, September 24, 2013 12:25 PM To: jenkinsci-users@googlegroups.com Subject: Re: editable email Notification Project Recipient List keeps getting reset to $DEFAULT_RECIPIENTS Some people have mentioned this before, but I haven't been able to reproduce it myself. Can you check if there are any errors on the logs? Also, what version of email-ext are you using? Thanks, Alex On Tue, Sep 24, 2013 at 9:18 AM, Eric Wood eric.w...@rocketmail.commailto:eric.w...@rocketmail.com wrote: The editable email Notification Project Recipient List keeps getting reset to $DEFAULT_RECIPIENTS. I open a job, place a comma separated list and then save the job. Reopen and it is reset. Is there any fix or work around? 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.commailto:jenkinsci-users%2bunsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Website: http://earl-of-code.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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: editable email Notification Project Recipient List keeps getting reset to $DEFAULT_RECIPIENTS
When in this state, as I recall, other things were not getting saved like the contents of conditional build steps. Apply fixed those too. Now I generally always use Apply first From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide Sent: Tuesday, September 24, 2013 12:32 PM To: jenkinsci-users@googlegroups.com Subject: Re: editable email Notification Project Recipient List keeps getting reset to $DEFAULT_RECIPIENTS Hmmm, that's interesting. What does Apply do differently than Save I wonder. On Tue, Sep 24, 2013 at 9:29 AM, Ginga, Dick dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com wrote: I struggled with this for a long time. I managed to correct it by doing Apply instead of Save just once. Then it seemed to take. It feels like it gets into this state somehow and Apply gets it out. From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide Sent: Tuesday, September 24, 2013 12:25 PM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: editable email Notification Project Recipient List keeps getting reset to $DEFAULT_RECIPIENTS Some people have mentioned this before, but I haven't been able to reproduce it myself. Can you check if there are any errors on the logs? Also, what version of email-ext are you using? Thanks, Alex On Tue, Sep 24, 2013 at 9:18 AM, Eric Wood eric.w...@rocketmail.commailto:eric.w...@rocketmail.com wrote: The editable email Notification Project Recipient List keeps getting reset to $DEFAULT_RECIPIENTS. I open a job, place a comma separated list and then save the job. Reopen and it is reset. Is there any fix or work around? 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.commailto:jenkinsci-users%2bunsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Website: http://earl-of-code.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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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%2bunsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Website: http://earl-of-code.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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Setting Keep Forever
Is there a build step available that can mark the current build as Keep Forever? I have a core build job and when it builds a Release build based on a parameter, I want that one to stay forever. Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
RE: Setting Keep Forever
Thanks! I will give this a try From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of matthew.web...@diamond.ac.uk Sent: Wednesday, September 25, 2013 9:35 AM To: jenkinsci-users@googlegroups.com Subject: RE: Setting Keep Forever Use https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin to test the release parameter, conditionally run a shell script that does something like: java -jar /path/to/jenkins-cli.jar -s http://jenkins:8080/ keep-build jobname jobnumber You need to sort out authentication for the jenkins-cli.jar, and also I'm not sure whether you can mark a still-running job as keep forever (we use this, but for a slightly different case). Matthew Webber From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ginga, Dick Sent: 25 September 2013 13:57 To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Setting Keep Forever Is there a build step available that can mark the current build as Keep Forever? I have a core build job and when it builds a Release build based on a parameter, I want that one to stay forever. -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: Slave ${WORKSPACE} not set correctly
Sorry, I see what the output means now. And sorry again as I don't have an answer From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Andrew Barber Sent: Friday, October 04, 2013 11:18 AM To: jenkinsci-users@googlegroups.com Subject: Re: Slave ${WORKSPACE} not set correctly Yeah, the job name is Test-Slave AJ On Friday, October 4, 2013 10:59:27 AM UTC-4, rginga wrote: Is your job named Test-Slave? This works for me but I use Windows slaves From: jenkins...@googlegroups.comjavascript: [mailto:jenkins...@googlegroups.comjavascript:] On Behalf Of Andrew Barber Sent: Friday, October 04, 2013 10:48 AM To: jenkins...@googlegroups.comjavascript: Subject: Slave ${WORKSPACE} not set correctly Has anyone else seen this? (I am on 1.529) When a jobs is launched on a slave, ${WORKSPACE} is set to the slave root instead of the workspace directory. I setup a simple example with a project that does echo ${WORKSPACE} pwd The project is a basic project - the only selection changed from the default is Restrict where this project can be run which I set to my slave. Here is the console for the job. You can see the difference between ${WORKSPACE} and pwd. [EnvInject] - Loading node environment variables. Building remotely on XL-build1 in workspace /home/scratch/jenkins_xl/workspace/Test-Slave [Test-Slave] $ /bin/sh -xe /tmp/hudson4075547965590808000.sh + echo /home/scratch/jenkins_xl /home/scratch/jenkins_xl + pwd /home/scratch/jenkins_xl/workspace/Test-Slave The only work-around I have found is to set a custom workspace, but that doesn't work if I need to allow concurrent builds. I filed a bug on this issue a week ago, but haven't gotten any bites. AJ -- 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.comjavascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: How to make Jenkins use already existing environment variables set on a slave node?
It should use all environment variables set on the slave. Be sure to configure SAHI_HOME for the user that the slave runs under or set it as a SYSTEM environment variable. Another way is to add a SET command to your batch file. That will exist for the duration of your batch file execution. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of siddharth roy Sent: Wednesday, October 09, 2013 8:15 AM To: jenkinsci-users@googlegroups.com Subject: How to make Jenkins use already existing environment variables set on a slave node? I am making use of a batch script that is supposed to run on a slave node, which makes use of Sahi. The environment variable for Sahi is set as 'SAHI_HOME' on the node. When I run the batch I figure out, it is not able to locate Sahi classes. How do I enforce Jenkins to make use of environment variables set on the slave? I mean is there any way to fetch environment variables set on a slave node? -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Need help desperately
I installed the new version, 1.4, of the xcode plug-in and immediately hit a NPE. Now I'm in big trouble. I can't download to 1.3.3 because that failed. I had to fresh install 1.4 which failed again. How can I get the previous version of this Plugin Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
RE: Need help desperately
There is already a Jira bug open on this issue. I will try your work around.thanks From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Arnaud Héritier Sent: Wednesday, October 09, 2013 9:46 AM To: jenkinsci-users@googlegroups.com Subject: Re: Need help desperately I had a NPE too after its upgrade. I just had to go into the job configuration and resaved it and it solved the issue. I didn't had the time to report the issue, it may help if you could open a ticket with the stacktrace On Wed, Oct 9, 2013 at 3:26 PM, Ginga, Dick dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com wrote: I installed the new version, 1.4, of the xcode plug-in and immediately hit a NPE. Now I'm in big trouble. I can't download to 1.3.3 because that failed. I had to fresh install 1.4 which failed again. How can I get the previous version of this Plugin Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users%2bunsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- - Arnaud Héritier http://aheritier.net Mail/GTalk: aheritier AT gmail DOT com Twitter/Skype : aheritier -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: HTML Report Publisher and FIle Hierarchies
Just a thought, have you tried to set a publish directory as /htmlstuff/**? I think that means all subdirectories From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Schalk W. Cronjé Sent: Thursday, October 10, 2013 9:39 AM To: jenkinsci-users@googlegroups.com Subject: Re: HTML Report Publisher and FIle Hierarchies That approach does not scale when the report contains 10k+ files. I have subsequently discovered that I have generating incorrect relative links. It is only when the links point to directories that they still 404. -- Schalk W. Cronjé [Sent from mobile phone] Original message From: Vivekanand S V svvivekan...@gmail.commailto:svvivekan...@gmail.com Date: 10/10/2013 14:29 (GMT+00:00) To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: HTML Report Publisher and FIle Hierarchies You should be able publish another html (By clicking the add button present below it) by giving the new directory in the 2nd one and giving file3.html as the file to archive. This is how I work with multiple HTML files. On Thu, Oct 10, 2013 at 6:29 PM, Schalk Cronjé ysb...@gmail.commailto:ysb...@gmail.com wrote: Of late I have been doing custom HTML reports to be published in Jenkins. It seems that if files are in the same directories as the index page they can be referenced from Jenkins, but not if they are in a subdirectory. To illustrate, if the following is the published index page then, file2 will be displayed, but file3.html with yield a 404 error. htmlbody a href='file2.html'same_level/a a href='nested/file3.html'in_subdir/a /body/html All of the files in the hierarchy will be archived, Anyone know whether this is defined behaviour or a bug? Tested on Jenkins 1.531 with HTML Publisher 1.2 -- 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%2bunsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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/JPnL9KuQZiU/unsubscribe. To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Error from CLI command
Anyone know about this error: C:\Users\DGjava -jar \Jenkins\jenkins-cli.jar -s http://dilithium.xx.net:8082 set-build-display-name Build-Main-Stream-iChem3D 292 iChem3D-Test-Main-2.0.0-292 java.lang.NullPointerException at hudson.cli.SetBuildDisplayNameCommand.run(SetBuildDisplayNameCommand.java:32) at hudson.cli.CLICommand.main(CLICommand.java:229) at hudson.cli.CliManagerImpl.main(CliManagerImpl.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:299) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:280) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:239) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at hudson.cli.CliManagerImpl$1.call(CliManagerImpl.java:63) at hudson.remoting.InterceptingExecutorService$2.call(InterceptingExecutorService.java:95) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
CLI command failing since Friday 10/18/13
I have a job that runs one jenkins cli command. It was working before 12 PM EST 10/18/13. @echo # @echo # set the build display name @echo # java -jar \Jenkins\jenkins-cli.jar -s http://dilithium.perkinelmer.net:8082/ set-build-display-name %JOB_TO_LABEL% %BUILD_TO_LABEL% %DISPLAY_NAME% Now each invocation produces this: Description: Unable to locate the server named wiki.jenkins-ci.org --- the server does not have a DNS entry. Perhaps there is a misspelling in the server name, or the server no longer exists. Double-check the name and try again. I can ping the wiki server from the master where this job runs and I can browse to it. It appears that after attempting to run, it gets re-queued Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
RE: CLI command failing since Friday 10/18/13
I think I might have found the issue. I think I was trying to force run a job that was waiting for an executor on the master. The master had 2 hung jobs. From: Ginga, Dick Sent: Monday, October 21, 2013 9:34 AM To: jenkinsci-users@googlegroups.com Subject: CLI command failing since Friday 10/18/13 I have a job that runs one jenkins cli command. It was working before 12 PM EST 10/18/13. @echo # @echo # set the build display name @echo # java -jar \Jenkins\jenkins-cli.jar -s http://dilithium.perkinelmer.net:8082/ set-build-display-name %JOB_TO_LABEL% %BUILD_TO_LABEL% %DISPLAY_NAME% Now each invocation produces this: Description: Unable to locate the server named wiki.jenkins-ci.org --- the server does not have a DNS entry. Perhaps there is a misspelling in the server name, or the server no longer exists. Double-check the name and try again. I can ping the wiki server from the master where this job runs and I can browse to it. It appears that after attempting to run, it gets re-queued Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
RE: Most---Urgently---Need ! SAP HCM ! in Chicago IL.***Direct---Client---Requirement***
This is not a help wanted group. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Sai Kanth Sent: Tuesday, October 29, 2013 9:52 AM To: sai kanth Subject: Most---Urgently---Need ! SAP HCM ! in Chicago IL.***Direct---Client---Requirement*** Hello Friend's, Hope you're doing well and good. We have an urgent requirement below, if you have any consultant available with you please revert back to me with your latest profile ASAP. Job Title : SAP HCM Location : Chicago IL Duration : 6 to 12 month's Job Description: * 10 years of experience as SAP HCM Consultant and should have worked on minimum 2 end to end implementations of SAP-HR-Enterprise compensation management (ECM). * Strong knowledge and hands-on experience on customizations in SAP-HCM module- ECM * In depth understanding Budgeting, Compensation Planning process, Long Term Incentives and Job Pricing. * Hands on experience in configuring Compensation Eligibilities, Guidelines, Compensation Approval workflows. Thanks Regards Sai Kanth Technical Recruiter TekisHub Consulting Services 1000 N West Street, Suite 1200, Wilmington, DE, 19801 (D) 302 613 2500 Ext 204 (F) 617 830 0525 -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: Perforce plugin: changing the sync options
I use Perforce and I do not know of a way to do this. You could tell perforce not to sync the workspace and place that command as the first command of the build via batch or shell build step. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Damian Gutierrez Sent: Tuesday, November 05, 2013 6:24 AM To: jenkinsci-users@googlegroups.com Subject: Perforce plugin: changing the sync options The plugin offers the option One Time Force Sync. This executes the sync command with a -f option. Is there a way to pass custom options to the sync command? I would like to execute the sync command in this way: p4 -r4 -vnet.maxwait=300 sync Reason: we are starting using Jenkins with Perforce. As the number of jobs grows, we have very often this problem: Caught exception communicating with perforce. Errors encountered while force syncing: error: Operation took too long (over 6.00 seconds); see 'p4 help maxlocktime'. And thus we want to change the timeout from 6 (default) to 300 sec. Or perhaps somebody has this problem and has a better idea? Bye, Damian -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: What is teh best way to prevent several jobs from running at once?
You might try the Hudson Locks and Latches pluginhttp://wiki.hudson-ci.org/display/HUDSON/Locks+and+Latches+plugin . I use it because I have created core build jobs that will build a variety of product from the same workspace and I only want one going at a time. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eric Wood Sent: Tuesday, November 05, 2013 8:21 AM To: jenkinsci-users@googlegroups.com Subject: Re: What is teh best way to prevent several jobs from running at once? Scott: I'm going to look at the throttle plugin, but can you tell me how I set up a build executor and only create a single agent within my existing running version of Jenkins? I'm not sure it you are talking about a whole new installation on jenkins on a different server, or if there is a way to set up a new executor in Jenkins and a new agent and assign only a single agent to that executor all in a single installation of jenkins. Can you clarify? Thank you, Eric On Monday, November 4, 2013 4:42 PM, Scott Evans milwrd...@gmail.commailto:milwrd...@gmail.com wrote: Eric, If you don't care the order that they run, just that they don't run simulatnously, my first thought is to set up a build executor with only one agent, and assign this job to that single executor. That way, only one can run at a time. There's also a build throttling plug-in, but I haven't looked at that to know if it would work in your case or not. Scott On Mon, Nov 4, 2013 at 3:36 PM, Eric Wood eric.w...@rocketmail.commailto:eric.w...@rocketmail.com wrote: I have about 6 jobs that all deploy to a SalesForce cloud instance and they cannot run at the same time. This are CI jobs that get triggered by check-ins to the repository. What is the best way in Jenkins to make sure that one one job at a time is running and other jobs get queued up to run once that job completes. 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.commailto:jenkinsci-users%2bunsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: Communication problem with slave is not notified by email
I had a problem with a MAC slave that went into sleep mode terminating the channel. I needed to disable that to keep the slave up. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Rui Fernando Hayashi Sent: Wednesday, December 04, 2013 6:29 AM To: jenkinsci-users@googlegroups.com Subject: Re: Communication problem with slave is not notified by email I've been having this issue quite frequently :( Maybe the best approach in this case would be to debug the network problem. But I don't have any idea on how to do that. Any help is appreciated. Tks On Tue, Dec 3, 2013 at 9:23 AM, Rui Fernando Hayashi rfhaya...@gmail.commailto:rfhaya...@gmail.com wrote: I've had some exceptions like this lately: FATAL: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request.call(Request.java:174) at hudson.remoting.Channel.call(Channel.java:672) at hudson.FilePath.act(FilePath.java:993) at org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvironmentVariablesNode(EnvironmentVariablesNodeLoader.java:44) at org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:81) at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:39) at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:642) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1575) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request.abort(Request.java:299) at hudson.remoting.Channel.terminate(Channel.java:732) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69) Caused by: java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2553) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) It seems to be related to some networking problem between the master and the slave. If I try the job again, it runs perfectly 99% of the times. The issue is that I don't get notified by email that the job failed. As the email notification is part of the job, and the master can't reach the slave to run the job, the notification part is not executed. Is there any way I can set jenkins to notify me of cases like this? Btw, in my scenario the slave is specific to that kind of job. So I can't rely on a solution that just send the job to another slave. Tks Rui -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: Failing a Build Flow
My 2 cents worth not being a Groovy programmer but I use the build flow. You can call build like this : A = build(buildA) From A you can get the status: Aresult = A.build.getResult() From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Marc MacIntyre Sent: Friday, January 10, 2014 9:00 AM To: jenkinsci-users@googlegroups.com Cc: jenkinsci-users@googlegroups.com Subject: Re: Failing a Build Flow That aside, I'm using this in production and it works well. Sent from my iPhone On Jan 9, 2014, at 11:51 PM, nicolas de loof nicolas.del...@gmail.commailto:nicolas.del...@gmail.com wrote: I don't recommend such a fully programmatic approach, build-flow is designed as a DSL, admittedly not constrained to just supported keywords (because I didn't know how to do this when I started this plugin) but clearly not supposed to be used to create such a groovy script. 2014/1/10 Marc MacIntyre marc...@purestorage.commailto:marc...@purestorage.com You are overthinking it :) The trick is to grab the return value from the build() call and check the result of that, then explicitly set the failure state of the buildflow. This is what I'm doing; it's more solution than you need, but it solves your problem. This buildflow takes a map of jobs and the pass criteria, and fires everything off in parallel. If you want to retry on failures, that's supported, and/or you can start several in parallel and pass if some portion of them pass. We use job names as the map key, so if you want to start multiple runs of a particular job with different params, you'll need to modify the script somewhat. def createBuildClosure(String jn, Map args, int retryCount = 0) { // This indirection is needed to force a clone of args, so it's out of scope and gets // re-bound to the closure each time - otherwise jenkins will deduplicate our builds. def ags = args.clone() ags.put(_dedup, java.lang.System.nanoTime()) if (retryCount) { return { retry(retryCount) {build(ags, jn)} } } else { return {build(ags, jn)} } } def startParallelRuns(Map buildsToRun) { def m = [:] buildsToRun.each { jobName, params - def maxFailures = params.get(maxFailures, 0) def retryCount = params.get(retryCount, 0) println Running +jobName+ +params.count+ times (max failures +maxFailures+) for (int idx = 0; idx params.count; idx++) { m.put(jobName+_+idx, createBuildClosure(jobName, params.args, retryCount)) } } ignore(FAILURE) { join = parallel(m) } results = [:] // process the results by job name buildsToRun.each { jobName, params - def passcount = 0 def maxFailures = params.get(maxFailures, 0) for (int idx = 0; idx params.count; idx++) { run = join[jobName+_+idx] if (run.result == SUCCESS) { passcount += 1} } result = (params.count - passcount) maxFailures ? FAILURE : SUCCESS println +result+: +jobName+: +passcount+/+params.count+ passed (Max failures: +maxFailures+) results[jobName] = result } return results } build_params = params.clone() // Modify your build params here build_params.put('UPSTREAM_JOB', build.project.namehttp://build.project.name) buildsToRun = [ job1: [count: 1, maxFailures: 0, args: build_params, retryCount: 2], job2: [count: 1, maxFailures: 0, args: build_params], job3: [count: 1, maxFailures: 0, args: build_params], jobX: [count: 2, maxFailures: 0, args: build_params], jobY: [count: 1, maxFailures: 0, args: build_params], ] results = startParallelRuns(buildsToRun) build.state.result = results.any { job, result - result == FAILURE} ? FAILURE : SUCCESS On Thu, Jan 9, 2014 at 8:22 PM, silver pja...@gmail.commailto:pja...@gmail.com wrote: Sorry for any confusion. The line: println(There were +FailuresPresent+ test(s) that failed); is outside of the if statement resulting in the example output at the end of this message. On Jan 9, 2014, at 9:55 PM, silver pja...@gmail.commailto:pja...@gmail.com wrote: When I run jobs in parallel, the Build Flow fails or passes as I'd expect. Example: parallel ( { build(job1) }, { build(job2) }, { build(job3) }, ) All of the jobs are started and if they all pass, the Build Flow passes. If one fails, the Build Flow fails. What I'd like to do is to run jobs sequentially, ignoring a failure *for that moment* but at the end, fail or pass the Build Flow as a whole. Using ignore(FAILURE) doesn't give me what I want because it will ignore a failure and pass the Build Flow regardless: ignore(FAILURE) {build(job1)} ignore(FAILURE) {build(job2)} ignore(FAILURE) {build(job3)} If they all fail, the Build Flow still passes because failures are ignored. But I really need ALL of the jobs to run no matter the outcome of
RE: Failing a Build Flow
Well, I just use it as a condition test for a further build step. Because I am testing the result of 1 of 2 parallel builds the build flow returns the combined status. Maybe return(FAILURE) will work -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Friday, January 10, 2014 10:41 AM To: jenkinsci-users@googlegroups.com Subject: Re: Failing a Build Flow On 10.01.2014, at 16:26, Ginga, Dick dick.gi...@perkinelmer.com wrote: My 2 cents worth not being a Groovy programmer but I use the build flow. You can call build like this : A = build(buildA) From A you can get the status: Aresult = A.build.getResult() How'd you set the build flow's result based on that? -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: Variable from shell script to Jenkins job
I think you can write things to a file from your shell, then make the next build step Inject environment variables plugin and those values are now available to build steps and other shell steps. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Naumenko, Roman Sent: Thursday, January 23, 2014 10:50 AM To: jenkinsci-users@googlegroups.com Subject: Variable from shell script to Jenkins job Jenkins experts, Does anybody remember how to pass variable from shell execution inside the job to Jenkins itself? Say there is pre-step: varID=(grep something ${WORKSPACE}/pom.xml | cut something else) Is it possible to use $varID in further non-shell steps in the job? --Roman ___ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser immédiatement, par retour de courriel ou par un autre moyen. -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: Perforce Plugin - Can't get plugin to work on remote client
Look for errors in your View definition in Jenkins. Maybe you don’t have a … at the end. Also try running that command on your slave, in your job workspace root as the user that the slave is logged in as. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Jason Murray Sent: Wednesday, January 29, 2014 6:53 PM To: jenkinsci-users@googlegroups.com Subject: Perforce Plugin - Can't get plugin to work on remote client I am trying to use the Perforce plugin on a Linux slave and am getting an exception. Before I file a bug I wanted to see if there was any configuration issue or compatibility problems that might be the actual cause. The possible issue with my setup are: 1. The slave is a VM in openstack. Its IP and network communications are being managed by openstack. Perhaps something is not being configured properly which is preventing the plugin from working. 2. We are able to use the latest version of the p4 client, but our server is old. Client : Rev. P4/LINUX26X86_64/2013.1/685046 (2013/08/07). Server version: P4D/LINUX26X86/2005.2/93627 (2006/02/14) Jenkins: Jenkins ver. 1.547 3. The plugin fails with the following log: Started by user anonymoushttp://10.3.9.194:8080/user/null [EnvInject] - Loading node environment variables. Building remotely on lm-nightly-deploy.openstack.lyr.ishttp://10.3.9.194:8080/computer/lm-nightly-deploy.openstack.lyr.is in workspace /home/hudson/workspace/perforce test Using remote perforce client: hudson-deploy-client--1606248362 [perforce test] $ workspace -o hudson-deploy-client--1606248362 Caught exception communicating with perforce. No output for: workspace -o hudson-deploy-client--1606248362 com.tek42.perforce.PerforceException: No output for: workspace -o hudson-deploy-client--1606248362 at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:408) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:301) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:61) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1615) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1576) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:892) at hudson.model.AbstractProject.checkout(AbstractProject.java:1415) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1678) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) ERROR: Unable to communicate with perforce. No output for: workspace -o hudson-deploy-client--1606248362 Finishedhttp://stacktrace.jenkins-ci.org/search?query=Finished: FAILURE 4. There is a jira issue that includes precisely this exception, but it was closed more than a year ago. -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: Perforce Plugin - Can't get plugin to work on remote client
Ignore that error message. I always get it and it is harmless From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Jason Murray Sent: Tuesday, February 04, 2014 2:30 PM To: jenkinsci-users@googlegroups.com Subject: Re: Perforce Plugin - Can't get plugin to work on remote client The view appears right. Workspace (client): hudson-deploy-client = Unable to check workspace against depot Let Jenkins Create Workspace: yes Let Jenkins Manage Workspace View: yes View Map: //depot/projects/tools/Hammer/... //hudson-deploy-client/... I cannot run the command locally because there is no 'workspace' command. I have configured Jenkins to install perforce support but it does not indicate that this is being done in the log output. This server has a p4 executable in its path. Where would the 'workspace' executable come from if it is not loaded by Jenkins remotely? -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
getting build information from another job
I am using the Build Flow plugin in a model where the initiating build creates the source code workspace and the called build builds it. Since the builder job may build from a number of source code copies (different branches), I want the job that creates the source workspace to send the build results email to those interested in builds from this branch. I know how to get a variety of information from the builder: B = build(Compile-this-source) b.build.number etc. but I can't get any of that into the post build steps of emailing. What I would like to do is insert in the email the URL of the builder job and maybe even a fragment of the build log if the build failed. I have tried to use Groovy Post build plugin, but I don't know enough java/groovy to get where I need to be. Can someone help? Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
RE: Best practice to copy Jenkins jobs from old instance to new one - Different networks - No root access to server - Manual Copying preferred
There is the Jenkins Import Plugin http://wiki.jenkins-ci.org/display/JENKINS/Job+Import+Plugin From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of SamiSam Sent: Friday, February 28, 2014 9:57 AM To: jenkinsci-users@googlegroups.com Subject: Best practice to copy Jenkins jobs from old instance to new one - Different networks - No root access to server - Manual Copying preferred Hi there, Can someone recommend a way to copy Jenkins jobs from an old server to a new one? Unfortunatley, I don't have root access to the old server, so copying the directories is not an option. Using a plugin might not be an option either. Can this be performed manually? Any help would be greatly appreciated! Thanks in advance -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: plugin wishlist/ideas
A plug-in for Flexera’s installshield would be helpful From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Tomáš Bambas Sent: Friday, February 28, 2014 10:01 AM To: jenkinsci-users@googlegroups.com Subject: plugin wishlist/ideas Hi all, the part of my Master thesis assignment is to create some plugin for Jenkins. It is really hard to bring something new, because there is a plugin for every possible build tool or notifier protocol So if you (or your company) have any wish or idea, please let me know. :) -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: Best practice to copy Jenkins jobs from old instance to new one - Different networks - No root access to server - Manual Copying preferred
Sorry, I never used it, just know about it From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of SamiSam Sent: Friday, February 28, 2014 10:59 AM To: jenkinsci-users@googlegroups.com Subject: Re: Best practice to copy Jenkins jobs from old instance to new one - Different networks - No root access to server - Manual Copying preferred Just tried it and keep on receiving: FAILED - Server returned HTTP response code: 403 for URL: http://***/job/**//config.xmlhttp://***/job/**/config.xml this is happening on all the jobs i'm trying to import. Any ideas? I don't think I could create an anonymous account (like some have done) and give it admin access.. oh and thanks for the reply and suggestion On Friday, February 28, 2014 10:50:33 AM UTC-5, rginga wrote: There is the Jenkins Import Plugin http://wiki.jenkins-ci.org/display/JENKINS/Job+Import+Plugin From: jenkins...@googlegroups.comjavascript: [mailto:jenkins...@googlegroups.comjavascript:] On Behalf Of SamiSam Sent: Friday, February 28, 2014 9:57 AM To: jenkins...@googlegroups.comjavascript: Subject: Best practice to copy Jenkins jobs from old instance to new one - Different networks - No root access to server - Manual Copying preferred Hi there, Can someone recommend a way to copy Jenkins jobs from an old server to a new one? Unfortunatley, I don't have root access to the old server, so copying the directories is not an option. Using a plugin might not be an option either. Can this be performed manually? Any help would be greatly appreciated! Thanks in advance -- 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.comjavascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
older windows installers
Where can I find a windows installers for Jenkins 1.524? I found the archives and the 1.524 war file but I need to do a fresh install on a windows server of 1.524. Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
RE: plugin wishlist/ideas
Tomas, I would take a look at the command line parameters for IsCmdBld.exe and provide fields for each. You should allow token expansion so that Jenkins environment variables can be used. You should support selecting different versions of IsCmdBld as we build installers with 2010, 2011 and 2013 and the project files are different for each. You might want to look at how MSBuild is configured in System Configurations as an example. You will want to check the return status of an invocation and mark the build status as successful or failed. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Tomáš Bambas Sent: Friday, March 07, 2014 5:08 AM To: jenkinsci-users@googlegroups.com Subject: Re: plugin wishlist/ideas Thank you all for your suggestions! I like the most Installshield plugin and Scheduling plugin ideas. rginga, could you please provide me some more info, e.g. what possibilities would you expect from Installshield Plugin? Mark, I have to create some new plugin. It's because I have to use my Jenkins Python SDKhttps://github.com/conyx/jenkins.py, which has to be done first anyway. I will start creating plugin in the end of March, so please if you have some other ideas, I will truly appreciate them. Tomas -- 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. 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. For more options, visit https://groups.google.com/d/optout.
Jenkins is down hard
Needs some help! Jenkins down after a reboot to load a couple new plugins. Does this mean anything: Mar 11, 2014 12:28:46 PM hudson.util.jna.Kernel32Utils load SEVERE: Failed to load Kernel32 java.lang.UnsatisfiedLinkError: Unable to load library 'kernel32': com.sun.jna.Native.open(Ljava/lang/String;)J at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:166) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:239) at com.sun.jna.Library$Handler.init(Library.java:140) Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: Jenkins is down hard
And some of my jobs are missing from the dashboard but still exist as folders From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of k.thiel...@comcast.net Sent: Tuesday, March 11, 2014 3:18 PM To: jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard I apologize, looks like you said these plugins were newly added...seems odd that it would break the jobs then. From: k thieling k.thiel...@comcast.netmailto:k.thiel...@comcast.net To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Sent: Tuesday, March 11, 2014 2:15:37 PM Subject: Re: Jenkins is down hard Disabling and uninstalling them will definitely still break your jobs as it sounds like the jobs have configurations that refer to these plugins. Before you uninstalled them you should have had the option to downgrade, not sure if you tried that or not... If you remember the version you were on for those plugins you can load the hpis in manually from http://updates.jenkins-ci.org/download/plugins/. Once you have the hpi file, you can go to the advanced tab on the plugin manager and upload it there. From: Dick Ginga dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Sent: Tuesday, March 11, 2014 2:09:45 PM Subject: RE: Jenkins is down hard I added the managed scripts and the vs code metrics. But they seemed to also add the credentials and config-file . Jenkins is actually running but: All build flow jobs get that error and we have almost all build flow jobs. I managed to both disable and uninstall those 4 plugings but still not good. Also, my Jenkins configuration is bad in that the thin-backup plugin is not displayed, my msbuild configurations are gone. I am not sure what else. From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of k.thiel...@comcast.netmailto:k.thiel...@comcast.net Sent: Tuesday, March 11, 2014 3:06 PM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard I'm not sure what that is referring to, but do you recall which plugins you updated? You might be able to add some files to the plugin folder for those plugins with name pluginname.jpi.disabled and start up Jenkins again. That should prevent the plugin from trying to load and then you might be able to roll it back. From: Dick Ginga dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Sent: Tuesday, March 11, 2014 1:56:08 PM Subject: Jenkins is down hard Needs some help! Jenkins down after a reboot to load a couple new plugins. Does this mean anything: Mar 11, 2014 12:28:46 PM hudson.util.jna.Kernel32Utils load SEVERE: Failed to load Kernel32 java.lang.UnsatisfiedLinkError: Unable to load library 'kernel32': com.sun.jna.Native.open(Ljava/lang/String;)J at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:166) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:239) at com.sun.jna.Library$Handler.init(Library.java:140) Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile – 508-847-1434 Office – 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message
RE: Jenkins is down hard
Thanks This does not indicate anything specific: Mar 11, 2014 12:28:46 PM hudson.util.jna.Kernel32Utils load SEVERE: Failed to load Kernel32 java.lang.UnsatisfiedLinkError: Unable to load library 'kernel32': com.sun.jna.Native.open(Ljava/lang/String;)J From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of k.thiel...@comcast.net Sent: Tuesday, March 11, 2014 3:22 PM To: jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard I have seen jobs disappear from the UI after downgrading or removing a plugin. Some plugins do not seem to remove the tags that it adds to the job config files... Do you have some backup config files for any jobs that you could compare to the new config files? You might see some tags in the xml that are new, and removing those tags may help. If that does resolve it, it would be a matter of going through each individual job and removing it...which may be a pain. From: Dick Ginga dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Sent: Tuesday, March 11, 2014 2:19:13 PM Subject: RE: Jenkins is down hard And some of my jobs are missing from the dashboard but still exist as folders From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of k.thiel...@comcast.netmailto:k.thiel...@comcast.net Sent: Tuesday, March 11, 2014 3:18 PM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard I apologize, looks like you said these plugins were newly added...seems odd that it would break the jobs then. From: k thieling k.thiel...@comcast.netmailto:k.thiel...@comcast.net To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Sent: Tuesday, March 11, 2014 2:15:37 PM Subject: Re: Jenkins is down hard Disabling and uninstalling them will definitely still break your jobs as it sounds like the jobs have configurations that refer to these plugins. Before you uninstalled them you should have had the option to downgrade, not sure if you tried that or not... If you remember the version you were on for those plugins you can load the hpis in manually from http://updates.jenkins-ci.org/download/plugins/. Once you have the hpi file, you can go to the advanced tab on the plugin manager and upload it there. From: Dick Ginga dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Sent: Tuesday, March 11, 2014 2:09:45 PM Subject: RE: Jenkins is down hard I added the managed scripts and the vs code metrics. But they seemed to also add the credentials and config-file . Jenkins is actually running but: All build flow jobs get that error and we have almost all build flow jobs. I managed to both disable and uninstall those 4 plugings but still not good. Also, my Jenkins configuration is bad in that the thin-backup plugin is not displayed, my msbuild configurations are gone. I am not sure what else. From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of k.thiel...@comcast.netmailto:k.thiel...@comcast.net Sent: Tuesday, March 11, 2014 3:06 PM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard I'm not sure what that is referring to, but do you recall which plugins you updated? You might be able to add some files to the plugin folder for those plugins with name pluginname.jpi.disabled and start up Jenkins again. That should prevent the plugin from trying to load and then you might be able to roll it back. From: Dick Ginga dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Sent: Tuesday, March 11, 2014 1:56:08 PM Subject: Jenkins is down hard Needs some help! Jenkins down after a reboot to load a couple new plugins. Does this mean anything: Mar 11, 2014 12:28:46 PM hudson.util.jna.Kernel32Utils load SEVERE: Failed to load Kernel32 java.lang.UnsatisfiedLinkError: Unable to load library 'kernel32': com.sun.jna.Native.open(Ljava/lang/String;)J at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:166) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:239) at com.sun.jna.Library$Handler.init(Library.java:140) Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile – 508-847-1434 Office – 781-663-6947 -- You received this message because you are subscribed to the
RE: Jenkins is down hard
At this point I am considering restoring whatever files I had last night in my thin-backup incremental folder. But I did a lot of work this morning From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Tuesday, March 11, 2014 3:08 PM To: jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard I had seen a case where adding the git-server plugin would block Jenkins from starting. It seemed to conflict with one or more of my other plugins. On Tue, Mar 11, 2014 at 1:06 PM, k.thiel...@comcast.netmailto:k.thiel...@comcast.net wrote: I'm not sure what that is referring to, but do you recall which plugins you updated? You might be able to add some files to the plugin folder for those plugins with name pluginname.jpi.disabled and start up Jenkins again. That should prevent the plugin from trying to load and then you might be able to roll it back. From: Dick Ginga dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Sent: Tuesday, March 11, 2014 1:56:08 PM Subject: Jenkins is down hard Needs some help! Jenkins down after a reboot to load a couple new plugins. Does this mean anything: Mar 11, 2014 12:28:46 PM hudson.util.jna.Kernel32Utils load SEVERE: Failed to load Kernel32 java.lang.UnsatisfiedLinkError: Unable to load library 'kernel32': com.sun.jna.Native.open(Ljava/lang/String;)J at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:166) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:239) at com.sun.jna.Library$Handler.init(Library.java:140) Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434tel:508-847-1434 Office - 781-663-6947tel:781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Thanks! Mark Waite -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Jenkins is down hard
For those interested, I completely removed the folders and *.*.disabled files for the 4 new plugins from the Jenkins folders and my configuration came back: jobs, system config, etc But all jobs are failing to start with previously stated error. Does not matter if they are build flow or not. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ginga, Dick Sent: Tuesday, March 11, 2014 3:24 PM To: jenkinsci-users@googlegroups.com Subject: RE: Jenkins is down hard Thanks This does not indicate anything specific: Mar 11, 2014 12:28:46 PM hudson.util.jna.Kernel32Utils load SEVERE: Failed to load Kernel32 java.lang.UnsatisfiedLinkError: Unable to load library 'kernel32': com.sun.jna.Native.open(Ljava/lang/String;)J From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of k.thiel...@comcast.netmailto:k.thiel...@comcast.net Sent: Tuesday, March 11, 2014 3:22 PM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard I have seen jobs disappear from the UI after downgrading or removing a plugin. Some plugins do not seem to remove the tags that it adds to the job config files... Do you have some backup config files for any jobs that you could compare to the new config files? You might see some tags in the xml that are new, and removing those tags may help. If that does resolve it, it would be a matter of going through each individual job and removing it...which may be a pain. From: Dick Ginga dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Sent: Tuesday, March 11, 2014 2:19:13 PM Subject: RE: Jenkins is down hard And some of my jobs are missing from the dashboard but still exist as folders From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of k.thiel...@comcast.netmailto:k.thiel...@comcast.net Sent: Tuesday, March 11, 2014 3:18 PM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard I apologize, looks like you said these plugins were newly added...seems odd that it would break the jobs then. From: k thieling k.thiel...@comcast.netmailto:k.thiel...@comcast.net To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Sent: Tuesday, March 11, 2014 2:15:37 PM Subject: Re: Jenkins is down hard Disabling and uninstalling them will definitely still break your jobs as it sounds like the jobs have configurations that refer to these plugins. Before you uninstalled them you should have had the option to downgrade, not sure if you tried that or not... If you remember the version you were on for those plugins you can load the hpis in manually from http://updates.jenkins-ci.org/download/plugins/. Once you have the hpi file, you can go to the advanced tab on the plugin manager and upload it there. From: Dick Ginga dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Sent: Tuesday, March 11, 2014 2:09:45 PM Subject: RE: Jenkins is down hard I added the managed scripts and the vs code metrics. But they seemed to also add the credentials and config-file . Jenkins is actually running but: All build flow jobs get that error and we have almost all build flow jobs. I managed to both disable and uninstall those 4 plugings but still not good. Also, my Jenkins configuration is bad in that the thin-backup plugin is not displayed, my msbuild configurations are gone. I am not sure what else. From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of k.thiel...@comcast.netmailto:k.thiel...@comcast.net Sent: Tuesday, March 11, 2014 3:06 PM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard I'm not sure what that is referring to, but do you recall which plugins you updated? You might be able to add some files to the plugin folder for those plugins with name pluginname.jpi.disabled and start up Jenkins again. That should prevent the plugin from trying to load and then you might be able to roll it back. From: Dick Ginga dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Sent: Tuesday, March 11, 2014 1:56:08 PM Subject: Jenkins is down hard Needs some help! Jenkins down after a reboot to load a couple new plugins. Does this mean anything: Mar 11, 2014 12:28:46 PM hudson.util.jna.Kernel32Utils load SEVERE: Failed to load Kernel32
RE: Jenkins is down hard
Thanks Richard. much appreciated. I was just looking at the same thing. But these are all too old. I have the latest Java and Jenkins version 1.524. I'm not even sure now if it had anything to do with the new plugins or just the restart.. I am very lost at this time. Don't even know what to replace/restore/rebuild From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard Bywater Sent: Tuesday, March 11, 2014 4:21 PM To: jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard This issue had similar messages: https://issues.jenkins-ci.org/browse/JENKINS-15466 Not sure if thats any help at all but thought I'd let you know in case you hadn't seen it. Richard. On Wed, Mar 12, 2014 at 7:56 AM, Ginga, Dick dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com wrote: Needs some help! Jenkins down after a reboot to load a couple new plugins. Does this mean anything: Mar 11, 2014 12:28:46 PM hudson.util.jna.Kernel32Utils load SEVERE: Failed to load Kernel32 java.lang.UnsatisfiedLinkError: Unable to load library 'kernel32': com.sun.jna.Native.open(Ljava/lang/String;)J at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:166) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:239) at com.sun.jna.Library$Handler.init(Library.java:140) Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.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. For more options, visit https://groups.google.com/d/optout.
RE: Jenkins is down hard
To ALL, my Jenkins is still down. I restored from a backup, still down. I can't repair it through Windows Add/Remove programs because I originally installed 1.493 then upgraded it to 1.524. It won' accept the 1.524 msi file and I don't think I want to repair it with 1.493. All builds fail immediately with the same issue. Very Very Frustrating. BUT, I have another server with 1.524 freshly installed. Big Question: How can I move the data from my bad Jenkins to my good one? I want the new one to have all the plugins, configuration, jobs, and history as the bad one. Can I just copy all the files? Or should I just copy all the files that my new server does NOT have? From: Ginga, Dick Sent: Tuesday, March 11, 2014 4:23 PM To: 'jenkinsci-users@googlegroups.com' Subject: RE: Jenkins is down hard Thanks Richard. much appreciated. I was just looking at the same thing. But these are all too old. I have the latest Java and Jenkins version 1.524. I'm not even sure now if it had anything to do with the new plugins or just the restart.. I am very lost at this time. Don't even know what to replace/restore/rebuild From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard Bywater Sent: Tuesday, March 11, 2014 4:21 PM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard This issue had similar messages: https://issues.jenkins-ci.org/browse/JENKINS-15466 Not sure if thats any help at all but thought I'd let you know in case you hadn't seen it. Richard. On Wed, Mar 12, 2014 at 7:56 AM, Ginga, Dick dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com wrote: Needs some help! Jenkins down after a reboot to load a couple new plugins. Does this mean anything: Mar 11, 2014 12:28:46 PM hudson.util.jna.Kernel32Utils load SEVERE: Failed to load Kernel32 java.lang.UnsatisfiedLinkError: Unable to load library 'kernel32': com.sun.jna.Native.open(Ljava/lang/String;)J at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:166) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:239) at com.sun.jna.Library$Handler.init(Library.java:140) Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.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. For more options, visit https://groups.google.com/d/optout.
RE: Jenkins is down hard
Thanks Mark, that is what I will try. I don't need to worry about my destination Jenkins. But I find that my original one has grown some and will not fit on my new server. Going to do some cleanup. Going to put this out there one more time in case someone recognizes it. There is a Jenkins Jira issue # 15974 from 2012 but I can't make heads or tails of what it means. I think it has something to do with either symlinks of disk-space 07:59:53 Started by user anonymoushttp://dilithium.perkinelmer.net:8082/user/null 07:59:53 FATAL: Failed to link the library: interface hudson.util.jna.Kernel32 07:59:53 java.lang.UnsupportedOperationExceptionhttp://stacktrace.jenkins-ci.org/search?query=java.lang.UnsupportedOperationException: Failed to link the library: interface hudson.util.jna.Kernel32 07:59:53 at hudson.util.jna.InitializationErrorInvocationHandler.invoke(InitializationErrorInvocationHandler.java:28)http://stacktrace.jenkins-ci.org/search/?query=hudson.util.jna.InitializationErrorInvocationHandler.invokeentity=method 07:59:53 at $Proxy32.CreateSymbolicLinkW(Unknown Source) 07:59:53 at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:89) 07:59:53 at hudson.Util.createSymlink(Util.java:1049) 07:59:53 at hudson.model.Run.execute(Run.java:1591) 07:59:53 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 07:59:53 at hudson.model.ResourceController.execute(ResourceController.java:88) 07:59:53 at hudson.model.Executor.run(Executor.java:247) 07:59:53 Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'kernel32': com.sun.jna.Native.open(Ljava/lang/String;)J From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Wednesday, March 12, 2014 9:29 AM To: jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard Since some of the files which Jenkins creates at install time contain state about jobs and history, I think you'll need to copy all files, not just all missing files. Unfortunately, I've never tried that technique, so I have no real experience to offer, just a belief that since Jenkins retains state in some of the files on the file system, you'll be more likely to succeed if you copy all files rather than only the files which do not already exist. On Wed, Mar 12, 2014 at 6:39 AM, Ginga, Dick dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com wrote: To ALL, my Jenkins is still down. I restored from a backup, still down. I can't repair it through Windows Add/Remove programs because I originally installed 1.493 then upgraded it to 1.524. It won' accept the 1.524 msi file and I don't think I want to repair it with 1.493. All builds fail immediately with the same issue. Very Very Frustrating. BUT, I have another server with 1.524 freshly installed. Big Question: How can I move the data from my bad Jenkins to my good one? I want the new one to have all the plugins, configuration, jobs, and history as the bad one. Can I just copy all the files? Or should I just copy all the files that my new server does NOT have? From: Ginga, Dick Sent: Tuesday, March 11, 2014 4:23 PM To: 'jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com' Subject: RE: Jenkins is down hard Thanks Richard. much appreciated. I was just looking at the same thing. But these are all too old. I have the latest Java and Jenkins version 1.524. I'm not even sure now if it had anything to do with the new plugins or just the restart.. I am very lost at this time. Don't even know what to replace/restore/rebuild From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard Bywater Sent: Tuesday, March 11, 2014 4:21 PM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard This issue had similar messages: https://issues.jenkins-ci.org/browse/JENKINS-15466 Not sure if thats any help at all but thought I'd let you know in case you hadn't seen it. Richard. On Wed, Mar 12, 2014 at 7:56 AM, Ginga, Dick dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com wrote: Needs some help! Jenkins down after a reboot to load a couple new plugins. Does this mean anything: Mar 11, 2014 12:28:46 PM hudson.util.jna.Kernel32Utils load SEVERE: Failed to load Kernel32 java.lang.UnsatisfiedLinkError: Unable to load library 'kernel32': com.sun.jna.Native.open(Ljava/lang/String;)J at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:166) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:239) at com.sun.jna.Library$Handler.init(Library.java:140) Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com
RE: Jenkins is down hard
Thanks, I am up now but I had to move my entire implementation onto another server that was working. I could not move all my build logs and artifacts. That was too much data. I still have no clue what happened and it has scared me greatly. My entire Jenkins installation can be taken down and un-recoverable and no one knows why. We had Java 7, we tried updating Java, downgrading Java, removing Java, It seems that Jenkins wants 6.x. and is delivered with its own version. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard Bywater Sent: Wednesday, March 12, 2014 4:06 PM To: jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard You don't happen to have changed version of Java at all? I notice that in the code there's a different path for Java 6 vs Java 7 and you are in the Java 6 flow by the looks. You could always try Java 7 and see if that path works :) Richard. On Thu, Mar 13, 2014 at 2:35 AM, Ginga, Dick dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com wrote: Thanks Mark, that is what I will try. I don't need to worry about my destination Jenkins. But I find that my original one has grown some and will not fit on my new server. Going to do some cleanup. Going to put this out there one more time in case someone recognizes it. There is a Jenkins Jira issue # 15974 from 2012 but I can't make heads or tails of what it means. I think it has something to do with either symlinks of disk-space 07:59:53 Started by user anonymoushttp://dilithium.perkinelmer.net:8082/user/null 07:59:53 FATAL: Failed to link the library: interface hudson.util.jna.Kernel32 07:59:53 java.lang.UnsupportedOperationExceptionhttp://stacktrace.jenkins-ci.org/search?query=java.lang.UnsupportedOperationException: Failed to link the library: interface hudson.util.jna.Kernel32 07:59:53 at hudson.util.jna.InitializationErrorInvocationHandler.invoke(InitializationErrorInvocationHandler.java:28)http://stacktrace.jenkins-ci.org/search/?query=hudson.util.jna.InitializationErrorInvocationHandler.invokeentity=method 07:59:53 at $Proxy32.CreateSymbolicLinkW(Unknown Source) 07:59:53 at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:89) 07:59:53 at hudson.Util.createSymlink(Util.java:1049) 07:59:53 at hudson.model.Run.execute(Run.java:1591) 07:59:53 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 07:59:53 at hudson.model.ResourceController.execute(ResourceController.java:88) 07:59:53 at hudson.model.Executor.run(Executor.java:247) 07:59:53 Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'kernel32': com.sun.jna.Native.open(Ljava/lang/String;)J From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Wednesday, March 12, 2014 9:29 AM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: Jenkins is down hard Since some of the files which Jenkins creates at install time contain state about jobs and history, I think you'll need to copy all files, not just all missing files. Unfortunately, I've never tried that technique, so I have no real experience to offer, just a belief that since Jenkins retains state in some of the files on the file system, you'll be more likely to succeed if you copy all files rather than only the files which do not already exist. On Wed, Mar 12, 2014 at 6:39 AM, Ginga, Dick dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com wrote: To ALL, my Jenkins is still down. I restored from a backup, still down. I can't repair it through Windows Add/Remove programs because I originally installed 1.493 then upgraded it to 1.524. It won' accept the 1.524 msi file and I don't think I want to repair it with 1.493. All builds fail immediately with the same issue. Very Very Frustrating. BUT, I have another server with 1.524 freshly installed. Big Question: How can I move the data from my bad Jenkins to my good one? I want the new one to have all the plugins, configuration, jobs, and history as the bad one. Can I just copy all the files? Or should I just copy all the files that my new server does NOT have? From: Ginga, Dick Sent: Tuesday, March 11, 2014 4:23 PM To: 'jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com' Subject: RE: Jenkins is down hard Thanks Richard. much appreciated. I was just looking at the same thing. But these are all too old. I have the latest Java and Jenkins version 1.524. I'm not even sure now if it had anything to do with the new plugins or just the restart.. I am very lost at this time. Don't even know what to replace/restore/rebuild From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard Bywater Sent
RE: Jenkins is down hard
Well, I am not sure it had anything to do with the plugins that were added. I restored the entire Jenkins folders (except the Jobs) folder from a full back up last Sat. still not a single job would run. What is the LTS? I'm running 1.524. I am assuming that the jre folder contains a java runtime environment running on Windows. -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Les Mikesell Sent: Wednesday, March 12, 2014 4:43 PM To: jenkinsci-users Subject: Re: Jenkins is down hard On Wed, Mar 12, 2014 at 3:28 PM, Ginga, Dick dick.gi...@perkinelmer.com wrote: Thanks, I am up now but I had to move my entire implementation onto another server that was working. I could not move all my build logs and artifacts. That was too much data. I still have no clue what happened and it has scared me greatly. My entire Jenkins installation can be taken down and un-recoverable and no one knows why. Good argument for running the LTS version and trying new plugins on a test version before installing in production... We had Java 7, we tried updating Java, downgrading Java, removing Java, It seems that Jenkins wants 6.x. and is delivered with its own version. What platform/version contains a jvm? -- Les Mikesell lesmikes...@gmail.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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Jenkins is down hard
Thanks Les. -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Les Mikesell Sent: Wednesday, March 12, 2014 5:12 PM To: jenkinsci-users Subject: Re: Jenkins is down hard On Wed, Mar 12, 2014 at 3:53 PM, Ginga, Dick dick.gi...@perkinelmer.com wrote: Well, I am not sure it had anything to do with the plugins that were added. I restored the entire Jenkins folders (except the Jobs) folder from a full back up last Sat. still not a single job would run. The plugins are the only thing you mentioned changing before the problem. Things usually don't break unless something has changed. And it looked like that error would happen at startup, before it even looked at the jobs. What is the LTS? I'm running 1.524. LTS is the long-term-supported version. See the tab on the right side of http://jenkins-ci.org/. It lags a bit behind the main releases so there is less of a chance that you will be the first to be hit by a new bug. I am assuming that the jre folder contains a java runtime environment running on Windows. I don't know anything about the windows packaging or the startup command/environment. I'd assume you could run it under a different jvm even if it ships with its own. -- Les Mikesell lesmikes...@gmail.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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Shared Perforce workspace
It certainly sounds like the perforce server’s have list what it thinks is already in the workspace) is different from what is actually there. My first thought is that none of these jobs can run at the same time. Second is an incremental update should be much shorter. Not short enough for all jobs to use the exact same workspace definition? From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of jpsteinm...@theworkshop.us.com Sent: Thursday, March 20, 2014 3:17 PM To: jenkinsci-users@googlegroups.com Subject: Shared Perforce workspace Hello, I have a Jenkins master that is set up share the same workspace for Perforce. This is primarily because the depot is more than 40GB in size and syncing this per job is prohibitive. The jobs are also set up to share a single Perforce client workspace where each job modifies the client view to sync on the files it needs. The problem I am finding with this setup however is that each time a job runs the files that were previously synced are gone. As far as I can tell this is either happening because the job is cleaning up the workspace after the job is done or due to having another job switch the client view which causes the directories to be cleaned up. As you might imagine with such a large depot this is very problematic. A single job takes at least 15 minutes to sync each time when in reality it shouldn't take more than a few seconds. I have double checked all of my settings, everything pertaining to cleaning up workspaces is unchecked, force syncing disabled and so on. Does anyone know why this might be happening? Perhaps there is a better way to share the workspace for these jobs? Thanks in advance, Jean-Philippe Steinmetz -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: How to access jobs variables with Build Flow Plugin?
I do not have an answer but I have some knowledge. The only thing you have left after “Build” runs is “b”. from the build flow Wiki page: Environment variables from a job can be obtained using the following, which is especially useful for getting things like the checkout revision used by the SCM plugin ('P4_CHANGELIST', 'GIT_REVISION', etc) : def revision = b.environment.get( GIT_REVISION ) So, if you predefine the environment of “Build” to have those variables, then the above command will get them. But it might only get the original value and not any changed value that “Build” sets. There is another plugin called Groovy Postbuild which give you access to the “b” build object of “Build” while it is running: Executes a groovy script in the Hudson JVM. Typically, the script checks some conditions and changes accordingly the build result, puts badges next to the build in the build history and/or displays information on the build summary page. The groovy script can use the variable manager, which provides access to the following objects and methods: * hudson - the current Hudson instance. * build - the current build. * listener - the build listener. If you can figure out a way of “setting” the environment variables in the object “build” at the end of job “Build”, then you might be able to use b.environment.get get it. but I am not yet a Groovy Guru. Perhaps there is a build.environment.set method. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of h...@renatorodrigues.me Sent: Tuesday, March 25, 2014 11:25 AM To: jenkinsci-users@googlegroups.com Subject: How to access jobs variables with Build Flow Plugin? My Build Flow job has the following structure: b = build(Build) parallel ( { build(Test-Device, device: id1) }, { build(Test-Device, device: id2) } ) In the Build job, I have a variable: export DEVICES=id1 id2. From the flow DSL, how can I have access to this variable in order to use its value on the consequent parallel jobs? -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Shared Perforce workspace
If your last hurtle here is to get the labeling working, can you use the perforce command line via a batch file build step to apply the label? From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Steinmetz, Jean-Philippe Sent: Tuesday, March 25, 2014 5:24 PM To: jenkinsci-users@googlegroups.com Subject: Re: Shared Perforce workspace There are two issues I am trying to resolve with the shared workspace. First, while each job is considered independent (code from one part of the workspace doesn't rely on another part) the exact drive location and folder structure is very important to maintain. There are a lot of pre-existing build scripts and environment settings that rely on the perforce workspace of the machine being in exactly one place. When I originally posted this question I had set up each job to share the same p4 client spec but be able to modify the view while still specifying the same root workspace of each job (e.g. D:\workspace) . This allowed each job to sync and work against only the files it needs. However in doing this, I found that each time a job changed the view of the client spec and sync'd it would delete all the files previously sync'd by another job. This is a major issue as each job's particular view of the client spec can be 40GB or more. What I currently have is for no jobs to be able to modify the client spec's view but instead use a view mask for sync'ing. While this eliminates the problem of having jobs delete previously sync'd folders I now cannot create meaningful p4 labels as they get applied to the entire depot tree instead of just the particular job's view where the label matters. Ideally I should be able to specify the shared workspace for all jobs (e.g. D:\workspace) in order to ensure that the environment is properly setup, then have each job modify the client spec when polling/syncing in order to do it's work and still be able to label the limited view appropriately. This would not delete any previously sync'd files from a previous client spec. Is this possible? Alternatively, I have thought about using my existing strategy of not allowing any job to modify the client spec and then making a custom build of the perforce plugin that would allow me to use the View Mask when applying a label. On Mon, Mar 24, 2014 at 10:19 AM, Gareth Bowles gbow...@gmail.commailto:gbow...@gmail.com wrote: Does every build need to sync the entire depot ? That's very unusual; individual builds that get code from Perforce normally use a restricted client view to get only the sub-paths from the depot that they need. In that situation, each Jenkins job would use a different client view and you shouldn't see much of a performance impact if you clean the workspace before each build. On Sunday, March 23, 2014 7:35:14 AM UTC-7, rginga wrote: It certainly sounds like the perforce server's have list what it thinks is already in the workspace) is different from what is actually there. My first thought is that none of these jobs can run at the same time. Second is an incremental update should be much shorter. Not short enough for all jobs to use the exact same workspace definition? From: jenkins...@googlegroups.commailto:jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] On Behalf Of jpste...@theworkshop.us.commailto:jpste...@theworkshop.us.com Sent: Thursday, March 20, 2014 3:17 PM To: jenkins...@googlegroups.commailto:jenkins...@googlegroups.com Subject: Shared Perforce workspace Hello, I have a Jenkins master that is set up share the same workspace for Perforce. This is primarily because the depot is more than 40GB in size and syncing this per job is prohibitive. The jobs are also set up to share a single Perforce client workspace where each job modifies the client view to sync on the files it needs. The problem I am finding with this setup however is that each time a job runs the files that were previously synced are gone. As far as I can tell this is either happening because the job is cleaning up the workspace after the job is done or due to having another job switch the client view which causes the directories to be cleaned up. As you might imagine with such a large depot this is very problematic. A single job takes at least 15 minutes to sync each time when in reality it shouldn't take more than a few seconds. I have double checked all of my settings, everything pertaining to cleaning up workspaces is unchecked, force syncing disabled and so on. Does anyone know why this might be happening? Perhaps there is a better way to share the workspace for these jobs? Thanks in advance, Jean-Philippe Steinmetz -- 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.commailto:jenkinsci-use...@googlegroups.com. For more options, visit
RE: How to access jobs variables with Build Flow Plugin?
My thought is to use Groovy Postbuild in your “Build” job in order to set/change the environment variables. Then in your Build Flow job, use b.environment.get to get that value. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of h...@renatorodrigues.me Sent: Thursday, March 27, 2014 11:29 AM To: jenkinsci-users@googlegroups.com Subject: Re: How to access jobs variables with Build Flow Plugin? Can I use Groovy Postbuild with Build Flow or should I use only the first? On Tuesday, March 25, 2014 4:51:54 PM UTC, rginga wrote: I do not have an answer but I have some knowledge. The only thing you have left after “Build” runs is “b”. from the build flow Wiki page: Environment variables from a job can be obtained using the following, which is especially useful for getting things like the checkout revision used by the SCM plugin ('P4_CHANGELIST', 'GIT_REVISION', etc) : def revision = b.environment.get( GIT_REVISION ) So, if you predefine the environment of “Build” to have those variables, then the above command will get them. But it might only get the original value and not any changed value that “Build” sets. There is another plugin called Groovy Postbuild which give you access to the “b” build object of “Build” while it is running: Executes a groovy script in the Hudson JVM. Typically, the script checks some conditions and changes accordingly the build result, puts badges next to the build in the build history and/or displays information on the build summary page. The groovy script can use the variable manager, which provides access to the following objects and methods: * hudson - the current Hudson instance. * build - the current build. * listener - the build listener. If you can figure out a way of “setting” the environment variables in the object “build” at the end of job “Build”, then you might be able to use b.environment.get get it. but I am not yet a Groovy Guru. Perhaps there is a build.environment.set method. From: jenkins...@googlegroups.comjavascript: [mailto:jenkins...@googlegroups.comjavascript:] On Behalf Of h...@renatorodrigues.mejavascript: Sent: Tuesday, March 25, 2014 11:25 AM To: jenkins...@googlegroups.comjavascript: Subject: How to access jobs variables with Build Flow Plugin? My Build Flow job has the following structure: b = build(Build) parallel ( { build(Test-Device, device: id1) }, { build(Test-Device, device: id2) } ) In the Build job, I have a variable: export DEVICES=id1 id2. From the flow DSL, how can I have access to this variable in order to use its value on the consequent parallel jobs? -- 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.comjavascript:. 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.commailto:jenkinsci-users+unsubscr...@googlegroups.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. For more options, visit https://groups.google.com/d/optout.
RE: Parallel builds with Build Flow
I think you can only do that in each job definition, that is in the specification for Job1, 2, and 3. I don’t think you can pass anything to the build method to do that. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of h...@renatorodrigues.me Sent: Thursday, March 27, 2014 11:36 AM To: jenkinsci-users@googlegroups.com Subject: Parallel builds with Build Flow Build Flow plugin allows one to have parallel builds in a simple way: parallel ( // job 1, 2 and 3 will be scheduled in parallel. { build(job1) }, { build(job2) }, { build(job3) } ) // job4 will be triggered after jobs 1, 2 and 3 complete build(job4) Is it possible to delegate a specific node for each job on the parallel environment? -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Parallel builds with Build Flow
Ah, good to know, thanks. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Marc MacIntyre Sent: Thursday, March 27, 2014 12:02 PM To: jenkinsci-users@googlegroups.com Subject: Re: Parallel builds with Build Flow Use the node label parameter plugin and pass the node name as a param to the build. Build flow accepts parameters as maps, check the docs. Sent from my iPhone On Mar 27, 2014, at 8:53 AM, Ginga, Dick dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com wrote: I think you can only do that in each job definition, that is in the specification for Job1, 2, and 3. I don’t think you can pass anything to the build method to do that. From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of h...@renatorodrigues.memailto:h...@renatorodrigues.me Sent: Thursday, March 27, 2014 11:36 AM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Parallel builds with Build Flow Build Flow plugin allows one to have parallel builds in a simple way: parallel ( // job 1, 2 and 3 will be scheduled in parallel. { build(job1) }, { build(job2) }, { build(job3) } ) // job4 will be triggered after jobs 1, 2 and 3 complete build(job4) Is it possible to delegate a specific node for each job on the parallel environment? -- 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. 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.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.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. For more options, visit https://groups.google.com/d/optout.
RE: plugin wishlist/ideas
Tomas, thanks, I have a test Jenkins server. What do you mean by “released”? and Where can I get the plugin? From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Tomáš Bambas Sent: Monday, March 31, 2014 5:45 PM To: jenkinsci-users@googlegroups.com Subject: Re: plugin wishlist/ideas rginga, InstallShield Plugin 1.0.2 has been released. Thank you all for your suggestions. TB Dne pátek, 7. března 2014 14:54:31 UTC+1 rginga napsal(a): Tomas, I would take a look at the command line parameters for IsCmdBld.exe and provide fields for each. You should allow token expansion so that Jenkins environment variables can be used. You should support selecting different versions of IsCmdBld as we build installers with 2010, 2011 and 2013 and the project files are different for each. You might want to look at how MSBuild is configured in System Configurations as an example. You will want to check the return status of an invocation and mark the build status as successful or failed. From: jenkins...@googlegroups.comjavascript: [mailto:jenkins...@googlegroups.comjavascript:] On Behalf Of Tomáš Bambas Sent: Friday, March 07, 2014 5:08 AM To: jenkins...@googlegroups.comjavascript: Subject: Re: plugin wishlist/ideas Thank you all for your suggestions! I like the most Installshield plugin and Scheduling plugin ideas. rginga, could you please provide me some more info, e.g. what possibilities would you expect from Installshield Plugin? Mark, I have to create some new plugin. It's because I have to use my Jenkins Python SDKhttps://github.com/conyx/jenkins.py, which has to be done first anyway. I will start creating plugin in the end of March, so please if you have some other ideas, I will truly appreciate them. Tomas -- 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.comjavascript:. 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.commailto:jenkinsci-users+unsubscr...@googlegroups.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. For more options, visit https://groups.google.com/d/optout.
RE: Perforce-Plugin: How to use variables in the client/view spec?
I do not think this is possible. I have tried it. You can use a parameter as a workspace name but not in the view field. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mike Craig Sent: Thursday, April 10, 2014 4:18 PM To: jenkinsci-users@googlegroups.com Subject: Perforce-Plugin: How to use variables in the client/view spec? Hello, I'm trying to make the Perforce Plugin's view spec more dynamic by including an Environment variable in the spec, but it doesn't' seem to work the way I would expect. Our specs usually include the Release name: //base/products/branch/v1.Main/... //VMWIN2K801/products/branch/v1.Main/... What I would like to do is use the Jenkins job name, or other variable, as such: //sait/VCI/products/branch/%JOB_NAME%/... //VMWIN2K801/VCI/products/branch/%JOB_NAME%/... Is this supported? Or am I doing it wrong? Thanks, Mike -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Perforce Client View Type - View Map with multiple lines...
Try putting the last slash on: //DepotName/dir_level1/dir_level2/... //WorkspaceName/Workspace_dir/dir_level1/... From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Wilhelm Sent: Tuesday, April 15, 2014 1:30 PM To: jenkinsci-users@googlegroups.com Subject: Perforce Client View Type - View Map with multiple lines... Hi, I'm trying to select different levels of directories out of a Perforce Depot with the Jenkins Plugin for Perforce.It seems that only one statement is allowed (or works) unless I'm missing something. For example... essence: //DepotName/dir_level1/dir_level2... //WorkspaceName/Workspace_dir/dir_level1... -//DepotName/dir_level1/dir_level2... //WorkspaceName/Workspace_dir... //DepotName/dir_level1/... //WorkspaceName/Workspace_dir... example: //Foo/Star/dev... //Foo_bld/Foo_bld/Star... -//Foo/dev/bar... //Foo_bld/Foo_bld... //Foo/dev... //Foo_bld/Foo_bld... Directory: Use custom workspace = D:\workspaces Workspace (client) = Foo_bld The directories don't seem to be created (only one, and it seems only the first one). What am I doing wrong? -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Perforce Client View Type - View Map with multiple lines...
Well you certainly can map multiple lines. We do it all the time. Admittedly most are one line and almost all simply do not use the second mapping. Is your example accurate for what you want to do? Isn’t your second line negate your first line? using the – is correct to eliminate folder structures. //DepotName/dir_level1/dir_level2... //WorkspaceName/Workspace_dir/dir_level1... -//DepotName/dir_level1/dir_level2... //WorkspaceName/Workspace_dir... //DepotName/dir_level1/... //WorkspaceName/Workspace_dir... From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Wilhelm Sent: Tuesday, April 15, 2014 6:29 PM To: jenkinsci-users@googlegroups.com Subject: Re: Perforce Client View Type - View Map with multiple lines... Thanks for the reply. I don't think that's it though. I have a number of builds, and they don't have that ending slash. It won't run with my extra lines in there. I took out the subsequent two lines, and it runs. But that's not what I need. When I've been looking at examples, most (all but one) only have one line in the view map. But I have to believe that multiples are allowed - it would seem to be limiting without that. Having said that, how do I do it? How do I also negate inclusion? On Tuesday, April 15, 2014 1:39:57 PM UTC-5, rginga wrote: Try putting the last slash on: //DepotName/dir_level1/dir_level2/... //WorkspaceName/Workspace_dir/dir_level1/... From: jenkins...@googlegroups.comjavascript: [mailto:jenkins...@googlegroups.comjavascript:] On Behalf Of Mark Wilhelm Sent: Tuesday, April 15, 2014 1:30 PM To: jenkins...@googlegroups.comjavascript: Subject: Perforce Client View Type - View Map with multiple lines... Hi, I'm trying to select different levels of directories out of a Perforce Depot with the Jenkins Plugin for Perforce.It seems that only one statement is allowed (or works) unless I'm missing something. For example... essence: //DepotName/dir_level1/dir_level2... //WorkspaceName/Workspace_dir/dir_level1... -//DepotName/dir_level1/dir_level2... //WorkspaceName/Workspace_dir... //DepotName/dir_level1/... //WorkspaceName/Workspace_dir... example: //Foo/Star/dev... //Foo_bld/Foo_bld/Star... -//Foo/dev/bar... //Foo_bld/Foo_bld... //Foo/dev... //Foo_bld/Foo_bld... Directory: Use custom workspace = D:\workspaces Workspace (client) = Foo_bld The directories don't seem to be created (only one, and it seems only the first one). What am I doing wrong? -- 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.comjavascript:. 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.commailto:jenkinsci-users+unsubscr...@googlegroups.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. For more options, visit https://groups.google.com/d/optout.
RE: Condition to perform a night build ONLY if there was committed something to SCM during the day
Just use the Poll SCM and set it for something like “H 20 * * *” to poll nightly at 10 PM From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Pavel Kudrys Sent: Tuesday, April 22, 2014 3:29 AM To: jenkinsci-users@googlegroups.com Subject: Condition to perform a night build ONLY if there was committed something to SCM during the day Hi folks, Does anyone have an idea what kind of condition should I create in the Conditional BuildStep Plugin to perform a night build only if there was committed something to SCM during the day? In other words, I just want to perform a night build ONLY in case there was previously performed (during the day) a Poll SCM changes based build. At the moment, our jobs are configured to perform DAILY builds based of polling SMC changes and the time scheduled NIGHTLY builds, which are performed regardless if there was committed something in the SCM. I would like to change that. Is that possible with the Conditional BuildStep Plugin or should I use different plugin for this? Thank you in advance! Have a nice day, Pavel Kudrys -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Unable to run the Slave project
Ummm, there is no D:\Hudson_Projects\AndroidHtmlAuto on the slave machine? Remember that the slave runs in a folder that is composed of the root folder in the slave config, “workspace”, and your job name. I’m guessing that your Master’s root folder in D:\Hudson_Projects. So maybe your Readmailforhtml.jar is already in D:\SlaveFiles\workspace\AndroidHTMLAuto From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Panikera Raj Sent: Monday, May 12, 2014 6:51 AM To: jenkinsci-users@googlegroups.com Subject: Unable to run the Slave project Hi All, I am implementing the Master and slave process in my setup, I am able to execute the project if i select check box option for as Restrict where this project can be run mention in Master It's working fine, If I mention as Slave name it's not able to execute the project Below is the exception i ma getting... [FSTrigger] Triggered by a change to a file (loghttp://192.168.2.189:8080/job/AndroidHTMLAuto/1314/triggerCauseAction) Building remotely on Build Slavehttp://192.168.2.189:8080/computer/Build%20Slave in workspace D:\SlaveFiles\workspace\AndroidHTMLAuto [AndroidHTMLAuto] $ cmd /c call C:\Users\kodiak\AppData\Local\Temp\hudson2668617862106061569.bat D:\SlaveFiles\workspace\AndroidHTMLAutod: D:\SlaveFiles\workspace\AndroidHTMLAutocd D:\Hudson_Projects\AndroidHtmlAuto The system cannot find the path specified. D:\SlaveFiles\workspace\AndroidHTMLAutojava -jar Readmailforhtml.jar Unable to access jarfile Readmailforhtml.jar D:\SlaveFiles\workspace\AndroidHTMLAutoexit 1 Build step 'Execute Windows batch command' marked build as failure An attempt to send an e-mail to empty list of recipients, ignored. Finished: FAILURE Please help me on this, Your help would be greatly appreciated Regards, Panikera -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Eclipse build.xml or build.xml from scratch?
You re-use the Eclipse generated build.xml and you use Ant to build it From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of stevesi...@gmail.com Sent: Tuesday, May 13, 2014 4:36 PM To: jenkinsci-users@googlegroups.com Subject: Eclipse build.xml or build.xml from scratch? I'm totally new to Jenkins, and am trying to figure out if we can use it for a project If I want to do continuous integration for a project where we're using Eclipse, am I supposed to reuse the Eclipse-generated build.xml, or do I need to write a build.xml from scratch? Or does that question even make sense? 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.commailto:jenkinsci-users+unsubscr...@googlegroups.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. For more options, visit https://groups.google.com/d/optout.
RE: Windows batch command
Without exactly knowing the workings, I have run into this. Some programs exit differently (maybe explicit EXIT(0)??) but they cause the Windows Batch file window to exist then. What you can try as a workaround is simply chaining windows batch file steps together issuing the next command. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Adrian Rusu Sent: Thursday, May 15, 2014 10:34 AM To: jenkinsci-users@googlegroups.com Subject: Re: Windows batch command It's not quite so simple. I will explain again: so, in windows batch command i give a simple command to open an api: cd C:\Users\blabla\Documents\2.7\2.7.6\Py api.exe -p COM3 After this, i receive the following message in console output: Port: 'COM3' Baud: 115200 Tab completion enabled! - At this moment i want to be able to give specific api command in the same windows batch command. These are the complete commands i tried to give but nothing seemed to happend: cd C:\Users\blabla\Documents\2.7\2.7.6\Py api-cli.exe -p COM3 SET /P COMMAND=set fm.state 1 =this is a specific api command %COMMAND% echo %COMMAND% 2014-05-14 12:27 GMT+03:00 Maciej Jaros mac...@mol.com.plmailto:mac...@mol.com.pl: Adrian Rusu (2014-05-14 10:34): Hello all. I have a question regarding Execute Windows batch command field inside a job So, i'm trying to open an api client and give specific api commands after that. I can open the api client, it's an exe file, but after that the specific api commands that i give are still interpreted as batch commands and of course the following message appears is not recognized as an internal or external command, operable program or batch file Anyone has an idea how can I avoid this, i want to open the api client and after that to give specific api commands. I know this is not actually a jenkins related problem, but maybe someone knows how to deal with it. The api is python based. python.exe yourPythonScript.py some arguments passed to script You can of course create/alter that script with by e.g. using echo command. Regards, Nux. -- 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/htgtksni8iI/unsubscribe. To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.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. For more options, visit https://groups.google.com/d/optout.
RE: Question on how to structure jobs for integration versus release to QA builds.
If you are talking about the InstallShield plugin, that was a very recent addition done by a grad student. It’s reliability might be suspect. I create MSI’s by directly calling InstallShield’s command line IsCmdBld.exe. I don’t know about ISO’s. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Chanda Norton Sent: Thursday, June 05, 2014 8:05 AM To: jenkinsci-users@googlegroups.com Cc: aris.gr...@gmail.com Subject: Re: Question on how to structure jobs for integration versus release to QA builds. hi, how did you get Jenkins to create windows installer packages. There was an MSI plugin, but it crashed my Jenkins server when I installed it. I would need to build MSI packages...also how do you create the ISO images...? On Monday, December 31, 2012 4:56:55 PM UTC-5, Aris Green wrote: I am fairly new to Jenkins and I am trying to figure out the best approach for designing a CI process for Jenkins. We also want to use Jenkins for building release milestone and release candidates. This is for a .NET project and we are using a MSBuild, Ant, Ivy, and Subversion (the SCM). The build does everything from download source code for several applications, including installation bootstrappers and Wix projects for creating Windows Installer packages. About 17 projects from building the initial source code and installation bootstrappers to building MSI packages and then creating ISO CD images. So far I understand that for integration builds, its best to build at the HEAD revision (or latest revision for that project as Jenkins does) in version control, but for a Release candidate to QA its best to build at a fixed revision. I have figured out how to pass a Subversion revision between projects using the EnvInject plugin, a snippet of Groovy, and parameterized builds for this. I figured out how to get a single project to download the latest revision or a fixed one that you enter for a parameter. The problem lies in if you want to use the same job to build at a fixed SVN revision versus the latest as for integration builds. You now seem to have a schizophrenic job that changes personalities viz-a-viz whether it is building at a fixed or latest revision and what svn revision if any to pass to the download stream project, and the fact that is has a single workspace that may be at the latest rev for that project (if for integration) or at a fixed rev for the release candidate build. You have 1 job that can behave in 2 different modes yet still having a single workspace. When you do your release candidate build, it seems that you would want prevent these jobs from automatically checking out the latest rev as in a CI type mode just after the build is complete and someone has just checked in a new rev for one of the projects. For the release build, I am experimenting with calling the jobs manually using the Build Flow Plugin or Multijob plugin in, passing the SVN revision to each job. I guess the best way to do this is to have 2 jobs for each project, one for CI and the other for an end-to-end release candidate build. I know that this is an open ended type of question, but I am looking for the best practices to use here. At least our jobs for the most part just download code and call some build scripts that are part of each project. I would like to know if I am on the right track. It's more DRY to use the same job for integration and release candidate builds, but it seems that there are issues that introduce more complexity than needed. Thanks, Aris Green -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Question on how to structure jobs for integration versus release to QA builds.
Just in a Windows Batch build step C:\Program Files (x86)\InstallShield\2013 SAB\System\IsCmdBld.exe InstallShield (R) Release Builder Copyright (c) 2013 Flexera Software LLC. All Rights Reserved. ---COMMAND LINE OPTIONS--- --REQUIRED-- -p file name project file name --OPTIONAL-- -r release name name of the release -b build location full path to the output folders and files -s silent build -i .ini file path full path to an .ini file -u upgrade only -x stop at first error -w treat warnings as errors -l Path Variable=New Path override path variable location -v enable verbose mode -n don't compile setup.rul -q2 WINDOWS INSTALLER PROJECTS: build tables and refresh files PROFESSIONAL PROJECTS: rebuild only changes since the last build -q3 only compile setup.rul -d Name=Value provide a preprocessor definition -o merge module search path -prqpath InstallSheild Prerequisite search path --WINDOWS INSTALLER PROJECTS-- -a product configuration name of the product configuration -c release configuration COMP = Files compressed into .msi file; UNCOMP = Files remain uncompressed -f release flags -e Y/N include Setup.exe in the build -y Product Version version number in the format xx.xx.x -m CUB file name of the CUB file to use to validate the package -q1 build tables only -t Microsoft(R) .NET Framework path -h skip upgrade validators -g minimum target MSI version -j minimum target Microsoft(R) .NET Framework version -z Property=Value set Property to Value in built MSI --WINDOWS INSTALLER PATCHES-- -patch_config patch configuration patch configuration name For more information on command-line parameters, please see the Help Library. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Chanda Norton Sent: Thursday, June 05, 2014 12:17 PM To: jenkinsci-users@googlegroups.com Cc: aris.gr...@gmail.com Subject: Re: Question on how to structure jobs for integration versus release to QA builds. wow...this is by a script I assume...a post build step? On Thursday, June 5, 2014 8:32:40 AM UTC-4, rginga wrote: If you are talking about the InstallShield plugin, that was a very recent addition done by a grad student. It’s reliability might be suspect. I create MSI’s by directly calling InstallShield’s command line IsCmdBld.exe. I don’t know about ISO’s. From: jenkins...@googlegroups.comjavascript: [mailto:jenkins...@googlegroups.comjavascript:] On Behalf Of Chanda Norton Sent: Thursday, June 05, 2014 8:05 AM To: jenkins...@googlegroups.comjavascript: Cc: aris@gmail.comjavascript: Subject: Re: Question on how to structure jobs for integration versus release to QA builds. hi, how did you get Jenkins to create windows installer packages. There was an MSI plugin, but it crashed my Jenkins server when I installed it. I would need to build MSI packages...also how do you create the ISO images...? On Monday, December 31, 2012 4:56:55 PM UTC-5, Aris Green wrote: I am fairly new to Jenkins and I am trying to figure out the best approach for designing a CI process for Jenkins. We also want to use Jenkins for building release milestone and release candidates. This is for a .NET project and we are using a MSBuild, Ant, Ivy, and Subversion (the SCM). The build does everything from download source code for several applications, including installation bootstrappers and Wix projects for creating Windows Installer packages. About 17 projects from building the initial source code and installation bootstrappers to building MSI packages and then creating ISO CD images. So far I understand that for integration builds, its best to build at the HEAD revision (or latest revision for that project as Jenkins does) in version control, but for a Release candidate to QA its best to build at a fixed revision. I have figured out how to pass a Subversion revision between projects using the EnvInject plugin, a snippet of Groovy, and parameterized builds for this. I figured out how to get a single project to download the latest revision or a fixed one that you enter for a parameter. The problem lies in if you want to use the same job to build at a fixed SVN revision versus the latest as for integration builds. You now seem to have a schizophrenic job that changes personalities viz-a-viz whether it is building at a fixed or latest revision and what svn revision if any to pass to the download stream project, and the fact that is has a single workspace that may be at the latest rev for that project (if for integration) or at a fixed rev for the release candidate build. You have 1 job that can behave
RE: Timeout errors
Are they going into a power-off sleep mode? -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Clickfuel Sent: Thursday, June 05, 2014 4:26 PM To: jenkinsci-users@googlegroups.com Subject: Timeout errors Anybody familiar with why we are receiving timeout errors causing our slaves to go offline. This is the log from the server. Jun 5, 2014 3:50:32 PM org.jenkinsci.remoting.nio.NioChannelHub run WARNING: Communication problem. java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:251) at sun.nio.ch.IOUtil.read(IOUtil.java:224) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:254) ) -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Coverity plugin
I have run Coverity with Jenkins. The latest plugin is better than previous ones but still not real robust. What questions do you have? From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Victoria Wei Lei Sent: Thursday, June 12, 2014 10:54 AM To: jenkinsci-users@googlegroups.com Subject: Re: Coverity plugin Hello, I am looking for help on run coverity through Jenkins as well. Not able to find a post that helps me, just wonder whether you were able to get yours working, and whether you would like to share some ideas on how to do it. Thanks Victoria On Friday, September 14, 2012 7:31:35 AM UTC-5, Théo Chamley wrote: Hello, I am trying to make Jenkins and Coverity Static Analysis work together for projects in C/C++. I have a Jenkins Master on an Ubuntu 12.04 and a Jenkins Slave and Coverity both on the same Debian Lenny. My version of Jenkins is the 1.466.1. The builds ont Jenkins are triggered by Gerrit: when a change is pushed on a project, the Jenkins master tells the slave to download the sources and build the project. This part alone works fine. I also managed to make Coverity SA work on its own: the tools cov-build, cov-analyze and cov-commit-defects are working. Now, I want to integrate Coverity with Jenkins: I installed the latest version of this pluginhttps://wiki.jenkins-ci.org/display/JENKINS/Coverity+Plugin. In the configuration of my project on Jenkins, I added a Coverity post-build action, specified an Coverity Integrity Manager Instance, a coverity project and stream. I want Jenkins to perform a Coverity build, analysis and commit. According to the help window of this option, Jenkins will automatically monitor the build using cov-build, then invoke cov-analyze and cov-commit-defects. Then, when a build is triggered, Jenkins successfully connect to the slave who downloads and builds the project, but the cov-analyze is launched and it fails because of the absence of intermediate directory. As I understand it, cov-build is never launched and does not monitor the build, therefore the intermediate directory needed for the analysis is never created. Here is log of one of my failed builds: Triggered by Gerrit: http://gerrit.server1/22 Building remotely on Jenkins Coverity in workspace /home/coverity/workspace/HelloWorldC Checkout:HelloWorldC / /home/coverity/workspace/HelloWorldC - hudson.remo...@785b38d6:Jenkinsjavascript: Coverity Using strategy: Gerrit Trigger Last Built Revision: Revision 5540c6e5802a75d0ba0ccb3463deed2a7bca9424 (master) Fetching changes from 1 remote Git repository Fetching upstream changes from ssh://jenkins@server1:29418/HelloWorldC.git Commencing build of Revision 5540c6e5802a75d0ba0ccb3463deed2a7bca9424 (master) Checking out Revision 5540c6e5802a75d0ba0ccb3463deed2a7bca9424 (master) [Coverity] cmd so far is: [cov-analyze, --dir, /home/coverity/coverity/temp-550893439800959750.tmp] [HelloWorldC] $ cov-analyze --dir /home/coverity/coverity/temp-550893439800959750.tmp [ERROR] This script reads input from the Intermediate directory, and the specified directory /home/coverity/coverity/temp-550893439800959750.tmp/c/emit does not exist. Please read the documentation to determine the appropriate ordering in which to run the Coverity Prevent commands. [Coverity] cov-analyze returned 1, aborting... [Coverity] deleting intermediate directory Build step 'Coverity' changed build result to FAILURE Build step 'Coverity' marked build as failure Finished: FAILURE Does someone have a similar setup? What am i doing wrong? Thank you for your 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.commailto:jenkinsci-users+unsubscr...@googlegroups.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. For more options, visit https://groups.google.com/d/optout.
authentication, Jenkins CLI, and Windows
OK, so I should have been paying attention to all those SSH emails. I just enabled LDAP authentication on my Jenkins server today allowing anyone logged in to do anything and I discovered that my small use of jenkins-cli now fails: # # set the build display name # C:\Program Files (x86)\Jenkins\jobs\Set-Build-Display-Name\workspacejava -jar \Jenkins\jenkins-cli.jar -s http://JenkinsServer.xxx.net:8082/ set-build-display-name Debug-xx-Build 190 Mainline-Debug-x.190 hudson.security.AccessDeniedException2: anonymous is missing the Run/Update permission as it happens, the job, Set-Build-Display-Name, runs on the Jenkins server. From the CLI help, the only way to make this work now is to provide an SSH private key. But all my systems are Windows (server and slaves). The reason to enable LDAP authentication was simply to track who is doing what, no real need for access restrictions. Is my only way of getting this job to work to install an SSH server and client on the same machine and create an SSH key? Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: authentication, Jenkins CLI, and Windows
My guess is that “anonymous” is the user when no other user is specified. With no authentication enabled, everything I do is done by “anonymous” From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Gavin Goodrich Sent: Wednesday, June 25, 2014 6:40 PM To: jenkinsci-users@googlegroups.com Subject: Re: authentication, Jenkins CLI, and Windows First, you can always setup ssh on Windows using CygWinhttps://www.cygwin.com/install.html I'm confused on the rest of your problem as I don't understand how your system is set up. How are you connecting your windows nodes now? Is anonymous a user on the jenkins server or on your windows node? On Wednesday, June 25, 2014 3:51:42 PM UTC-5, rginga wrote: OK, so I should have been paying attention to all those SSH emails….. I just enabled LDAP authentication on my Jenkins server today allowing anyone logged in to do anything and I discovered that my small use of jenkins-cli now fails: # # set the build display name # C:\Program Files (x86)\Jenkins\jobs\Set-Build-Display-Name\workspacejava -jar \Jenkins\jenkins-cli.jar -s http://JenkinsServer.xxx.net:8082/ set-build-display-name Debug-xx-Build 190 Mainline-Debug-x.190 hudson.security.AccessDeniedException2: anonymous is missing the Run/Update permission as it happens, the job, Set-Build-Display-Name, runs on the Jenkins server. From the CLI help, the only way to make this work now is to provide an SSH private key. But all my systems are Windows (server and slaves). The reason to enable LDAP authentication was simply to track who is doing what, no real need for access restrictions. Is my only way of getting this job to work to install an SSH server and client on the same machine and create an SSH key? Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.comjavascript: Mobile – 508-847-1434 Office – 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.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. For more options, visit https://groups.google.com/d/optout.
getting applescript failures back as build failures
I have a simple setup...I have a single Applescript that builds an xcode project (I inherited this) that I am running from a Shell build step. But, whether the Applescript succeeds or fails, the shell always succeeds and the build is always marked as successful. How can I get the Applescript result back to Jenkins? (I am rather novice at Applescript and MAC) Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: Configurable p4 client map based on parameterized or other factors
I am presuming that you are doing a force sync, otherwise, once the first sync is done, there will be no other file transfers unless something changes. You can exclude it based on a parameter by using the View Mask. The View Mask is a list of depot paths in the form of: //depot/sample1/... //depot/sample2/... //depot/sample4*/*.java etc... As long as the paths are in the client view, they will be used instead of the entire client workspace spec when syncing and/or polling (see the checkboxes below). Parameters may be used in this field. Important Note: When polling, the changes will be pulled from the depot specs provided, reguardless of whether or not they are in the workspace spec. This means that if you specify a file or set of files that don't exist in the view, any changes made to them will trigger a build. It's also possible that builds will be triggered constantly. Use this option with caution. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of John McGowan Sent: Monday, August 11, 2014 6:49 AM To: jenkinsci-users@googlegroups.com Subject: Configurable p4 client map based on parameterized or other factors Hi, Quick query as I'm not sure if this is possible. Basically we run P4 and have a view such as: //code/mainline/... //code-mainline-precommit/code/mainline/... Within //code/mainline/... is //code/mainline/third-party/... which is rather large for some components. Is there a way to exclude it based on: Parameterized option from the user and/or Checking the shelve (for the precommit job) and excluding it. I know I can exclude it like this: -//code/mainline/third-party/... //code-mainline-precommit/code/mainline/third-party/... but on occasion there will be changes in there. Doesn't appear to be anyway to influence the map selected based on influences that kick a job off. The View Map from File option can't be configured to select map A or B which might have worked. Just trying to cut down on build times pulling up to 1.5Gb of TP components from a remote server when its not needed. Thanks, John -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Discard old builds - limit to snapshots?
I use the API at the end of builds. I test a parameter called BUILD_TYPE then: For Windows: echo @ echo @ Mark this build as keep forever echo @ java -jar C:\Tools\BuildTools\jenkins-cli.jar -s http://jenkinsserver.xxx.xxx:8082/ keep-build %JOB_NAME% %BUILD_NUMBER% From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of James Green Sent: Friday, August 15, 2014 7:20 AM To: jenkinsci-users@googlegroups.com Subject: Re: Discard old builds - limit to snapshots? I see a button on the per-build screen. However I'd like this configured within Jenkins as policy to help satisfy some auditing requirements. Is this doable or is this a an improvement to be logged? On 15 August 2014 10:11, James Nord (jnord) jn...@cisco.commailto:jn...@cisco.com wrote: HI James, Both the m2release plugin and the release plugin have the ability to mark a release as keep forever – which will prevent it from being removed as part of the old build tidyup process. If you are not using any of these then you always have the ability to do this manually or via an API call to jenkins as part of the build. /James From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] On Behalf Of James Green Sent: 15 August 2014 09:20 To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Discard old builds - limit to snapshots? I'd really like to keep build history of releases but maintain only a limited set of snapshot history. Is there a way to do this? Thanks, 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.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.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. For more options, visit https://groups.google.com/d/optout.
RE: Discard old builds - limit to snapshots?
I put this as a post-build step at the end of each “Release” job From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of James Green Sent: Friday, August 15, 2014 9:14 AM To: jenkinsci-users@googlegroups.com Subject: Re: Discard old builds - limit to snapshots? Where is this put? What I want to avoid is each project needing the same instruction - it should be policy that developers have no control over (they shouldn't). On 15 August 2014 13:43, Ginga, Dick dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com wrote: I use the API at the end of builds. I test a parameter called BUILD_TYPE then: For Windows: echo @ echo @ Mark this build as keep forever echo @ java -jar C:\Tools\BuildTools\jenkins-cli.jar -s http://jenkinsserver.xxx.xxx:8082/ keep-build %JOB_NAME% %BUILD_NUMBER% From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] On Behalf Of James Green Sent: Friday, August 15, 2014 7:20 AM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Re: Discard old builds - limit to snapshots? I see a button on the per-build screen. However I'd like this configured within Jenkins as policy to help satisfy some auditing requirements. Is this doable or is this a an improvement to be logged? On 15 August 2014 10:11, James Nord (jnord) jn...@cisco.commailto:jn...@cisco.com wrote: HI James, Both the m2release plugin and the release plugin have the ability to mark a release as keep forever – which will prevent it from being removed as part of the old build tidyup process. If you are not using any of these then you always have the ability to do this manually or via an API call to jenkins as part of the build. /James From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] On Behalf Of James Green Sent: 15 August 2014 09:20 To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Discard old builds - limit to snapshots? I'd really like to keep build history of releases but maintain only a limited set of snapshot history. Is there a way to do this? Thanks, 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.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.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. For more options, visit https://groups.google.com/d/optout.
RE: Getting metadata of another sub-project in Multijob project
Well, there are a few ways to do this: The Parameterized Trigger plugin lets you trigger one job from another and pass to that job a set of parameters. You can use the $BUILD_NUMBER and $JOB_NAME as parameters. There is also the Build Flow plugin that provide a DSL for scripting job execution. It exposes some underlying Jenkins objects that you can fetch all kinds of information from and pass onto other jobs, again, as parameters. -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Adam Mercer Sent: Tuesday, August 19, 2014 9:13 AM To: jenkinsci-users@googlegroups.com Subject: Re: Getting metadata of another sub-project in Multijob project Can anyone offer any help regarding this? Or point to some useful documentation as the plugin documentation is not much help? Cheers Adam On Thu, Aug 14, 2014 at 3:21 PM, Adam Mercer r...@gravity.phys.uwm.edu wrote: Hi I'm trying to use the Multijob plugin write a series of jobs for building a connected series of libraries. How can I pass appropriate metadata from one project to subsequent projects. For example the BUILD_NUMBER and the JOB_NAME? Or is the Multijob plugin not the best way to achieve this? Cheers Adam -- 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. 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. For more options, visit https://groups.google.com/d/optout.
Getting values into post build steps
Hello, Is there an easy way to get a value from the Build Flow step into a job parameter that is visible in a post build step? e.g. b = build(job-c) I want b.number for a post build step. Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
First Maven project
I just tried to create my first Maven2/3 project and immediately hit just creating the job: Stack trace javax.servlet.ServletException: java.lang.NoSuchFieldError: triggers at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:726) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:777) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:239) I am running 1.524 with Maven Project Plugin 1.496 which must have come with 1.524. I see much newer Maven plugins but the latest requires 1.538. I don't want to upgrade, so I would like to install Maven plugin 2.0.4. How do I get this older version? Thanks Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: First Maven project
Well, I have found the 2.0.4 version and downloaded it's .hpi file. Now how do I install it? Thanks From: Ginga, Dick Sent: Friday, September 05, 2014 10:18 AM To: jenkinsci-users@googlegroups.com Subject: First Maven project I just tried to create my first Maven2/3 project and immediately hit just creating the job: Stack trace javax.servlet.ServletException: java.lang.NoSuchFieldError: triggers at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:726) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:777) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:239) I am running 1.524 with Maven Project Plugin 1.496 which must have come with 1.524. I see much newer Maven plugins but the latest requires 1.538. I don't want to upgrade, so I would like to install Maven plugin 2.0.4. How do I get this older version? Thanks Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: First Maven project
Dan thanks much for the info. I figured out how to load an hpi file and I did so on my Test Jenkins. So with 2.0.4 I encountered java.lang.UnsupportedOperationException: Failed to link the library: interface hudson.util.jna.Kernel32. this is expected based on what you said below. Not realty wanting to downgrade or upgrade, I installed Maven Plugin 1.524. I now have my test Jenkins up with Maven Plugin 1.524 displayed and unpinned in the plugin manager but I still getting javax.servlet.ServletException: java.lang.UnsupportedOperationException: Failed to link the library: interface hudson.util.jna.Kernel32 did I mis-understand what you said? -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Friday, September 05, 2014 12:30 PM To: jenkinsci-users@googlegroups.com Subject: Re: First Maven project JENKINS-18677 affected 1.522-1.526, so either downgrade to Jenkins 1.521, upgrade to 1.527, or update Maven Plugin to 1.524. Until Maven Plugin 2.0 (in Jenkins 1.535), Maven Plugin was bundled with Jenkins with a corresponding version. Make sure Maven Project plugin isn't 'Pinned' in the Installed tab of Plugin Manager. If it is, unpin it and restart Jenkins. On 05.09.2014, at 17:39, Ginga, Dick dick.gi...@perkinelmer.com wrote: Well, I have found the 2.0.4 version and downloaded it's .hpi file. Now how do I install it? Thanks From: Ginga, Dick Sent: Friday, September 05, 2014 10:18 AM To: jenkinsci-users@googlegroups.com Subject: First Maven project I just tried to create my first Maven2/3 project and immediately hit just creating the job: Stack trace javax.servlet.ServletException: java.lang.NoSuchFieldError: triggers at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:726) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:777) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:239) I am running 1.524 with Maven Project Plugin 1.496 which must have come with 1.524. I see much newer Maven plugins but the latest requires 1.538. I don't want to upgrade, so I would like to install Maven plugin 2.0.4. How do I get this older version? Thanks Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: First Maven project
Running on 7: C:\Users\DGingajava -version java version 1.7.0_51 Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing) -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Friday, September 05, 2014 1:11 PM To: jenkinsci-users@googlegroups.com Subject: Re: First Maven project Try running Jenkins on Java 7. On 05.09.2014, at 18:52, Ginga, Dick dick.gi...@perkinelmer.com wrote: Dan thanks much for the info. I figured out how to load an hpi file and I did so on my Test Jenkins. So with 2.0.4 I encountered java.lang.UnsupportedOperationException: Failed to link the library: interface hudson.util.jna.Kernel32. this is expected based on what you said below. Not realty wanting to downgrade or upgrade, I installed Maven Plugin 1.524. I now have my test Jenkins up with Maven Plugin 1.524 displayed and unpinned in the plugin manager but I still getting javax.servlet.ServletException: java.lang.UnsupportedOperationException: Failed to link the library: interface hudson.util.jna.Kernel32 did I mis-understand what you said? -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Friday, September 05, 2014 12:30 PM To: jenkinsci-users@googlegroups.com Subject: Re: First Maven project JENKINS-18677 affected 1.522-1.526, so either downgrade to Jenkins 1.521, upgrade to 1.527, or update Maven Plugin to 1.524. Until Maven Plugin 2.0 (in Jenkins 1.535), Maven Plugin was bundled with Jenkins with a corresponding version. Make sure Maven Project plugin isn't 'Pinned' in the Installed tab of Plugin Manager. If it is, unpin it and restart Jenkins. On 05.09.2014, at 17:39, Ginga, Dick dick.gi...@perkinelmer.com wrote: Well, I have found the 2.0.4 version and downloaded it's .hpi file. Now how do I install it? Thanks From: Ginga, Dick Sent: Friday, September 05, 2014 10:18 AM To: jenkinsci-users@googlegroups.com Subject: First Maven project I just tried to create my first Maven2/3 project and immediately hit just creating the job: Stack trace javax.servlet.ServletException: java.lang.NoSuchFieldError: triggers at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:726) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:777) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:239) I am running 1.524 with Maven Project Plugin 1.496 which must have come with 1.524. I see much newer Maven plugins but the latest requires 1.538. I don't want to upgrade, so I would like to install Maven plugin 2.0.4. How do I get this older version? Thanks Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. 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. 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. 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: First Maven project
Ah, that is 1.6.0_26-b03. I must be the most unaware person about Java around. I have never programmed in it or used it. so... I have installed java 1.7.0 and my production Jenkins says it's using 1.7.0 but my test machine still says: java.awt.graphicsenvsun.awt.Win32GraphicsEnvironment java.awt.headless true java.awt.printerjob sun.awt.windows.WPrinterJob java.class.path C:\Program Files (x86)\Jenkins\jenkins.war java.class.version 50.0 java.endorsed.dirs C:\Program Files (x86)\Jenkins\jre\lib\endorsed java.ext.dirs C:\Program Files (x86)\Jenkins\jre\lib\ext;C:\Windows\Sun\Java\lib\ext java.home C:\Program Files (x86)\Jenkins\jre java.io.tmpdir C:\Users\vmbuild\AppData\Local\Temp\ java.library.path C:\Program Files (x86)\Jenkins\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Perl64\site\bin;C:\Perl64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Mellanox\MLNX_VPI\\IB\Tools;C:\Program Files\Coverity\Coverity Platform\bin;C:\Program Files (x86)\Coverity\Coverity Static Analysis\bin;c:\pstools;C:\Program Files (x86)\Perforce;C:\Program Files (x86)\Collaborator Client;C:\Program Files (x86)\Java\jre7\bin;C:\Program Files\Perforce;. java.runtime.name Java(TM) SE Runtime Environment java.runtime.version1.6.0_26-b03 java.specification.name Java Platform API Specification java.specification.vendor Sun Microsystems Inc. java.specification.version 1.6 java.vendor Sun Microsystems Inc. java.vendor.url http://java.sun.com/ java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi java.version1.6.0_26 java.vm.infomixed mode java.vm.nameJava HotSpot(TM) Client VM java.vm.specification.name Java Virtual Machine Specification java.vm.specification.vendorSun Microsystems Inc. java.vm.specification.version 1.0 java.vm.vendor Sun Microsystems Inc. java.vm.version 20.1-b02 -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Friday, September 05, 2014 1:24 PM To: jenkinsci-users@googlegroups.com Subject: Re: First Maven project Is that the JRE used for Jenkins? Check java.runtime.version on the /systemInfo URL of Jenkins. On 05.09.2014, at 19:14, Ginga, Dick dick.gi...@perkinelmer.com wrote: Running on 7: C:\Users\DGingajava -version java version 1.7.0_51 Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing) -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Friday, September 05, 2014 1:11 PM To: jenkinsci-users@googlegroups.com Subject: Re: First Maven project Try running Jenkins on Java 7. On 05.09.2014, at 18:52, Ginga, Dick dick.gi...@perkinelmer.com wrote: Dan thanks much for the info. I figured out how to load an hpi file and I did so on my Test Jenkins. So with 2.0.4 I encountered java.lang.UnsupportedOperationException: Failed to link the library: interface hudson.util.jna.Kernel32. this is expected based on what you said below. Not realty wanting to downgrade or upgrade, I installed Maven Plugin 1.524. I now have my test Jenkins up with Maven Plugin 1.524 displayed and unpinned in the plugin manager but I still getting javax.servlet.ServletException: java.lang.UnsupportedOperationException: Failed to link the library: interface hudson.util.jna.Kernel32 did I mis-understand what you said? -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Friday, September 05, 2014 12:30 PM To: jenkinsci-users@googlegroups.com Subject: Re: First Maven project JENKINS-18677 affected 1.522-1.526, so either downgrade to Jenkins 1.521, upgrade to 1.527, or update Maven Plugin to 1.524. Until Maven Plugin 2.0 (in Jenkins 1.535), Maven Plugin was bundled with Jenkins with a corresponding version. Make sure Maven Project plugin isn't 'Pinned' in the Installed tab of Plugin Manager. If it is, unpin it and restart Jenkins. On 05.09.2014, at 17:39, Ginga, Dick dick.gi...@perkinelmer.com wrote: Well, I have found the 2.0.4 version and downloaded it's .hpi file. Now how do I install it? Thanks From: Ginga, Dick Sent: Friday, September 05, 2014 10:18 AM To: jenkinsci-users@googlegroups.com Subject: First Maven project I just tried to create my first Maven2/3 project and immediately hit just creating the job: Stack trace javax.servlet.ServletException: java.lang.NoSuchFieldError: triggers at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:726) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:777) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:239) I am running 1.524 with Maven Project Plugin
RE: First Maven project
Dan, can' thank you enough. Got it fixed! -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Friday, September 05, 2014 2:31 PM To: jenkinsci-users@googlegroups.com Subject: Re: First Maven project The Jenkins Windows installer comes with Java: java.home C:\Program Files (x86)\Jenkins\jre Should be configurable in jenkins.xml, or maybe try installing Java 7 into that directory. On 05.09.2014, at 20:18, Ginga, Dick dick.gi...@perkinelmer.com wrote: Ah, that is 1.6.0_26-b03. I must be the most unaware person about Java around. I have never programmed in it or used it. so... I have installed java 1.7.0 and my production Jenkins says it's using 1.7.0 but my test machine still says: java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment java.awt.headless true java.awt.printerjob sun.awt.windows.WPrinterJob java.class.path C:\Program Files (x86)\Jenkins\jenkins.war java.class.version50.0 java.endorsed.dirsC:\Program Files (x86)\Jenkins\jre\lib\endorsed java.ext.dirs C:\Program Files (x86)\Jenkins\jre\lib\ext;C:\Windows\Sun\Java\lib\ext java.home C:\Program Files (x86)\Jenkins\jre java.io.tmpdirC:\Users\vmbuild\AppData\Local\Temp\ java.library.path C:\Program Files (x86)\Jenkins\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Perl64\site\bin;C:\Perl64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Mellanox\MLNX_VPI\\IB\Tools;C:\Program Files\Coverity\Coverity Platform\bin;C:\Program Files (x86)\Coverity\Coverity Static Analysis\bin;c:\pstools;C:\Program Files (x86)\Perforce;C:\Program Files (x86)\Collaborator Client;C:\Program Files (x86)\Java\jre7\bin;C:\Program Files\Perforce;. java.runtime.name Java(TM) SE Runtime Environment java.runtime.version 1.6.0_26-b03 java.specification.name Java Platform API Specification java.specification.vendor Sun Microsystems Inc. java.specification.version1.6 java.vendor Sun Microsystems Inc. java.vendor.url http://java.sun.com/ java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi java.version 1.6.0_26 java.vm.info mixed mode java.vm.name Java HotSpot(TM) Client VM java.vm.specification.nameJava Virtual Machine Specification java.vm.specification.vendor Sun Microsystems Inc. java.vm.specification.version 1.0 java.vm.vendorSun Microsystems Inc. java.vm.version 20.1-b02 -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Friday, September 05, 2014 1:24 PM To: jenkinsci-users@googlegroups.com Subject: Re: First Maven project Is that the JRE used for Jenkins? Check java.runtime.version on the /systemInfo URL of Jenkins. On 05.09.2014, at 19:14, Ginga, Dick dick.gi...@perkinelmer.com wrote: Running on 7: C:\Users\DGingajava -version java version 1.7.0_51 Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing) -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Friday, September 05, 2014 1:11 PM To: jenkinsci-users@googlegroups.com Subject: Re: First Maven project Try running Jenkins on Java 7. On 05.09.2014, at 18:52, Ginga, Dick dick.gi...@perkinelmer.com wrote: Dan thanks much for the info. I figured out how to load an hpi file and I did so on my Test Jenkins. So with 2.0.4 I encountered java.lang.UnsupportedOperationException: Failed to link the library: interface hudson.util.jna.Kernel32. this is expected based on what you said below. Not realty wanting to downgrade or upgrade, I installed Maven Plugin 1.524. I now have my test Jenkins up with Maven Plugin 1.524 displayed and unpinned in the plugin manager but I still getting javax.servlet.ServletException: java.lang.UnsupportedOperationException: Failed to link the library: interface hudson.util.jna.Kernel32 did I mis-understand what you said? -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Friday, September 05, 2014 12:30 PM To: jenkinsci-users@googlegroups.com Subject: Re: First Maven project JENKINS-18677 affected 1.522-1.526, so either downgrade to Jenkins 1.521, upgrade to 1.527, or update Maven Plugin to 1.524. Until Maven Plugin 2.0 (in Jenkins 1.535), Maven Plugin was bundled with Jenkins with a corresponding version. Make sure Maven Project plugin isn't 'Pinned' in the Installed tab of Plugin Manager. If it is, unpin it and restart Jenkins. On 05.09.2014, at 17:39, Ginga, Dick dick.gi...@perkinelmer.com wrote: Well, I have found the 2.0.4 version and downloaded it's
keep forever buttons
I have just noticed that some of my jobs display the Keep This Build Forever button and some don't. Same applies to jobs already marked as Keep Forever, there is no Don't keep this build forever sometimes. Can't seem to find a rhyme or reason to it. I am running 1.565.2. Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: keep forever buttons
You are a wise man Daniel Beck. Thanks -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Wednesday, September 17, 2014 5:08 PM To: jenkinsci-users@googlegroups.com Subject: Re: keep forever buttons The ones with the button probably have the 'Discard old builds' option checked. Builds can be kept for various reasons, not just manual selection by a user (e.g. the Advanced Project Option Keep the build logs of dependencies) -- those are likely the ones with the lock icon but no way to turn it off. On 17.09.2014, at 22:58, Ginga, Dick dick.gi...@perkinelmer.com wrote: I have just noticed that some of my jobs display the Keep This Build Forever button and some don't. Same applies to jobs already marked as Keep Forever, there is no Don't keep this build forever sometimes. Can't seem to find a rhyme or reason to it. I am running 1.565.2. Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Jobs not started even though executors are available
I have had problems with MAC’s when they go into idle power down mode. I disable that mode. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Tomhe Sent: Thursday, September 18, 2014 9:34 AM To: jenkinsci-users@googlegroups.com Subject: Jobs not started even though executors are available We're experiencing a problem in Jenkins where Jenkins does not start jobs even though there are available executors. The jobs say Waiting for next available executor on We have around 40 slave nodes and sometimes end up with 30 or so idle nodes and a long queue of jobs that won't start. The workaround is to click Disconnect in the web UI which will cause the node to reconnect and as soon at it is reconnected, Jenkins will run a job from the queue on that node. Everything can work fine for a couple of days and then suddenly machines are idle and we need to reconnect all idle nodes again. (I tried calling disconnect() from Groovy on all idle nodes, but that was a very bad idea, as the nodes did not reconnect again and instead had to be manually restarted.) Any ideas as to what might cause this behavior and how we can prevent this situation to occur over and over again? -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: how to propagate build number from parent job to child job ?
I don’t think you can change the actual build number of a job programmatically but what I do is set the Display name of the later jobs. Pass into the later jobs the ${BUILD_NUMBER} of the first. There are a number of ways to set a builds display number: use the Version Number plugin, in a Build flow job, use setDisplayName on the build object, there is a CLI.,,, You can manually set the build number “higher” with the Next Build Number plugin. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of mpc8250 Sent: Tuesday, September 23, 2014 6:11 PM To: jenkinsci-users@googlegroups.com Subject: how to propagate build number from parent job to child job ? Hi All We have 3 jobs chained linearly. We like all 3 jobs to use the same build number using the topmost build number. However right now, if any of the latter jobs fail and restarted the next time, they use their own build number in the job and not the topmost build number. How do we accomplish that ? Thank you. -- 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. 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. For more options, visit https://groups.google.com/d/optout.
locked out of Jenkins
OK, I did it. I hit the wrong key and now everyone is locked out of jenkins, including me, I tried the below but it did not work. Why would I try renaming or deleting config,xml? Won't I lose everything? 1. Stop Jenkins (the easiest way to do this is to kill the servlet container.) 2. Go to $JENKINS_HOME in the file system and find config.xml file. 3. Open this file in the editor. 4. Look for the useSecuritytrue/useSecurity element in this file. 5. Replace true with false 6. Remove the elements authorizationStrategy and securityRealm 7. Start Jenkins When Jenkins comes back, it's in the unsecured mode where everyone gets full access to the system. If this is still not working, trying renaming or deleting config.xml. Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: locked out of Jenkins
Well, I did recover. Our jenkins is on a windows machine and evidently there was another Jenkins process running that was not the service (??) don't know how that happens. There was also a second Java/Jenkins process issuing a cli command. Perhaps that kept the service process from terminating. Anyway, I am back. From: Ginga, Dick Sent: Wednesday, September 24, 2014 9:28 AM To: 'jenkinsci-users@googlegroups.com' Subject: locked out of Jenkins Importance: High OK, I did it. I hit the wrong key and now everyone is locked out of jenkins, including me, I tried the below but it did not work. Why would I try renaming or deleting config,xml? Won't I lose everything? 1. Stop Jenkins (the easiest way to do this is to kill the servlet container.) 2. Go to $JENKINS_HOME in the file system and find config.xml file. 3. Open this file in the editor. 4. Look for the useSecuritytrue/useSecurity element in this file. 5. Replace true with false 6. Remove the elements authorizationStrategy and securityRealm 7. Start Jenkins When Jenkins comes back, it's in the unsecured mode where everyone gets full access to the system. If this is still not working, trying renaming or deleting config.xml. Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: Specific Parameters on manual build (vs scheduled builds)
If you Parameterize your build, then the default (first one in a list) becomes the value when triggered automatically From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of nicolas félix Sent: Thursday, October 02, 2014 9:32 AM To: jenkinsci-users@googlegroups.com Subject: Specific Parameters on manual build (vs scheduled builds) Hi everybody, I wonder if there is a way to set parameters (a kind of dynamic ones) if a user asked for a build (by clicking on the button). I want to add some maven options in that case, but I don't want to change my settings on scheduled/nightly builds. Thanks for any help, Nicolas. -- 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. 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. For more options, visit https://groups.google.com/d/optout.
jenkins slave as a service problems
On one of my previously working slaves is now having a problem running as a service on Windows. The event log msg contains this: Child process [3268 - C:\Program Files\Java\jre1.8.0_20\bin\java.exe -Xrs -jar c:\builds\slave.jar -jnlpUrl http://JenkinsServer.perkinelmer.net:8082/computer/Absinthium.perkinelmer.net/slave-agent.jnlp -secret 7d5ba4b831a1f790340398dd4ee0bffb1dd510ffe840b01fbd232ff28cad4d4f] finished with 0 And when I run that from the command line get: -secret not a valid option This slave worked great for months. I have recently loaded Java 1.8 and enabled access control. I have assigned to Anonymous the permission to connect slaves. Other slaves are fine. Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: Specific Parameters on manual build (vs scheduled builds)
Sorry, Nicolas, I’ve been away. If you select “This build is parameterized” and add parameters each has a default Value. That default value is used when this build it started from a timer or an SCM poll. When started manually by clicking Build With Parameters, you can change any of those values before actually starting the build From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of nicolas félix Sent: Friday, October 03, 2014 2:47 AM To: jenkinsci-users@googlegroups.com Subject: Re: Specific Parameters on manual build (vs scheduled builds) On Thursday, October 2, 2014 3:35:30 PM UTC+2, rginga wrote: If you Parameterize your build, then the default (first one in a list) becomes the value when triggered automatically Hi rginga, thanks for your answer. However, playing with build parameters, I didn't successfully differentiate manual run from scheduled ones. May you have any more precise sample ? Thanks, Nicolas -- 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. 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. For more options, visit https://groups.google.com/d/optout.
setting parameters in Groovy Post-build
How can I create or change the value of a build parameter in a Groovy PostBuild step? I need it for a further post build step. Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
form too large
I'm getting this when I try to add some more statements to Windows batch files steps in my, admittedly, large build job. I guess there is a maximum job size? Stack trace javax.servlet.ServletException: java.lang.IllegalStateException: Form too large 20770620 at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:778) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: form too large
You knowI usually do that, thanks -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Tuesday, October 21, 2014 2:01 PM To: jenkinsci-users@googlegroups.com Subject: Re: form too large http://lmgtfy.com/?q=Form+too+large On 21.10.2014, at 19:52, Ginga, Dick dick.gi...@perkinelmer.com wrote: I'm getting this when I try to add some more statements to Windows batch files steps in my, admittedly, large build job. I guess there is a maximum job size? Stack trace javax.servlet.ServletException: java.lang.IllegalStateException: Form too large 20770620 at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:778) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. 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. 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. For more options, visit https://groups.google.com/d/optout.
groovy script problem
I am admittedly a novice at Groovy but this script does not complain about the put operation but does not apparently perform it: label-name is a parameter in that build. [cid:image001.png@01CFEDFD.3809F840] Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: groovy script problem
This is my experiment, I am actually trying to do this is a post-build Groovy step. What I am “actually” trying to do is change or create a build variable in either a Build Flow step or a post-build groovy step so that it is available to a subsequent post build step. I am doing this now by writing a properties file to the workspace during the buildflow step and injecting that file during the post build steps. But this seems clunky. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Marc MacIntyre Sent: Wednesday, October 22, 2014 1:43 PM To: jenkinsci-users@googlegroups.com Subject: Re: groovy script problem I think the variables set on a completed build are probably read-only. If you're looking to pull the last build's variables, modify, then re-use them, you probably want something like: def newvars = build.buildVariables.clone() etc... On Wed, Oct 22, 2014 at 10:36 AM, Ginga, Dick dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com wrote: I am admittedly a novice at Groovy but this script does not complain about the “put” operation but does not apparently perform it: label-name is a parameter in that build. [cid:image001.png@01CFEE04.CC57A6D0] Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile – 508-847-1434tel:508-847-1434 Office – 781-663-6947tel:781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Marc MacIntyre -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: HowTo save the last successful build?
Jenkins retains the build log and any artifacts that the build “archives”. It reuses the workspace each time you build. So each build must either archive artifacts to the Jenkins server or copy them away someplace. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of moni.schaefer@googlemail.com Sent: Thursday, October 30, 2014 8:46 AM To: jenkinsci-users@googlegroups.com Subject: Re: HowTo save the last successful build? Thanks for your answer. My problem is that I can only see the workspace with the built files of my current build (I can download them as zip). But where can I download former builds? Am Mittwoch, 29. Oktober 2014 09:51:07 UTC+1 schrieb matthew...@diamond.ac.ukmailto:matthew...@diamond.ac.uk: As far as I know, Jenkins always keeps the last successful build, even if you are using “discard old builds”. Are you observing something different? From: moni.sch...@googlemail.comjavascript: [mailto:moni.sch...@googlemail.comjavascript:] Sent: 29 October 2014 08:00 To: jenkins...@googlegroups.comjavascript: Subject: HowTo save the last successful build? Hello, if a failed build follows follows on a successful build, the successful build isn´t available anymore. Is there any possibility to save the last successful build? Thanks! Monika -- 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.comjavascript:. 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.commailto:jenkinsci-users+unsubscr...@googlegroups.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. For more options, visit https://groups.google.com/d/optout.
RE: Configure concurrent builds per node ?
When you configure a node you provide a # of executors. I would think that each node would run up to that number. Although I seem to remember something that Jenkins will not schedule what it sees as exactly the same job. In your case, since each parameter is different, you should not be hitting this. You also must already have some number of nodes with the same label or 100 jobs would not run in parallel. -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of kptishere Sent: Sunday, November 02, 2014 8:52 PM To: jenkinsci-users@googlegroups.com Subject: Configure concurrent builds per node ? Hi, I'm using BuildFlow plugin and I've setup one parent job which will call another build job. Here's the flow DSL for the parent job: childJobName = BFChildJob def myClosures = [] (0..100).each { num - def project = Project${num} def myClosure = { build(childJobName, project_name: project ) } myClosures.add( myClosure ); } parallel(myClosures); The child job is called BFChildJob and in there I run one shell script passing that project_name param. And I've enabled on Execute concurrent builds if necessary The problem I have is the the parallel() seems to run only 1 or 2 concurrent builds on each node. Is there a way to configure so that it will run 8 concurrent builds per node? Thanks in advance for you help! -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Configure-concurrent-builds-per-node-tp4726068.html Sent from the Jenkins users mailing list archive at Nabble.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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Passing environment variables using the parameterized trigger plugin
Perhaps the label=sl6 is getting parsed as another parameter?? Try \'ing it: label\=sl6 -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Adam Mercer Sent: Wednesday, November 05, 2014 5:40 PM To: jenkinsci-users@googlegroups.com Subject: Re: Passing environment variables using the parameterized trigger plugin On Wed, Nov 5, 2014 at 4:30 PM, Dunnigan, Terrence J terrence.j.dunni...@boeing.com wrote: Are you using a recent version of Jenkins and the parameterized plugin? The current LTS release and the latest parameterized plugin, at least Jenkins tells me that no updates are available for my plugins. I suspect the problem is that you are defining $PREFIX locally on the machine, and then trying to reference it via a Jenkins job configuration. When I’ve encountered that situation I’ve worked around it by writing the value to a .properties file and then passing that file to the downstream job (using the ‘Parameters from a properties file’) option. That sounds like what I'm going to need to do. As for the other environment variables, passing $JOB_NAME and $BUILD_NUMBER work just fine for me. BUILD_NUMBER works without an issue, JOB_NAME is only partially passed. The value is Job1 is LALSuite/LAL/label=sl6 but only LALSuite/LAL is passed to Job2, the label=sl6 part is dropped. Cheers Adam -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Passing environment variables using the parameterized trigger plugin
Change the jobname to labl:sl6? Or labl-sl6? -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Adam Mercer Sent: Thursday, November 06, 2014 5:07 PM To: jenkinsci-users@googlegroups.com Subject: Re: Passing environment variables using the parameterized trigger plugin On Thu, Nov 6, 2014 at 7:15 AM, Ginga, Dick dick.gi...@perkinelmer.com wrote: Perhaps the label=sl6 is getting parsed as another parameter?? Try \'ing it: label\=sl6 Interesting idea, that kind of makes sense. The problem is that there's nothing for me to escape, as label=sl6 is part of JOB_NAME itself. Cheers Adam -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Using Coverity plugin
Yup, you need to add P4 to the cov-build blacklist field. The Coverity pluging wraps everything and it does not like null responses. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Shobha Dashottar Sent: Thursday, November 06, 2014 11:38 PM To: jenkinsci-users@googlegroups.com Subject: Using Coverity plugin Hi, I have the Coverity setup created and installed the client on a linux slave machine. Using Coverity UI I can created the xml and run coverity analysis just fine. In my Jenkins job, I have configured Coverity and that build just fails with the below error: The build job was running fine prior to Coverity . In the job config, I have given the details of the Integrity Manager and checked the option of Perform Coverity build, analysis and commit and nothing else. What am I missing? Thanks Shobha Saving modified client Dev_RHEL5_x86--274771558 06:52:21 [Dev_RHEL5_x86] $ /home/builder/cov-analysis-linux-7.5.0/bin/cov-build --dir /home/builder/jenkins/coverity/temp-5203856065298512221.tmp /usr/bin/p4 -P 827C6449450B2A55C2F2B48 -s client -i 06:52:23 Last build changeset: 18067994 06:52:23 [Dev_RHEL5_x86] $ /home/builder/cov-analysis-linux-7.5.0/bin/cov-build --dir /home/builder/jenkins/coverity/temp-5203856065298512221.tmp /usr/bin/p4 -P 827C6449450B2A55C2F2B48 changes -s submitted -m 1 //Dev_RHEL5_x86--274771558/... 06:52:25 FATAL: null 06:52:25 java.util.NoSuchElementExceptionhttp://stacktrace.jenkins-ci.org/search?query=java.util.NoSuchElementException 06:52:25 at java.util.StringTokenizer.nextToken(StringTokenizer.java:349)http://stacktrace.jenkins-ci.org/search/?query=java.util.StringTokenizer.nextTokenentity=method 06:52:25 at com.tek42.perforce.parse.AbstractPerforceTemplate.parseList(AbstractPerforceTemplate.java:112)http://stacktrace.jenkins-ci.org/search/?query=com.tek42.perforce.parse.AbstractPerforceTemplate.parseListentity=method 06:52:25 at com.tek42.perforce.parse.Changes.getChangeNumbers(Changes.java:186)http://stacktrace.jenkins-ci.org/search/?query=com.tek42.perforce.parse.Changes.getChangeNumbersentity=method 06:52:25 at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:996)http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.perforce.PerforceSCM.checkoutentity=method ... ... -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Stop the execution if First task is failed even if multiple tasks are added to the project
You can certainly do it with the Build Flow (DSL) plugin From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Panikera Raj Sent: Monday, November 10, 2014 8:36 AM To: jenkinsci-users@googlegroups.com Subject: Fwd: Stop the execution if First task is failed even if multiple tasks are added to the project Hi All, I have a project in Jenkins (as free style project) where I have added multiple tasks as an attachment. As I showed in attachment in first task condition is not satisfied I need to come out from the execution I don't want to execute second task. I can put exit 1. But If condition is not matched project will get marked as Failure and mail will go to every one. So if put just exit 0. It will come out from the first task then once again second task will execute. I don't want to be execute like this. Is there a way where if first task not satisfied condition we can come out from complete execution(with out executing second task) Regards, Panikera -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: OSX Slave Agent Crashing/Closing
Check the Energy Saver setting. You do not want the MAC to Sleep ever. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Charles Blessing Sent: Monday, November 10, 2014 10:53 AM To: jenkinsci-users@googlegroups.com Subject: OSX Slave Agent Crashing/Closing I have a Windows-based master and a single OSX client. Builds are run on the OSX client using the Jenkins slave agent which is launched manually by downloading and running the appropriate jnlp file from the master web server. Once running, builds and notifications progress as expected. However, approximately once a day - usually overnight when no builds are running, the slave agent closes. Sometimes when I go to check it just isn't running any more, once or twice it has crashed. I'm intending to gather more information next time a crash occurs, although typically since deciding to do this it has just been closing 'cleanly'. Unfortunately I'm not entirely sure when this started to happen as there was an extended period of one project being left in a 'known broken state', resulting in Jenkins getting turned off. Any suggestions on how to fix this situation would be much appreciated. -- 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. 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. For more options, visit https://groups.google.com/d/optout.
RE: Stop the execution if First task is failed even if multiple tasks are added to the project
Having looked at this again, you should be able to do what you want in the shell script itself. I am not an expert here, so I will not attempt a solution. Find the Build Flow Plugin details here: https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin you would create a Jenkins job for each step. Each job would have to return success or failure. In the Build Flow window, you would do something like this: a=build(“Build-Step-1”) if (a.result =~ SUCCESS) { b=build(“Build-Step-2”) } else { build.setResult(“SUCCESS”) } From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Panikera Raj Sent: Monday, November 10, 2014 11:23 AM To: jenkinsci-users@googlegroups.com Subject: Re: Stop the execution if First task is failed even if multiple tasks are added to the project Can you provide code snippet or can you explain bit more about how to use and where to specify... Regards, Panikera On Mon, Nov 10, 2014 at 7:08 PM, Ginga, Dick dick.gi...@perkinelmer.commailto:dick.gi...@perkinelmer.com wrote: You can certainly do it with the Build Flow (DSL) plugin From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] On Behalf Of Panikera Raj Sent: Monday, November 10, 2014 8:36 AM To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com Subject: Fwd: Stop the execution if First task is failed even if multiple tasks are added to the project Hi All, I have a project in Jenkins (as free style project) where I have added multiple tasks as an attachment. As I showed in attachment in first task condition is not satisfied I need to come out from the execution I don't want to execute second task. I can put exit 1. But If condition is not matched project will get marked as Failure and mail will go to every one. So if put just exit 0. It will come out from the first task then once again second task will execute. I don't want to be execute like this. Is there a way where if first task not satisfied condition we can come out from complete execution(with out executing second task) Regards, Panikera -- 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. 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.commailto:jenkinsci-users+unsubscr...@googlegroups.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.commailto:jenkinsci-users+unsubscr...@googlegroups.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. For more options, visit https://groups.google.com/d/optout.
groups of slaves
I would like to setup a pool of build machines. I know how to do this with the node label feature. However, my builds are all Build-Flow type jobs. This means that I need to have all the jobs called by the first build-flow job to run on the same build machine. So: 1. How can I get the name of the actual slave selected into the Build-Flow step of my first build in order to pass it to my next build? 2. Can I use a parameter (${node}) in the Label Expression to pass in the node name to run on? Dick Ginga, Informatics RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.commailto:ed.cof...@perkinelmer.com Mobile - 508-847-1434 Office - 781-663-6947 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.