Transcient error on slave: java.lang.NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins$MasterComputer
For the record, I encountered the following exception on a slave on Amazon ec2 (Windows 2008 R2 64bits). Restarting the Jenkins service solved it. hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\Project-1.x-win32_wix at hudson.remoting.Channel@1325e8eb:ec2-windows-01 at hudson.FilePath.act(FilePath.java:838) at hudson.FilePath.act(FilePath.java:824) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1064) at hudson.model.AbstractProject.checkout(AbstractProject.java:1256) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) at hudson.model.Run.execute(Run.java:1502) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on ec2-windows-01 failed at hudson.remoting.Channel.call(Channel.java:672) at hudson.FilePath.act(FilePath.java:831) ... 10 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins$MasterComputer at hudson.Launcher$LocalLauncher.init(Launcher.java:691) at hudson.plugins.git.GitAPI.init(GitAPI.java:65) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1072) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1064) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2200) 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 java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Unknown Source) Archiving artifacts
Re: vSphere plugin does not starts slave
I set slave activation via SSH. But the main problem is VM does not powered on. So, my problem is not the VM not boots up and connects to master, but nobody pushes the power button on it... (and yes, because it not powered on, it does not connects to the master :-) ) If i turn on VM manually, Jenkins recognizes it and starts slave process correctly, however, this is not I really want (turn on VM every case when I need it). I would like if Jenkins can turn on/off VM on demand. Garami Gábor E-mail: gabor.gar...@hron.me Tel: +36 20 235 9621 MSN: h...@vipmail.hu Skype: hron84 On Wed, Sep 5, 2012 at 4:32 AM, Jason Swager j.a.swa...@gmail.com wrote: How is the slave agent being started? Does the VM connect via Java Web Start? Is Jenkins supposed to start the slave agent via SSH? If via Java Web Start, make sure the the slave agent really did start. If via SSH, make sure that the VM has enough time to fully start (wait for VM Tools plus any necessary delay) so that the SSH server is online before Jenkins tries to communicate. On Sunday, September 2, 2012 4:44:23 AM UTC-7, Gábor Garami wrote: Hi! I use VMware ESXi 4.0 with the vSphere plugin, and slave VM does not being started. It is always stuck on Powering on VM state (at least based on logs). The Test VM Connection passes. openSUSE Linux 11.4 Jenkins ver. 1.479 (installed from pkg.jenkins-ci.org/opesuse started by the init script of the package). Java(TM) SE Runtime Environment (build 1.6.0_31-b05) vSphere plugins is the latest installable. Please help me... Garami Gábor E-mail: gabor@hron.me Tel: +36 20 235 9621 MSN: hr...@vipmail.hu Skype: hron84
Re: Automatic diagram
Hi, You mention job sequence but if you mean build sequence - I don't think it's predictable/static as it depends on dynamic factors (e.g availability of slaves, build duration changes affect allocation). Not exactly sure about your requirements, but I'm using Dependency Graph View: http://wiki.hudson-ci.org/display/HUDSON/Dependency+Graph+View+Plugin , this seems to be how far you can get solely looking at the jobs. hth, Gergo On Wed, Sep 5, 2012 at 8:14 AM, kikou ingenieur.high.t...@gmail.com wrote: Hi all Is there any plugin which draw automatically a diagram showing the job sequence ? So that it is more easy to show to some people the i dont like the format of pipeline view and it is more to show the result of last builds than the sequence. Rgds K.
CannotResolveClassException errors after upgrading to v1.480
Hi there, I've just updated to Jenkins 1.480 (from 1.465) and one of my projects went missing. I recreated it but now when I tell it to build I get: *11:39:30* FATAL: html : html*11:39:30* com.thoughtworks.xstream.mapper.CannotResolveClassException http://stacktrace.jenkins-ci.org/search?query=com.thoughtworks.xstream.mapper.CannotResolveClassException: html : html*11:39:30* at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.DefaultMapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:86) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:96) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.ArrayMapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) http://stacktrace.jenkins-ci.org/search/?query=com.thoughtworks.xstream.mapper.MapperWrapper.realClassentity=method*11:39:30* at
Re: Automatic diagram
Hi Gergo Thank you. The plugin you gave is exaclty what i am looking for. I maybe do a missunderstanding but it is the dependancy indeed i'd like to have in a graph showing the sequence of projects (not build number), in other words seeing upstream and downstream projects in one graph. what a pitty that this plugin is not maintained. Yes maybe i could update it but not now. Thank you a lot Gergo Rgds K. Le mercredi 5 septembre 2012 12:15:51 UTC+2, Gergo a écrit : Hi, You mention job sequence but if you mean build sequence - I don't think it's predictable/static as it depends on dynamic factors (e.g availability of slaves, build duration changes affect allocation). Not exactly sure about your requirements, but I'm using Dependency Graph View: http://wiki.hudson-ci.org/display/HUDSON/Dependency+Graph+View+Plugin , this seems to be how far you can get solely looking at the jobs. hth, Gergo On Wed, Sep 5, 2012 at 8:14 AM, kikou ingenieur...@gmail.comjavascript: wrote: Hi all Is there any plugin which draw automatically a diagram showing the job sequence ? So that it is more easy to show to some people the i dont like the format of pipeline view and it is more to show the result of last builds than the sequence. Rgds K.
Re: Hide Jobs on All Tab.
Hi, Editing the All view requires a little workaround described here: https://wiki.jenkins-ci.org/display/JENKINS/Editing+or+Replacing+the+All+View Once you've done that the View Job Filters Plug-in (https://wiki.jenkins-ci.org/display/JENKINS/View+Job+Filters) can give you all kinds of different filters to show only specific jobs in your All view. Hth, Fred On Tuesday, September 4, 2012 5:14:50 PM UTC+2, bearrito wrote: Is it possible to hide selected views on the ALL tab? I have numerous jobs that are cluttering up the main tab. I only want to show certain top level jobs on that tab, but still have them be available in other views.
RE: Automatic diagram
Here is a link to the plug-in for the Jenkins site and not the older Hudson site but it looks like it has been a while since the plug-in has been last updated. https://wiki.jenkins-ci.org/display/JENKINS/Dependency+Graph+View+Plugin From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of kikou what a pity that this plugin is not maintained. Yes maybe i could update it but not now. Le mercredi 5 septembre 2012 12:15:51 UTC+2, Gergo a écrit : … Not exactly sure about your requirements, but I'm using Dependency Graph View: http://wiki.hudson-ci.org/display/HUDSON/Dependency+Graph+View+Plugin , this seems to be how far you can get solely looking at the jobs.
config.xml zero size
Hi, I have strange issue - I have Jenkins master on vm. After vm restart few jobs configs have 0 size. of course i have following error then: SEVERE: Failed Loading job SomeProject_Android hudson.util.IOException2: Unable to read /var/lib/jenkins/jobs/SomeProject_Android/config.xml I wonder why this happened. Any ideas? And second question - can I just copy config from config-history dir to fix this or should I do something else? best regards, Maciek Sawicki
Re: Automatic diagram
We use that plugin very frequently and it works great for us. Why do you say what a pity that this plugin is not maintained? We've not found any cases where it had bugs or issues that blocked our work, and I don't recall any recent complaints from other users either. Can you describe further why you think it might need an update? Mark Waite From: kikou ingenieur.high.t...@gmail.com To: jenkinsci-users@googlegroups.com Sent: Wednesday, September 5, 2012 5:20 AM Subject: Re: Automatic diagram Hi Gergo Thank you. The plugin you gave is exaclty what i am looking for. I maybe do a missunderstanding but it is the dependancy indeed i'd like to have in a graph showing the sequence of projects (not build number), in other words seeing upstream and downstream projects in one graph. what a pitty that this plugin is not maintained. Yes maybe i could update it but not now. Thank you a lot Gergo Rgds K. Le mercredi 5 septembre 2012 12:15:51 UTC+2, Gergo a écrit : Hi, You mention job sequence but if you mean build sequence - I don't think it's predictable/static as it depends on dynamic factors (e.g availability of slaves, build duration changes affect allocation). Not exactly sure about your requirements, but I'm using Dependency Graph View: http://wiki.hudson-ci.org/display/HUDSON/Dependency+Graph+View+Plugin , this seems to be how far you can get solely looking at the jobs. hth, Gergo On Wed, Sep 5, 2012 at 8:14 AM, kikou ingenieur...@gmail.com wrote: Hi all Is there any plugin which draw automatically a diagram showing the job sequence ? So that it is more easy to show to some people the i dont like the format of pipeline view and it is more to show the result of last builds than the sequence. Rgds K.
Re: vSphere plugin does not starts slave
Just to confirm, we are talking about the vSphere Cloud plugin? https://wiki.jenkins-ci.org/display/JENKINS/vSphere+Cloud+Plugin Assuming that you are, the Test VM Connection button does work and indicates no problems? What are the slave settings? On Wednesday, September 5, 2012 1:51:48 AM UTC-7, Gábor Garami wrote: I set slave activation via SSH. But the main problem is VM does not powered on. So, my problem is not the VM not boots up and connects to master, but nobody pushes the power button on it... (and yes, because it not powered on, it does not connects to the master :-) ) If i turn on VM manually, Jenkins recognizes it and starts slave process correctly, however, this is not I really want (turn on VM every case when I need it). I would like if Jenkins can turn on/off VM on demand. Garami Gábor E-mail: gabor@hron.me javascript: Tel: +36 20 235 9621 MSN: hr...@vipmail.hu javascript: Skype: hron84 On Wed, Sep 5, 2012 at 4:32 AM, Jason Swager j.a.s...@gmail.comjavascript: wrote: How is the slave agent being started? Does the VM connect via Java Web Start? Is Jenkins supposed to start the slave agent via SSH? If via Java Web Start, make sure the the slave agent really did start. If via SSH, make sure that the VM has enough time to fully start (wait for VM Tools plus any necessary delay) so that the SSH server is online before Jenkins tries to communicate. On Sunday, September 2, 2012 4:44:23 AM UTC-7, Gábor Garami wrote: Hi! I use VMware ESXi 4.0 with the vSphere plugin, and slave VM does not being started. It is always stuck on Powering on VM state (at least based on logs). The Test VM Connection passes. openSUSE Linux 11.4 Jenkins ver. 1.479 (installed from pkg.jenkins-ci.org/opesuse started by the init script of the package). Java(TM) SE Runtime Environment (build 1.6.0_31-b05) vSphere plugins is the latest installable. Please help me... Garami Gábor E-mail: gabor@hron.me Tel: +36 20 235 9621 MSN: hr...@vipmail.hu Skype: hron84
Re: channel stop takes 15 minutes
Anything new regarding this problem? It also takes very long in your version (1.477) and the Jenkins UI gets very slow. Am Mittwoch, 4. Juli 2012 10:57:52 UTC+2 schrieb Aart Kuijken: We're recently seeing the same behaviour.on Jenkins ver. 1.471http://jenkins-ci.org/ Haven't been able to dig into details Op woensdag 16 mei 2012 10:22:41 UTC+2 schreef Bianconero30 het volgende: Hi, we are using Solaris slaves and compile + run our test cases there with Maven via ssh. After tests are completed there is always a 15-minute-long operation until we reach channel stopped message and Jenkins job is finished. This is very annoying, since it adds extra 15 minutes to our ~40 minute of build time. *... [INFO] [INFO] Reactor Summary: [INFO] [INFO] ***-test .. SUCCESS [13.877s] ... [INFO] [INFO] BUILD SUCCESS [INFO] [INFO] Total time: 41:52.833s [INFO] Finished at: Tue May 15 08:28:28 IST 2012 [INFO] Final Memory: 74M/495M [INFO] Waiting for Jenkins to finish collecting data channel stopped* Have you met such? We believe, either data collecting or channel releasing taking the 15 minutes, but sure.. How could we turn on detailed log about this part of Jenkins job? Any comments, tips are very welcome! Thanks a lot in advance! Bianconero
Combining multiple steps in testing
Hello Jenkins Users, I am new to Jenkins and this group. Please bear with me for any trivial questions. I request you to extend your suggestions to achieve my requirement, This is my requirement, 1. Build a maven project. 2. Copy the build to a slave machine. 3. Trigger a command and get the results. I was able to build the project and create a slave machine after reading wiki/ tutorials etc. But I could not get a concrete information on how to trigger a command on slave as well as combine these three steps into one. Hope to see your valuable suggestions! Thanks,
Timestamp in log output of a Maven build
Hi, Is there a way to show timestamp in log output of a build ? We are interested to know how many long time take each part of a Maven build. Thanks in advance ! Michaël
Re: channel stop takes 15 minutes
I think it is due to https://issues.jenkins-ci.org/browse/JENKINS-13154 which is still not fixed. Vincent 2012/9/5 Ingo Siebert ingo.sieb...@googlemail.com Anything new regarding this problem? It also takes very long in your version (1.477) and the Jenkins UI gets very slow. Am Mittwoch, 4. Juli 2012 10:57:52 UTC+2 schrieb Aart Kuijken: We're recently seeing the same behaviour.on Jenkins ver. 1.471http://jenkins-ci.org/ Haven't been able to dig into details Op woensdag 16 mei 2012 10:22:41 UTC+2 schreef Bianconero30 het volgende: Hi, we are using Solaris slaves and compile + run our test cases there with Maven via ssh. After tests are completed there is always a 15-minute-long operation until we reach channel stopped message and Jenkins job is finished. This is very annoying, since it adds extra 15 minutes to our ~40 minute of build time. *... [INFO] [INFO] Reactor Summary: [INFO] [INFO] ***-test .. SUCCESS [13.877s] ... [INFO] [INFO] BUILD SUCCESS [INFO] [INFO] Total time: 41:52.833s [INFO] Finished at: Tue May 15 08:28:28 IST 2012 [INFO] Final Memory: 74M/495M [INFO] Waiting for Jenkins to finish collecting data channel stopped* Have you met such? We believe, either data collecting or channel releasing taking the 15 minutes, but sure.. How could we turn on detailed log about this part of Jenkins job? Any comments, tips are very welcome! Thanks a lot in advance! Bianconero
Re: vSphere plugin does not starts slave
Yes, that is the plugin what i use. No, test vm connection button does not says any problems. I cannot access my jenkins now, but i'll post screenshot about settings asap. Garami Gábor gabor.gar...@hron.me Skype: hron84 Tel: +36 20 235 9621 Sent from my T-Mobile G2 Ezt a levelet telefonról adták fel, ékezethibákat tartalmazhat. 2012.09.05. 15:53, Jason Swager j.a.swa...@gmail.com ezt írta: Just to confirm, we are talking about the vSphere Cloud plugin? https://wiki.jenkins-ci.org/display/JENKINS/vSphere+Cloud+Plugin Assuming that you are, the Test VM Connection button does work and indicates no problems? What are the slave settings? On Wednesday, September 5, 2012 1:51:48 AM UTC-7, Gábor Garami wrote: I set slave activation via SSH. But the main problem is VM does not powered on. So, my problem is not the VM not boots up and connects to master, but nobody pushes the power button on it... (and yes, because it not powered on, it does not connects to the master :-) ) If i turn on VM manually, Jenkins recognizes it and starts slave process correctly, however, this is not I really want (turn on VM every case when I need it). I would like if Jenkins can turn on/off VM on demand. Garami Gábor E-mail: gabor@hron.me Tel: +36 20 235 9621 MSN: hr...@vipmail.hu Skype: hron84 On Wed, Sep 5, 2012 at 4:32 AM, Jason Swager j.a.s...@gmail.com wrote: How is the slave agent being started? Does the VM connect via Java Web Start? Is Jenkins supposed to start the slave agent via SSH? If via Java Web Start, make sure the the slave agent really did start. If via SSH, make sure that the VM has enough time to fully start (wait for VM Tools plus any necessary delay) so that the SSH server is online before Jenkins tries to communicate. On Sunday, September 2, 2012 4:44:23 AM UTC-7, Gábor Garami wrote: Hi! I use VMware ESXi 4.0 with the vSphere plugin, and slave VM does not being started. It is always stuck on Powering on VM state (at least based on logs). The Test VM Connection passes. openSUSE Linux 11.4 Jenkins ver. 1.479 (installed from pkg.jenkins-ci.org/opesuse started by the init script of the package). Java(TM) SE Runtime Environment (build 1.6.0_31-b05) vSphere plugins is the latest installable. Please help me... Garami Gábor E-mail: gabor@hron.me Tel: +36 20 235 9621 MSN: hr...@vipmail.hu Skype: hron84
Slave graceful shutdown
Hello all, Is there a way to configure a jenkins slave to run exactly one job then terminate? We'd like to have a VM that starts up in a bare state, starts a slave and reboots after each job (which will revert the VM to the previous state), but I'm not sure how to implement it. Thanks, Andrew -- -- Andrew Melo
Re: Slave graceful shutdown
Sami Tikka offered the following suggestion: http://jenkins.361315.n4.nabble.com/Offline-and-revert-slave-after-build-td4631215.html We use a slightly different approach to get roughly the same results: http://jenkins.361315.n4.nabble.com/restart-slave-after-each-job-td4538892.html Mark Waite From: Andrew Melo andrew.m...@gmail.com To: jenkinsci-users@googlegroups.com Sent: Wednesday, September 5, 2012 12:11 PM Subject: Slave graceful shutdown Hello all, Is there a way to configure a jenkins slave to run exactly one job then terminate? We'd like to have a VM that starts up in a bare state, starts a slave and reboots after each job (which will revert the VM to the previous state), but I'm not sure how to implement it. Thanks, Andrew -- -- Andrew Melo
Re: Slave graceful shutdown
On Wed, Sep 5, 2012 at 1:31 PM, Mark Waite markwa...@yahoo.com wrote: Sami Tikka offered the following suggestion: http://jenkins.361315.n4.nabble.com/Offline-and-revert-slave-after-build-td4631215.html We use a slightly different approach to get roughly the same results: http://jenkins.361315.n4.nabble.com/restart-slave-after-each-job-td4538892.html Oh great, that looks really good. Thanks! -Andrew Mark Waite -- *From:* Andrew Melo andrew.m...@gmail.com *To:* jenkinsci-users@googlegroups.com *Sent:* Wednesday, September 5, 2012 12:11 PM *Subject:* Slave graceful shutdown Hello all, Is there a way to configure a jenkins slave to run exactly one job then terminate? We'd like to have a VM that starts up in a bare state, starts a slave and reboots after each job (which will revert the VM to the previous state), but I'm not sure how to implement it. Thanks, Andrew -- -- Andrew Melo -- -- Andrew Melo
[VOTE] Bump Jenkins to Java 6
Hi all, just after todays meeting on the IRC chat, we startet a discussion about upgrading Jenkins to Java 6. As Java 5 has reached EOL since quite a while, some core developers have asked whether it would be OK to bump Jenkins' runtime dependency from Java5 to Java6. The core is already build on Java6, but until now still backward compatible with Java5. Therefore we would like to know from you (Users) whether you have an issue with this upgrade. This would mean, that in the future you will have to have Java6 installed to run Jenkins (for Master and Slave). Here are the current usage numbers (installations we know of): Java 1.5: 655 Java 1.6: 29164 Java 1.7: 2919 So please give us some feedback/votes on this. Domi
Re: [VOTE] Bump Jenkins to Java 6
Bump Jenkins version to 1.500 (or something), put branch 1.4xx into maintenance and switch to Java 7. Java 7 is already at update 7. My $.02. On Wed, Sep 5, 2012 at 1:18 PM, domi d...@fortysix.ch wrote: Hi all, just after todays meeting on the IRC chat, we startet a discussion about upgrading Jenkins to Java 6. As Java 5 has reached EOL since quite a while, some core developers have asked whether it would be OK to bump Jenkins' runtime dependency from Java5 to Java6. The core is already build on Java6, but until now still backward compatible with Java5. Therefore we would like to know from you (Users) whether you have an issue with this upgrade. This would mean, that in the future you will have to have Java6 installed to run Jenkins (for Master and Slave). Here are the current usage numbers (installations we know of): Java 1.5: 655 Java 1.6: 29164 Java 1.7: 2919 So please give us some feedback/votes on this. Domi -- Jeff Vincent predato...@gmail.com See my LinkedIn profile at: http://www.linkedin.com/in/rjeffreyvincent I ♥ DropBox http://db.tt/9O6LfBX !!
Re: [VOTE] Bump Jenkins to Java 6
Switching to Java 7 would be a mistake in my view based on the number of users listed in the current usage summary. If current development switches to Java 7, the Java 5 and Java 6 users will be stranded by a development choice, rather than making their own choice of JDK. I don't see enough benefit for Jenkins developers or Jenkins users in the switch from Java6 to Java7, and I see a large potential to alienate a very large portion of the user community if development switched to a Java7 runtime dependency. I'm in favor of switching from Java5 as the runtime dependency to Java6 as the runtime dependency. I assume it is one less thing to trouble the developers so they don't have to continually check that they have not inadvertently introduced a Java6 runtime dependency. Mark Waite From: Jeff predato...@gmail.com To: jenkinsci-users@googlegroups.com Sent: Wednesday, September 5, 2012 1:38 PM Subject: Re: [VOTE] Bump Jenkins to Java 6 Bump Jenkins version to 1.500 (or something), put branch 1.4xx into maintenance and switch to Java 7. Java 7 is already at update 7. My $.02. On Wed, Sep 5, 2012 at 1:18 PM, domi d...@fortysix.ch wrote: Hi all, just after todays meeting on the IRC chat, we startet a discussion about upgrading Jenkins to Java 6. As Java 5 has reached EOL since quite a while, some core developers have asked whether it would be OK to bump Jenkins' runtime dependency from Java5 to Java6. The core is already build on Java6, but until now still backward compatible with Java5. Therefore we would like to know from you (Users) whether you have an issue with this upgrade. This would mean, that in the future you will have to have Java6 installed to run Jenkins (for Master and Slave). Here are the current usage numbers (installations we know of): Java 1.5: 655 Java 1.6: 29164 Java 1.7: 2919 So please give us some feedback/votes on this. Domi -- Jeff Vincent predato...@gmail.com See my LinkedIn profile at: http://www.linkedin.com/in/rjeffreyvincent I ♥ DropBox !!
Re: [VOTE] Bump Jenkins to Java 6
On 5 September 2012 21:38, Jeff predato...@gmail.com wrote: Bump Jenkins version to 1.500 (or something), put branch 1.4xx into maintenance and switch to Java 7. Java 7 is already at update 7. +1 Java 6 is end of life by Feb 2013 [1], If I understand it correctly, we are discussing a dependency to a Java 7 run time for running Jenkins. The compiler used by any project is still the choice of each project. /Thomas [1] http://www.oracle.com/technetwork/java/eol-135779.html -- Thomas Sundberg M. Sc. in Computer Science Mobile: +46 70 767 33 15 Blog: http://thomassundberg.wordpress.com/ Twitter: @thomassundberg Better software through faster feedback
Re: Jenkins vs Hudson: Complier warnings
Check this link : http://www.pylejeune.fr/sys/aide-installation-et-configuration-jenkins-et-ses-plugins/ may be help you Le jeudi 9 août 2012 15:03:11 UTC+2, Engler a écrit : I'm having difficulty tring to use the compiler warning plugin on Jenkins. I have analysis-core and warnings plugins installed. I try to add the trend graph to the job by configuring the project. I get the the point in the configuration where you get to select the trend graph, when I save the changes I get a error, HTTP 404 Not Found. Plus the Graph images show up as red Xs. Now I've seen these plugins work on a Hudson server, but I'm not planning to move to Hudson.
Re: [VOTE] Bump Jenkins to Java 6
On 09/05/2012 05:12 PM, Thomas Sundberg wrote: On 5 September 2012 21:38, Jeff predato...@gmail.com wrote: Bump Jenkins version to 1.500 (or something), put branch 1.4xx into maintenance and switch to Java 7. Java 7 is already at update 7. +1 Java 6 is end of life by Feb 2013 [1], If I understand it correctly, we are discussing a dependency to a Java 7 run time for running Jenkins. The compiler used by any project is still the choice of each project. /Thomas [1] http://www.oracle.com/technetwork/java/eol-135779.html My understanding is we are talking about dropping support for Java 5. Keeping Java 6 runtime support. Now if the developers are developing against 6 or 7 I don't really car as long as we are keeping Java 6 runtime support. -- Thanks Robert Middleswarth @rmiddle (twitter/Freenode IRC) @RobertM (OFTC IRC)
Re: [VOTE] Bump Jenkins to Java 6
We aren't talking about requiring Java7. So let's not confuse this request for feedback with a different issue. On 09/05/2012 12:38 PM, Jeff wrote: Bump Jenkins version to 1.500 (or something), put branch 1.4xx into maintenance and switch to Java 7. Java 7 is already at update 7. My $.02. On Wed, Sep 5, 2012 at 1:18 PM, domi d...@fortysix.ch mailto:d...@fortysix.ch wrote: Hi all, just after todays meeting on the IRC chat, we startet a discussion about upgrading Jenkins to Java 6. As Java 5 has reached EOL since quite a while, some core developers have asked whether it would be OK to bump Jenkins' runtime dependency from Java5 to Java6. The core is already build on Java6, but until now still backward compatible with Java5. Therefore we would like to know from you (Users) whether you have an issue with this upgrade. This would mean, that in the future you will have to have Java6 installed to run Jenkins (for Master and Slave). Here are the current usage numbers (installations we know of): Java 1.5: 655 Java 1.6: 29164 Java 1.7: 2919 So please give us some feedback/votes on this. Domi -- Jeff Vincent predato...@gmail.com mailto:predato...@gmail.com See my LinkedIn profile at: http://www.linkedin.com/in/rjeffreyvincent I ♥ DropBox http://db.tt/9O6LfBX !! -- Kohsuke Kawaguchi http://kohsuke.org/
How to notify those who broke the build when triggered job fails
Hi, I've set Jenkins up to build my source, then trigger two jobs in parallel that run system tests. If at least one of the system test jobs fails, it will mark the original build as a failure, and the people who've done a checkin will be notified. However, they don't get the email from the failure of the triggered job, so they don't know which particular test failed or how it failed. Is there a way to pass the change list to the triggered job so it can notify the appropriate people? Is there a better workaround? Thanks! - Melissa -- View this message in context: http://jenkins.361315.n4.nabble.com/How-to-notify-those-who-broke-the-build-when-triggered-job-fails-tp4639330.html Sent from the Jenkins users mailing list archive at Nabble.com.
Re: Jenkins with TestLink
Hi Chris, Thanks for the reply. I reviewed all options that you have mentioned. I am trying to write a system groovy script for my use case. But there seems not many resources available in the internet for groovy. I am stuck in place where I want to trigger downstream job (in Windows or in Linux) depending on environment variable from TestLink (which I am able to work with). I dont have any idea so far how can i trigger build in remote machines using groovy script. Any ideas on that or any other resource that you know might help?? Rgrds bandy On Monday, September 3, 2012 7:23:10 PM UTC+8, cjo wrote: To run one or other of the downstream jobs, it currently not a simple case as, but there are are several different ways of doing it. Use a groovy post build script to trigger one of the builds You could use the Parametrized trigger [1] in combination with the conditional build step plugin,[2] to run the jobs as build steps within a job. This would mean having a conditional buildstep for each of the platforms, where the environment variable is checked which contains the trigger build on other projects for the correct project. If you want to use the conditional part with the Parametrized trigger as a trigger for the downstream properly there is a pull request for that on github, that you can build and test. [3] Chris [1] https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin [2] https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin [3] https://github.com/jenkinsci/parameterized-trigger-plugin/pull/17 On Monday, September 3, 2012 10:54:45 AM UTC+1, bandy wrote: Hi, I am new in Jenkins and wandering for few days to get my head around the topic How to trigger downstream job based on certain conditions ? Details: I have testlink integrated with jenkins which manages the test suite and test cases. I have a custom field Test Client Platform Type in TestLink. The tester can specify in the TestLink if the test case has to be run in Windows or Linux Platform. I fetch the custom field in jenkins successfully but can't figure out how to trigger downstream jobs in linux and windows client depending on the environment variable. Any ideas ??
RE: How to notify those who broke the build when triggered job
fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit I've posted on the list about this, if you are using email-ext. I use a groovy script to get the changeset from the upstream cause and then send that in the email. It should be in the archives. Sent from my Windows Phone From: Melissa Mann Sent: 9/5/2012 7:09 PM To: jenkinsci-users@googlegroups.com Subject: How to notify those who broke the build when triggered job fails Hi, I've set Jenkins up to build my source, then trigger two jobs in parallel that run system tests. If at least one of the system test jobs fails, it will mark the original build as a failure, and the people who've done a checkin will be notified. However, they don't get the email from the failure of the triggered job, so they don't know which particular test failed or how it failed. Is there a way to pass the change list to the triggered job so it can notify the appropriate people? Is there a better workaround? Thanks! - Melissa -- View this message in context: http://jenkins.361315.n4.nabble.com/How-to-notify-those-who-broke-the-build-when-triggered-job-fails-tp4639330.html Sent from the Jenkins users mailing list archive at Nabble.com.
Automated Testing Continuous Deployment for Mobile Apps
I am from india. So how can i attend this session through online? Any recorded session will be available? Regards, varghese
Antwort: [VOTE] Bump Jenkins to Java 6
hi together, is there any site for the feedback? or do you really want to get the statistics from all the replies? :-) anyway, we're fine with java 6. kind regards, Andreas Schilling CAE Processes Data Management --- Dipl. Inf. Andreas Schilling Senior Software Architect TWT GmbH Science Innovation Bernhäuser Str. 40 - 42 73765 Neuhausen Tel: +49 - 7158 - 17 15 - 673 E-Mail: andreas.schill...@twt-gmbh.de www.twt-gmbh.de Geschäftsführung: Dimitrios Vartziotis, Joachim Laicher (stv.) Registergericht: Amtsgericht Stuttgart, HRB Nr. 212778 Umsatzsteuer: ID-Nr.: DE147841145 Von:domi d...@fortysix.ch An: Jenkins Developers jenkinsci-...@googlegroups.com, jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com Datum: 05.09.2012 21:24 Betreff:[VOTE] Bump Jenkins to Java 6 Gesendet von: jenkinsci-users@googlegroups.com Hi all, just after todays meeting on the IRC chat, we startet a discussion about upgrading Jenkins to Java 6. As Java 5 has reached EOL since quite a while, some core developers have asked whether it would be OK to bump Jenkins' runtime dependency from Java5 to Java6. The core is already build on Java6, but until now still backward compatible with Java5. Therefore we would like to know from you (Users) whether you have an issue with this upgrade. This would mean, that in the future you will have to have Java6 installed to run Jenkins (for Master and Slave). Here are the current usage numbers (installations we know of): Java 1.5: 655 Java 1.6: 29164 Java 1.7: 2919 So please give us some feedback/votes on this. Domi