Source code metrics plugin ?

2012-02-06 Thread Jan Goyvaerts
Hello, I'm looking for a plugin to show trends of simple metrics about the source code. Lines of code, number of classes, etc... Preferably with a chart on the project's main page like there is for junit, findbugs and al. I guess there's one hiding somewhere. :-) Can somebody point me to some of

Clone Workspace SCM tar vs. zip

2012-02-06 Thread Dirk Kuypers
Hi, I just upgraded the Clone Workspace SCM plugin this morning and although I configured my main compile job to zip the workspace a .taz.gz file is created. The unit tests following are failing with the following error message: 10:16:42 Started by upstream project "ContestContinuous" build numb

Re: Source code metrics plugin ?

2012-02-06 Thread Fred G
Hi, here is the link to all the reporting plugins: https://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-Buildreports One of the most popular plug-ins is this one: https://wiki.jenkins-ci.org/display/JENKINS/Static+Code+Analysis+Plug-ins BTW: The plug-ins are not hiding, they can easily

Re: Source code metrics plugin ?

2012-02-06 Thread Jan Goyvaerts
It was of course a figure of speech. :-) I meant that there's so much choice ! ;-) Thanks ! On Mon, Feb 6, 2012 at 13:41, Fred G wrote: > Hi, > > here is the link to all the reporting plugins: > https://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-Buildreports > > One of the most popular

Re: Source code metrics plugin ?

2012-02-06 Thread Jan Goyvaerts
AHA ! NOW they're hiding ! :-) Error formatting macro: contentbylabel: java.util.ConcurrentModificationException When looking to the reporting plugins. On Mon, Feb 6, 2012 at 13:44, Jan Goyvaerts wrote: > It was of course a figure of speech. :-) I meant that there's so much > choice ! ;-) > >

Multiple changes to advances properties of 'Multiple SCMs' plugin

2012-02-06 Thread Eyal Edri
I've got 12 jobs i want to update the 'excluded regions' property in the Multiple SCMs plugin. How can i do that via script/cli? I guess the 'scriptler' plugin can be helpful using groovy? Eyal.

Re: Source code metrics plugin ?

2012-02-06 Thread Didier Durand
Hi, I personally use SLOCCOUNT: if you work in an environment with multiple languages, it's particularly well suited to get measures in such an heterogeneous environment. regards didier On Feb 6, 1:49 pm, Jan Goyvaerts wrote: > AHA ! NOW they're hiding ! :-) > > Error formatting macro: conten

Re: How can i trigger a build by tag?

2012-02-06 Thread Ziggy
On Mon, Feb 6, 2012 at 1:22 AM, Qazwart wrote: > I'm not 100% sure how git does tagging, but you could use branches to do > something similar. After all, the difference between a branch and a tag in > Subversion is that one is written to a directory called "tags" and one is > written to a directo

svn 1.7

2012-02-06 Thread shanz
Can Jenkins support svn 1.7? My job complains with - "Please upgrade your Subversion (SVNKit) client to use this working copy". Can I manually upgrade SVNKit? I'm using Jenkins 1.442. Is it worth upgrading to Jenkins 1.450? Does anyone use svn 1.7.x with Jenkins successfully?

RE: svn 1.7

2012-02-06 Thread Matthew.Webber
SVN 1.7 is a major change from 1.6. Subversion 1.7 clients use a new working copy format. Subversion 1.7 clients cannot use Subversion 1.6 (and earlier) working copies. Existing working copies created with Subversion 1.6 and earlier need to be upgraded before they can be used with a Subversion 1

Re: svn 1.7

2012-02-06 Thread shanz
I don't think I've got a choice since my Company is about to PUSH svn 1.7 out automatically. Today I've tried it out but now realise Jenkins isn't ready for it! On Feb 6, 1:48 pm, wrote: > SVN 1.7 is a major change from 1.6. Subversion 1.7 clients use a new working > copy format. Subversion 1.7

Re: svn 1.7

2012-02-06 Thread shanz
Just seen this on svnkit website ... Lastest stable version of SVNKit (1.3.7) is not compatible with Subversion 1.7 working copy format. However, SVNKit 1.7 is under development now and we plan to release it in February 2012. Fully functional beta will be ready in January 2012. Right now you may

Re: svn 1.7

2012-02-06 Thread Martijn Verburg
Hi all, I believe the latest version of the Jenkins plugin does provide support. However, Several of us have been having problems upgrading the SVN plugin (this was originally thought to be an hpi vs jpi naming issue, but it seems to be deeper than that). I didn't have a chance to discuss it in

Re: svn 1.7

2012-02-06 Thread shanz
Martijn, I seem to already have the latest version of th plugin though (1.37) and 1.38 doesn't address svn 1.7 format yet ... Version 1.38 (not yet released) Fixed issue #10227: Parameter "List subversion tag" was not displaying tags which have the same date. Fixed issue #12201: NullPointe

Re: Use of parametrized builds

2012-02-06 Thread Rob Petti
I would look into the Copy Artifact plugin. It may do exactly what you need.

Re: How can i trigger a build by tag?

2012-02-06 Thread David Weintraub
I don't know if you're using CVS that Jenkins is able to look at the tag to see if it has been modified. There's a checkbox you select if your specifying a tag instead of a branch in your CVS specification. However, you can do the same thing using a branch instead of a tag. Create a branch called

Re: svn 1.7

2012-02-06 Thread Martijn Verburg
Hmm, must be my bad - I was sure I read of the support somewhere (it's my reason for upgrading as well) - M On 6 February 2012 14:23, shanz wrote: > Martijn, > I seem to already have the latest version of th plugin though (1.37) > and 1.38 doesn't address svn 1.7 format yet ... > Version 1.38 (no

Push git tag as promoted action fails

2012-02-06 Thread Maarten
Hi jenkinytes, I've been struggling with pushing a build a git tag when a build is promoted. I've set up a build to be promoted when it's downstream build succeeds, and then as the (only) promotion action I've set the Git Publisher to push a (newly created) tag with certain name to the repository t

First Subversion checkout fails

2012-02-06 Thread Lars Fischer
Hello, after committing a change into a Subversion repository, I start a Jenkins job, which includes a svn checkout. The first run of this job fails because svn is not able to perform the checkout. (see [1]) If I start this job again without any other svn operation, the svn checkout runs fine. T

Re: Prebuild action in Jenkins

2012-02-06 Thread Grégory Boissinot
Your request is close to prepare your job by injecting some configurations, injection environment variables, execute setup scripts. Therefore, you need a plugin to prepare the job execution. I suggest that you should look at the EnvInject plugin ( https://wiki.jenkins-ci.org/display/JENKINS/EnvInje

Re: svn 1.7

2012-02-06 Thread Brian J
Jenkins is using a custom patched version of svnkit. Chances are that work will need to be done on the 1.7 version as well, which is still in beta. However, this does not prevent you from upgrading your subversion server to 1.7 to support other 1.7 clients, as the 1.7 server supports 1.6 clients as

Re: conditional plugin and missing data

2012-02-06 Thread domi
please see here: https://wiki.jenkins-ci.org/display/JENKINS/Issue+Tracking thanks Domi On 06.02.2012, at 07:48, Matt Fair wrote: > I've only tried it for the "S3 artifact plugin" and "Environment > Injector Plugin", the injector plugin worked just fine. I have not > tried any other plugins. > W

Re: How can i trigger a build by tag?

2012-02-06 Thread Ziggy
Ok will try that - Thanks. On Mon, Feb 6, 2012 at 3:36 PM, David Weintraub wrote: > I don't know if you're using CVS that Jenkins is able to look at the > tag to see if it has been modified. There's a checkbox you select if > your specifying a tag instead of a branch in your CVS specification. >

Re: Jenkins creating lot of connection to CONTEGIX

2012-02-06 Thread Rajesh Kumar
Yes Kohsuke, After evey 2 minutes, jenkins make connections with contegix cloud servers and keep it ESTABLISHED! (sudo lsof -i:443) Though I have disabled below option: Help make Jenkins better by sending anonymous usage statistics and crash reports to the Jenkins project. Still no luck! Any o

Re: Selenium plugin updates

2012-02-06 Thread Michael Higgins
On Sat, 4 Feb 2012 01:35:27 -0500 Thanks for your reply, Richard. In addition to all the inline replies below that do much to illustrate my confusion, I find definitively that I can access the selenium process started by Jenkins as root user, but not as Jenkins user. Maybe that explains the confus

Re: Selenium plugin updates

2012-02-06 Thread Michael Higgins
On Sat, 4 Feb 2012 01:35:27 -0500 > Thanks for your reply, Richard. In addition to all the inline replies > below that do much to illustrate my confusion, I find definitively > that I can access the selenium process started by Jenkins as root > user, but not as Jenkins user. Maybe that explains th

Re: Selenium plugin updates

2012-02-06 Thread Richard Lavoie
If you are using ssh -Y to redirect the display, then it's not surprising that it doesn't work with jenkins standalone. Since the jenkins process doesn't know where to redirect the display, the launch of the browser will likely to fail. You need an X server or something to handle the graphical pa

Windows slave-node connecting to wrong port

2012-02-06 Thread speKc
i am a relatively novice Jenkins user but have some experience setting up slave-nodes on both Linux and Windows (2008 R2) systems. I'm experiencing a Windows slave-node issue that has me stumped. Any debug suggestion would be most appreciated. Launch method is 'Launch slave agents via Java Web Sta

Re: Cant clone git repository on Mac server using gitolite

2012-02-06 Thread Sami Tikka
If you hit the Customize button in Jenkins installer, you can choose to create a new user, jenkins, and it will have a writable home directory. -- Sami Dat Nguyen kirjoitti 26.1.2012 kello 1.06: > I think I know what the problem is. Jankins is started by daemon, and > that's the reason why it

Re: Windows slave-node connecting to wrong port

2012-02-06 Thread Mattias Vannergård
I had this problem when using a special Firewall. Go into Manage Jenkins -> Configure system -> and un-select the "Use random port" under security. And set a Fixed port of your liking. /MV 2012/2/6 speKc > > i am a relatively novice Jenkins user but have some experience setting > up slave-node

Re: Windows slave-node connecting to wrong port

2012-02-06 Thread Sami Tikka
The JNLP slaves do not communicate with Jenkins master using http, but they have their own protocol and they use a different port for that. Jenkins chooses a random port for that by default but if you need it to be a fixed port to make a hole in a firewall or something, you can set the port in m

Re: Selenium plugin updates

2012-02-06 Thread Michael Higgins
On Mon, 6 Feb 2012 16:33:42 -0500 Richard Lavoie wrote: > If you are using ssh -Y to redirect the display, then it's not > surprising that it doesn't work with jenkins standalone. Since the > jenkins process doesn't know where to redirect the display, the > launch of the browser will likely to f

Re: Windows slave-node connecting to wrong port

2012-02-06 Thread speKc
MK, Thank you for the response; I was unaware of this option. I made the change you suggested and it's still not working; i did see the new port referenced in the small GUI pop-up, and so I know that change was picked up. Neither host (master, slave) has firewall enabled. I issued trace from mast

Re: Windows slave-node connecting to wrong port

2012-02-06 Thread Richard Bywater
Personally I always use the "Windows service" way of launching the windows slaves as I've found this way to be more robust... On Tuesday, February 7, 2012, speKc wrote: > > MK, Thank you for the response; I was unaware of this option. I made > the change you suggested and it's still not working;

Re: Selenium plugin updates

2012-02-06 Thread Richard Lavoie
Ar eyou using the xvfb plugin for jenkins as well ? IIRC, someone made it work with xvfb plugin, I'd hav eto search my IRC logs, but we debugged one case where jenkins selenium was used with xvfb jenkins... Maybe it would be just a matter of setting the DISPLAY variable so xvfb can set that up on

Webpage is not available.

2012-02-06 Thread Suri
Hi We are using Jenkins 1.430 version, which is installed in Redhat Linux server. I have wondered, Past 5days the Jenkins service is automatically getting down in the Morning time. We have checked Network and system performance, there is no issues on that. Every day morning Jenkins Web page is ge