Re: Job migration
rsync everything from machine A to B. :) It's the best approach. ppazos May 30, 2013 4:26 PM Hi, anyone can advise what is the best way to automate the migration of jobs from one jenkins instance to another?This is specially challenging when the jobs have dependencies on plugins and other resources not available in the destination instanceP. -- 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. -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu -- 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: irc chat room available ?
Sure on freenode there is a #jenkins channel. Z W May 21, 2013 9:40 PM Hi AllIs there a jenkins irc chat room available for the user group ?Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu -- 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: Freebsd 7.2
Hi, First and foremost, on FreeBSD you need to have the ports system installed. ports (7) But the 7.2 is outdated, you should upgrade to 9.1 or 8.3. For using the ports system you should read about the ports system. http://www.freebsd.org/doc/handbook/ports-using.html At 5.6.1 you'll see how to get ports (it'll installed under /usr/ports). Good luck. If you have any problems, don't hesitate to ask :) I'm working with FreeBSD systems for more than 10+ years. hDadgari May 18, 2013 8:45 AM How to install jenkins on freebsd7.2instruction says:Installing Jenkins on FreeBSD is now as simple as: # cd /usr/ports/devel/jenkins/# make install cleanThis will automatically install Tomcat if you haven't already got it installed, and of course Java. Jenkins supports the standard Java 1.5 and 1.6 ports available on FreeBSD at this time, including Diablo (the precompiled Java). It is no longer necessary to install Linux Java. FreeBSD 4.9 can be made to work as well, but you will need to compile your own JVM.If you have any problems with the resolution of conflicts in the installation of dependencies, use portupgrade:cd /usr/ports/ports-mgmt/portupgrademake install cleanportupgrade -N jenkinsOnce you've installed and laucnhed Tomcat, jenkins will be available at:http://localhost:8180/You can specify a another tcp-port directly to the "/usr/local/etc/rc.d/jenkins".but I don't have following directory:/usr/ports/devel/jenkinsThanks in advance for any help -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu -- 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: Running Slow VS Fast TEsts in Jenkins
Can you a bit more detailed? What is the question? What do you mean "how to run slow unit tests"? You should run them just like the fast ones. How would you like to separate them? Why is it a question? Kamal Ahmed April 30, 2013 6:28 PM Hi,What is the best way to run slow unit tests, as compared to the ones that take longer to run.Keeping in mind that my Application is Perl based. and i am using maven to run the tests.Thanks,-Kamal. -- 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. -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu -- 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 can a Jenkins slave get copy of job config.xml from master to uses as build artifact?
It can be accessed via: http://jenkinsurl/job/jobname/config.xml So perhaps at the very end of your test steps, you should wget/curl it and save it as an artifact. Ed of the Mountain April 26, 2013 7:19 PM What are some approaches for a slave to get a copy of a job's config.xml configuration files?Builds created on slaves do not have a physical copy of the job's config.xml. Located on the Linux Jenkins master at:My management wants us to add the Jenkins job configuration config.xml files as part of the build artifacts released into our release system.Thanks in advance,-Ed -- 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. -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu -- 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 master and slave workspace directory
Why don't you use the $WORKSPACE variable? It always points to the directory where your source code is - or in other words where your job is located. Aswini Rajasekaran April 26, 2013 10:27 AM Hi Adam,I am running tests on both master and slaves and am specifying the test location directory in user-extensions.js file in selenium. As the workspaces are different in master and slave, I can't run the same job in both master and slave depending on the load on master. If I can't make this to run on any node, then I have to end up tying it to one node which completely nullifies the parallel execution concept.Regards,AswiniOn Friday, 26 April 2013 09:22:58 UTC+1, Adam PAPAI wrote: -- 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. Adam PAPAI April 26, 2013 10:22 AM What is the reason why do you want it to be the same? Anyway on the master you shouldn't run tests. Only on the slaves. The reason is: on the master under the jobs/jobname there are the meta infos, build history, config.xml and so on, so the "realy" workspace is under the /workspace On the slaves, Jenkins does not store meta info, build history, configs, so that's why its located under: /jobs/workspace/ -- 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. Aswini Rajasekaran April 25, 2013 2:04 PM Hi all,I have a small question, this might sound silly but I am not able to find the answer for this.In my jenkins master node, the workspace directory is defined as /jobs//workspace - this is configured as ${ITEM_ROOTDIR}/workspace in jenkins master.whereas in slave, the workspace directory gets stored like this /jobs/workspace/I want both the workspace directory, in master and slave to be consistent. Is there anything that I can do to make this happen?Thanks in advance.Regards,Aswini -- 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. -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu -- 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 master and slave workspace directory
What is the reason why do you want it to be the same? Anyway on the master you shouldn't run tests. Only on the slaves. The reason is: on the master under the jobs/jobname there are the meta infos, build history, config.xml and so on, so the "realy" workspace is under the /workspace On the slaves, Jenkins does not store meta info, build history, configs, so that's why its located under: /jobs/workspace/ Aswini Rajasekaran April 25, 2013 2:04 PM Hi all,I have a small question, this might sound silly but I am not able to find the answer for this.In my jenkins master node, the workspace directory is defined as /jobs//workspace - this is configured as ${ITEM_ROOTDIR}/workspace in jenkins master.whereas in slave, the workspace directory gets stored like this /jobs/workspace/I want both the workspace directory, in master and slave to be consistent. Is there anything that I can do to make this happen?Thanks in advance.Regards,Aswini -- 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. -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu -- 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: Save configuration of a job
Sure, curl -f -s http://jenkinsUrl/job/yourjobname/config.xml -o yourjobname_config.xml It'll save your config to locally a file named yourjobname_config.xml If you delete the job after that, you only have to re-create a directory and put the config.xml and restart jenkins or reload configs to make it available again. Andreas Tscharner April 24, 2013 8:07 AM Hello World, Is it possible to save a configuration (and of course later load it again)? Probably with a plugin? Best regards Andreas -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu -- 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 consumes lot of memory
It has been fixed in the version 1.485. What's new in 1.485 (2012/10/07) Build records are now lazy loaded, resulting in a reduced startup time (issue 8754) We're using 1.510 and upgrading every week if it worth to upgrade (checking the changelog first). How long do you keep the build history? Do you have artifacts? do you delete them periodically? Viktor Konnyu April 15, 2013 10:35 AM From which version is this implemented? We are using LTS 1.480.3 -Djava.awt.headless=true -Xms1g -Xmx6g -XX:MaxPermSize=512M -XX:+UseParallelGC -XX:ParallelGCThreads=16 -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -verbose:gc -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError Java version is Java(TM) SE Runtime Environment (build 1.7.0_17-b02) Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode) Thanks, Viktor On 2013.04.15. 10:17, Adam PAPAI wrote: -- 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. Adam PAPAI April 15, 2013 10:17 AM What version are you using? The newer version's read the build history on demand. And you can control the memory usage as well via parameters like: JAVA_ARGS="-Djava.awt.headless=true -Xms1g -Xmx10g -XX:MaxPermSize=1G -XX:+UseParNewGC" This is a very optimal setup for us. ~100 nodes, ~200 jobs with thousands of tests (heavy loaded jenkins cluster running 0-24 and building continuously) -- 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. Viktor Konnyu April 15, 2013 10:14 AM Hi, Jenkins seems to consume an awful lot of memory. As I understand it is due to keeping build logs in memory for one. My question is what other factors influence jenkins' memory consumption and what can I do about it? Also, is there a way to flush the memory on demand or force a GC without restarting the server? Thanks for your answers! Viktor -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu -- 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 consumes lot of memory
What version are you using? The newer version's read the build history on demand. And you can control the memory usage as well via parameters like: JAVA_ARGS="-Djava.awt.headless=true -Xms1g -Xmx10g -XX:MaxPermSize=1G -XX:+UseParNewGC" This is a very optimal setup for us. ~100 nodes, ~200 jobs with thousands of tests (heavy loaded jenkins cluster running 0-24 and building continuously) Viktor Konnyu April 15, 2013 10:14 AM Hi, Jenkins seems to consume an awful lot of memory. As I understand it is due to keeping build logs in memory for one. My question is what other factors influence jenkins' memory consumption and what can I do about it? Also, is there a way to flush the memory on demand or force a GC without restarting the server? Thanks for your answers! Viktor -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu -- 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: Possible to start/stop an existing EC2 instance
As far as I know, the EC2 instances are not support stop/start, but reboot. So you can only terminate the EC2 instances or reboot them. But you can terminate it and create another one on demand. james mintram December 31, 2012 3:00 AM Hi All,I wondered if it were possible, or not then a trivial update to the EC2 plugin to allow it to start/stop an instance that already exists.Currently I have 2 Windows instances, 1 which is 24x7 and is covered in the free tier but its performance is lacking. The other is a High CPU instance that compiles code very fast, however I do not want this running 24x7 due to cost issues, so I have to manually start/stop it when I want to run a large set of builds.If there was a way to automatically start and stop an existing instance given its ID then it finish my CI configuration for now :)Regards, James Mintram -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu
Re: how can I make timed out builds failed rather than aborted?
Yes, the plugin version 1.10 was/is broken. So if you upgrade to 1.11 you don't have to hack the xmls. Fred G wrote: Hi, Selecting the check box "Fail the build" which is provided by the Build Timeout plug-in works for me as expected. I'm using version 1.11 of the plug-in. Regards, Fred On Wednesday, December 5, 2012 10:41:09 AM UTC+1, Chris Withers wrote: Hi All, When using the facility to time builds out if they take too long, how can I make the end state 'failed' rather than 'aborted'? Aborted seems to be more of a 'user cancelled, probably nothing to worry about' while timing out more often tends to be 'danger danger: someone checked in code that hangs'... Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu
Re: how can I make timed out builds failed rather than aborted?
it's a bug in jenkins. You can change it via the config.xml and restart the job itself. I'm configuring the our systems via config.xml. The related part is: plugin="build-timeout@1.10"> 10 true false 0 absolute 3 failBuild has to be set to true so it'll fail the build instead of mark it as aborted. (it'll be red instead of gray) Chris Withers wrote: Hi All, When using the facility to time builds out if they take too long, how can I make the end state 'failed' rather than 'aborted'? Aborted seems to be more of a 'user cancelled, probably nothing to worry about' while timing out more often tends to be 'danger danger: someone checked in code that hangs'... Chris -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu
Re: Broken link for 1.492 on http://pkg.jenkins-ci.org/debian/
Yes but it's in the debian repo index, and the 1.491 was overwritten by the 1.492, so it's not possible to use it from the jenkins repo. So the fix is: - remove 1.492 from the repo index - add 1.492 to the repo Christoph Kutzinski wrote: It seems that 1.492 isn't released, yet. At least the changelog doesn't mention it, yet. http://jenkins-ci.org/changelog Am 26.11.2012 11:21, schrieb Ollie Walsh: I've created an issue for this - https://issues.jenkins-ci.org/browse/JENKINS-15919 On Monday, 26 November 2012 10:07:18 UTC, Ollie Walsh wrote: Hi, I'm getting a http 404 error for http://pkg.jenkins-ci.org/debian/binary/jenkins_1.492_all.deb <http://pkg.jenkins-ci.org/debian/binary/jenkins_1.492_all.deb>. Thanks, Ollie -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu
Re: Load Balancing
Anyway: Why don't we have a "round-robin" load balance option? I hate that sometimes jenkins uses 3 full node and the other 10 is unused... How hard is to implement it? Michaël Pailloncy wrote: Ok, I'm not sure that 6 builds of the same job (for example) will be faster if you run them on 6 slaves or in one slave with 6 slots. Taking in account that the 6 slaves have the same capacity and are properly sized to accommodate 6 simultaneous builds. Maybe it could be in interesting experience to lead :) 2012/7/26 Lukas Rytz mailto:lukas.r...@epfl.ch>> On Thursday, July 26, 2012 4:43:38 PM UTC+2, mpapo - Michaël Pailloncy wrote: Ok, sorry ! I had not seen your screenshot. Jenkins behaviour does not surprise me. It seems to set the priority to slave where a build has already be done. Otherwise, why do you need this feature ? Because the builds will complete faster. I'm sure that if you create 10 jobs and launch 10 builds on each, Jenkins will use all available slots without restrict builds to the prefered slave. OK, but I obviously don't want to copy the same job configuration 10 times... -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu
Re: API to change build status from ABORTED to FAILED
In higher version there is a possibility to set ABORTED (timeout) to FAILED. But after the build is done, it's not possible (so no API for that). Do you need it for the timeout? or real abort? Sebastian Sawicki wrote: It seems noone picked it up :( So I wonder if there is any (API) way which could change the build status from ABORTED to FAILED. 2012/6/18 Sebastian Sawicki mailto:sebastian.sawi...@solutionsms.pl>> Hi, Is there a way to configure the matrix job to fail immediately when one of the configuration failed. Currently (@1.424.3) the other configurations proceeds although some had already failed and it is known that even when those would succeed the whole matrix build will be failed. I have managed the postbuild task which stops the other configurations if it noticed the current one finishing as a failure. However such approach marks the whole matrix as aborted instead of failed. Could you advice me how can I tune the script or the matrix job configuration so that the whole build (i.e. the matrix) will be marked as failure? Regards. -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu
Re: Same jobs in the queue
Ahh you're right! This job has been changed and it is now a parameterized job... so this is why it fails. Thanks, Mandeville, Rob wrote: I'm getting confused by your post. Are you complaining that you can add the same job to a queue multiple times? My understanding is that, if you have a build of a job running and another one in the queue, the only way to get another one onto the queue is for it to have different parameters than the one in the queue. So if your job doesn't take parameters, you can only have one build in the queue. If your job does have parameters, Jenkins won't put another build on the queue if it has the exact same parameters as one that's already on the queue. If you're queueing up multiple builds of the same job with different parameters, I don't know how to get the queue to reject the extra builds. --Rob -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Adam PAPAI Sent: Friday, June 01, 2012 8:03 AM To: jenkinsci-users@googlegroups.com Subject: Same jobs in the queue Dear List, Recently I see that the same jobs are put in the queue. Is it a bug? I haven't seen it before... Or if not a bug, how can I configure not to put the same jobs to the build queue two or more times.. Thanks in advance, -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle& Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle& Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu
Re: Same jobs in the queue
I've adding a screenshot and details from the server: Jenkins ver. 1.466 editor-acceptance-test-suite is in the queue twice. It seems if the job is a "triggered" job, it'll be put into the queue. If it's a SCM polling or manually started, it won't if there is a same job in the queue. Any idea? Bug? Normal behaviour? Adam PAPAI wrote: Dear List, Recently I see that the same jobs are put in the queue. Is it a bug? I haven't seen it before... Or if not a bug, how can I configure not to put the same jobs to the build queue two or more times.. Thanks in advance, -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu <>
Same jobs in the queue
Dear List, Recently I see that the same jobs are put in the queue. Is it a bug? I haven't seen it before... Or if not a bug, how can I configure not to put the same jobs to the build queue two or more times.. Thanks in advance, -- Adam PAPAI E-mail: w...@wooh.hu Phone: +3630 3355735 Web: http://www.wooh.hu
Flashlog?
Dear Jenkins Users! Is it possible to disable 3 specific jobs running on 1 machine at the same time, BUT allow them to run on different slaves at the same time? I haven't found a plugin for this. Thanks,