RE: Creating a FreeStyleProject outside JUnit?

2013-01-18 Thread jserup
My first approach was to simply: public class JenkinsApiTest { public void test() { ItemGroup itemGroup = new MyItemGroup(); FreeStyleProject p = new FreeStyleProject(itemGroup, "n0"); p.getConfigFile().asString(); } this results in the AbstractProject constructor being called:

Re: Violations Plugin and JSlint

2013-01-18 Thread Ulli Hafner
Ok, I see. Is it an option to switch to the checkstyle plug-in and see if it renders your results correctly? Ulli Am 17.01.2013 um 22:55 schrieb TeMc : > I use: > * jshint (not jslint) > * the --checkstyle-reporter it features > * written to an xml file > * read by publisher "Violations" in

Git show "hangs" due to large content in commit diff

2013-01-18 Thread Mark Waite
I've seen cases where my Jenkins master server has a painfully long running git process (running for a day or more, using 98% of a CPU, hundreds of megabytes of memory, etc.).  That git process is owned by the jenkins user and seems to be launched by the git plugin. If I execute the same comman

java process on jenkins master pegged at 650% since upgrading some plugins

2013-01-18 Thread Chris Withers
Hi, Our Jenkins server runs Jenkins 1.470. This morning, I updated a bunch of plugins (the one I needed was Jenkins build timeout plugin from 1.10 to 1.11, but I thought I'd do the others on offer to be the safe side) and since the restart, the java process on the Jenkins master has been pegg

RVM Plugin issue - multiuser linux slave

2013-01-18 Thread stuart . green
We recently installed rvm 'Multi-User under sudo -i' on our jenkins linux slave which appears ok When under sudo -i we get the following returns type rvm|head -1 > rvm is a function > > printenv | grep -i rvm > rvm_bin_path=/usr/local/rvm/bin > GEM_HOME=/usr/local/rvm/gems/ruby-1.9.3-p362 > I

Re: java process on jenkins master pegged at 650% since upgrading some plugins

2013-01-18 Thread teilo
Hi Chris, Depending on how you upgraded you can go to {jenkinsurl}/pluginManager/installed and look at the previously installed version. Then if you look on disk in jenkinshome/data/plugins and take a look at the imestamps on the hpi/jpi files that will tell you when the plugins where install

Re: RVM Plugin issue - multiuser linux slave

2013-01-18 Thread stuart . green
Looks like I've found the issue. http://jenkins.361315.n4.nabble.com/JIRA-JENKINS-15255-rvm-plugin-is-not-up-to-date-with-recent-source-code-at-github-td4640905.html I'm patching it myself with: https://raw.github.com/jenkinsci/rvm-plugin/22a9c988df634aa10c38c025398904a6b30013ba/models/rvm_wrappe

Re: java process on jenkins master pegged at 650% since upgrading some plugins

2013-01-18 Thread Chris Withers
Hi James, Thanks for the quick reply! On 18/01/2013 13:37, teilo wrote: Hi Chris, Depending on how you upgraded you can go to {jenkinsurl}/pluginManager/installed and look at the previously installed version. Where can I find more info on exactly how those "downgrade to previous version" bu

Re: java process on jenkins master pegged at 650% since upgrading some plugins

2013-01-18 Thread teilo
On Friday, 18 January 2013 14:09:07 UTC, Chris Withers wrote: > > > Depending on how you upgraded you can go to > > {jenkinsurl}/pluginManager/installed and look at the previously > > installed version. > > Where can I find more info on exactly how those "downgrade to previous > version" butt

Re: RVM Plugin issue - multiuser linux slave

2013-01-18 Thread stuart . green
But now we get.. FATAL: (NameError) undefined local variable or method `launcher' for # ha:WB+LCABb85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWA=org.jruby.exceptions.RaiseException: (NameError) undefined local variabl

Re: RVM Plugin issue - multiuser linux slave

2013-01-18 Thread stuart . green
But now we get: FATAL: (NameError) undefined local variable or method `launcher' for # ha:WB+LCABb85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWA=org.jruby.exceptions.RaiseException: (NameError) undefined local variable

Re: RVM Plugin issue - multiuser linux slave

2013-01-18 Thread stuart . green
Have worked around the whole issue by editing the original rvm_wrapper.rb file and replacing any occurances of ~/.rvm/scripts/rvm with /usr/local/rvm/scripts/rvm

Re: Jelly script, for email

2013-01-18 Thread jhoomsharabi
What code should come under ${code here to read HTML file} -Original Message- From: japinder gill To: jenkinsci-users Cc: japinder gill Sent: Thu, Jan 17, 2013 7:40 pm Subject: Re: Jelly script, for email i need exactly this ${code here to read HTML file}, code for reading the fil

Re: Jelly script, for email

2013-01-18 Thread Marek Gimza
I hope that this example may help: Kind Regards, Mgimza On Fri, Jan 18, 2013 at 11:00 AM, wrote: > What code should come under ${code here to read HTML file} > > > > -Original Message- > From: japinder gill > To: jenkinsci-users > Cc: japinder gill

Re: thinbackup loading of plugin failed

2013-01-18 Thread Thomas Fürer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi vladimir, Could you please send me your thinbackup.xml and information about your environment (system, version of jenkins and thinbackup), and if you upgrade your jenkins or you startup from scratch. what the error message says, is that thinbackup.

Multiple jobs launching one job?

2013-01-18 Thread Mandeville, Rob
I need to rebuild databases on my build servers on a regular basis. In order to do this, I have a regularly scheduled job on each machine, something like "Service build1", "Service build2", and the like. They all call one job, "Rebuild databases on build server", with the hostname as an argume

Re: Jelly script, for email

2013-01-18 Thread jhoomsharabi
This was fast, thanks Magimza. But is it possible to attached a test suite report genrated in html format to jelly script or to ext-email so that this html report becomes body of email. Report gets generated on Slave box. -Original Message- From: Marek Gimza To: jenkinsci-users Sent:

Re: Jelly script, for email

2013-01-18 Thread Marek Gimza
Jelly scripting is quite powerful. I noticed that it is possible to even open/close file handles with JELLY. It is just a question of learning the concept and the appropriate tags to use in the .jelly script. I think that it is safe to say that you could perform a google or yahoo search on "jelly

Re: Slow Jenkins response to http after upgrade

2013-01-18 Thread Pawel Jasinski
what do you use as container, winstone? On Thu, Jan 17, 2013 at 9:51 AM, Yitzhak Zuriel wrote: > We recently upgraded our Jenkins CI servers to the latest LTS version > (4.480.1 -- before this we were using version 4.447.2) After this upgrade, > we found that on our busiest servers (especiall

junit test results - quick question

2013-01-18 Thread zw
Hi All Scenario: We have 2 Jenkins installed on host A and host B. Host B is also configured as a slave of host A Host B has jobs in its own Jenkins workspace because it has it's own Jenkins server running. eg /scratch/nimo/.hudson/ Host A connects to host B with a different path: eg /scratch/hud

RE: Slow Jenkins response to http after upgrade

2013-01-18 Thread Richard J Otter
Yes. I just run java.exe Jenkins.war or some such command line. i.e. no container app like tomcat. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Pawel Jasinski Sent: Friday, January 18, 2013 2:52 PM To: jenkinsci-users@googlegroups.com Subject: