Re: Warnings-Plugin: How to access the path of current workspace?

2012-12-28 Thread Markus Schneider
Hi Ulli, I have done some debugging and solved my issues: 1) Empty tmp source file, without any log statement why it is emtpy. Reason: In my setups the default encoding was not set. This caused an exception in the class HealthAwareRecorder.java in private void print(final FileOutputStream ou

Jenkins cannot connect to X server on Ubuntu

2012-12-28 Thread suter_daniel
My tests on jenkins are failing because jenkins can't connect to the x server on my ubuntu machine. The machine disposes of a display, so it's not headless. I tried to set the connection settings on the etc/init.d/jenkins configuration as follows: #Display connection > export DISPLAY=:0.0 In

RE: Token Macro plugin v1.5.1 disrupts Email-Ext plugin

2012-12-28 Thread Alex Earl
It will not be tested with latest, only with the latest LTS release, this is pretty common among plugins. As for token macro, 1.5.1 is the version email-ext conditionally depends on. Sent from my Windows Phone -- From: Vikram Toprani Sent: 12/27/2012 11:46 PM To: jenkin

Re: Jenkins cannot connect to X server on Ubuntu

2012-12-28 Thread Pawel Jasinski
hi, can it be that you need to enable tcp connection to your xserver? http://askubuntu.com/questions/72812/how-to-disable-nolisten cheers, pawel On Fri, Dec 28, 2012 at 3:31 PM, wrote: > My tests on jenkins are failing because jenkins can't connect to the x > server on my ubuntu machine. The

Re: Emma - source code highlighting coverage report

2012-12-28 Thread Fred Hartman
Does this Open issue mean there is still no source level report integration with between Jenkins and Emma? https://issues.jenkins-ci.org/browse/JENKINS-361 -- View this message in context: http://jenkins.361315.n4.nabble.com/Emma-source-code-highlighting-coverage-report-tp4217365p4649935.html

Re: Leveraging the Maven "Developers" for email notifications

2012-12-28 Thread Raketemensch
Thanks, I've basically put together a Python script to parse out the email addresses from the pom.xml and send out the failure notification with the BUILD_URL. I'll post it once it's tested, in case it'd be helpful to anyone else. -- View this message in context: http://jenkins.361315.n4.nabbl

Re: Warnings-Plugin: How to access the path of current workspace?

2012-12-28 Thread Ulli Hafner
Hi Markus, thanks for debugging. can you please create a new bug report for problem 1) I think I need to avoid that exception so that it is clear why the source could not be written… Ulli Am 28.12.2012 um 12:24 schrieb Markus Schneider : > Hi Ulli, > > I have done some debugging and solved

Re: job workspace locked on linux, how to recover - quick question

2012-12-28 Thread Eric Pyle
Try the svn cleanup command, it should help. Eric On 12/28/2012 1:32 AM, zw wrote: Hi All We have a job where its workspace is locked after SVN update with error message - "*14:31:25*Workspace appear to be locked, so Failing the build *14:31:25* Build was aborted *14:31:25* [WARNINGS] S

PMD does not show source code: was: Re: Plugin consumes too much memory

2012-12-28 Thread Ulli Hafner
Please use the user mailing list for such emails. (And don't reply to another unrelated mail, using a correct header will help to get more attention;-) Did you enable PMD to report the full path of the warnings? Ulli Am 27.12.2012 um 19:01 schrieb punit jain : > Hello all, > I apologies if i

Re: migration hudson 2.2.0 to jenkins

2012-12-28 Thread Daniel Fortunov
Hello, Is there any more information on this? I've also just (resumed) trying to upgrade from Hudson 2.0.0 and noted that the configuration file format is * completely* different. My existing config files have pretty much *everything*, including the build commands, defined within: In the new

Re: Jenkins cannot connect to X server on Ubuntu

2012-12-28 Thread suter_daniel
Hi Pawel, Thanks for your suggestion but I still got the same problem (after I enabled tcp connections). I don't know how to debug this problem. cheers Am Freitag, 28. Dezember 2012 17:11:00 UTC+1 schrieb Pawel Jasinski: > > hi, > > can it be that you need to enable tcp connection to your xserv

Changing default JDK for a job...

2012-12-28 Thread Jeff
I have a brand new Jenkins master + slave running on top of the latest JDK 1.7.0_u10. I've configured multiple JDK versions in Jenkins (with auto installers from Oracle), including JDK 1.6.0_u37. I have one Maven job that uses the wsgen/wsimport commands to generate WSDL and client files that wor

Re: Changing default JDK for a job...

2012-12-28 Thread Eric Pyle
You can do this using the Maven Compiler plugin. See http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html. Eric On 12/28/2012 12:25 PM, Jeff wrote: I have a brand new Jenkins master + slave running on top of the latest JDK 1.7.0_u10. I've configured

Re: Changing default JDK for a job...

2012-12-28 Thread Jeff
Won't that will just cause clutter in the POM that will affect every developer and every environment? Seems like it would be cleaner to just allow me to tell Jenkins to run the job using the correct JDK that was specifically defined in the job. My questions: - Why doesn't job execution honor

Spawning dynamic number of builders

2012-12-28 Thread Kris Kurasz
Hey All, First off, I'm very new to Jenkins - I just started playing with it over the last 2 weeks or so in my spare time. I'm currently evaluating Jenkins in hopes that we will be able to replace our in-house build request system with a proper CI solution such as Jenkins. I'm attempting to c

Re: Changing default JDK for a job...

2012-12-28 Thread Eric Pyle
Your first question is a Maven issue - I could only speculate about it. For the second question - yes, in the Build Environment section of the job configuration you can set environment variables for the job. Eric On 12/28/2012 12:51 PM, Jeff wrote: Won't that will just cause clutter in the POM

RE: migration hudson 2.2.0 to jenkins

2012-12-28 Thread Alex Earl
My guess is you could do something with xslt to transform the XML between formats, but you would need to understand both formats in depth. I don't know that anyone on this list knows the new Hudson format well at all, but there would be plenty of help for the Jenkins format on here. Sent from my W

Re: Changing default JDK for a job...

2012-12-28 Thread Jeff
I can't find anything in the "Build Environment" section that allows this. The check boxes I see are: Build Environment Delete workspace before build starts Copy files into the job's workspace before building [image: Help for feature: Copy files into the job's workspace before building]

Re: Changing default JDK for a job...

2012-12-28 Thread Eric Pyle
Looks like you need the Setenv plugin to get that option. On 12/28/2012 1:26 PM, Jeff wrote: I can't find anything in the "Build Environment" section that allows this. The check boxes I see are: Build Environment Delete workspace before build starts Copy files into the job's works

Re: Jenkins cannot connect to X server on Ubuntu

2012-12-28 Thread Pawel Jasinski
there is one thing I forgot. You have to issue the following in the terminal connected to XServer xhost localhost this will allow the connections to XServer from localhost only. For troubleshooting (not to be permanent) you can do: xhost + this turns off any restrictions. If you still have a pr

Re: Changing default JDK for a job...

2012-12-28 Thread Jeff
So it's now working with no changes that I can tell other than possibly restarting Jenkins. I went to install the Setenv plugin, found it was deprecated in favor of the "Environment Inject" plugin then noticed a new version of Jenkins (1.495) so I installed the Environment Inject plugin, downloa

significance of .jenkins diectory tree

2012-12-28 Thread Kamal Ahmed
Hi, Does anyone know the significance of /.jenkins and the files/Directories under it? Can i remove them without having any impact on my jenkins Instance ? .jenkins .jenkins$ cd war hostname:~/.jenkins/war$ ls ColorFormatter.class  JNLPMain.class   MainDialog.class css   

Re: Jenkins cannot connect to X server on Ubuntu

2012-12-28 Thread Mark Waite
Wouldn't it be easier to install a VNC server on your Ubuntu and use the Jenkins VNC plugin to manage an X server for use by your build?  I use that regularly and it works very well for me on Debian and Red Hat and CentOS machines. Then you don't need to remember to keep the X server running an