subversion changes are not trigerring automatic build

2013-04-18 Thread Kamal Ahmed
I setup a Job with polling the SVN URL, every 5 minutes , and made changes in 1 file but it does not trigger a build. I am using Jenkins Version 1.506 on ubuntu 12.04 , with subversion plugin 1.45 Is there a way i can still get this to without pre-commit hooks, as i would need permissions on the

Re: Can jenkins not fail the builds that don't have the JUnit test result file?

2013-04-18 Thread cchen
Note that the current work around is to add a dummy test to every module, but I am hoping for a better solution. On Thursday, April 18, 2013 11:53:50 AM UTC-7, cchen wrote: > > Hello, > > I have a job that compiles and executes tests on the modules that were > modified. As a result, some runs d

Running slave in a chroot

2013-04-18 Thread felix schwitzer
I have a buildserver (ubuntu 12.04) and need to run a jenkins slave on that server in a (s)chroot environment. Question: How can I set up a slave that runs directly in the chroot-environment on that buildserver? I mean, who can I achieve that jenkins master connects directly into the chroot?

Can jenkins not fail the builds that don't have the JUnit test result file?

2013-04-18 Thread cchen
Hello, I have a job that compiles and executes tests on the modules that were modified. As a result, some runs don't have any JUnit test result file while most of the run do generate JUnit test result file. The job is configured to look for Junit test results files and when it can't any JUnit

Re: Jenkins ScriptTrigger plugin stopped working by default

2013-04-18 Thread EldadAK
The problem was found to be related to the dependency to xtrigger lib version. I downloaded the sources, updated xtrigger.lib.version to be 0.19 and locally built the plugin (and installed it on my Jenkins). This solved the problem. Thanks for the help of *Gregory Boissinot* (the author of th

Re: Static Code Analysis for C# code

2013-04-18 Thread Tom D'Aurizio
Check out Sonar. It's free, easy to set up, and uses industry standards like fxcop, etc. The only thing we pay for is nCover (to calculate coverage on unit tests) but that decision was made 3 years ago, there's probably a way to get that functionality for free by now. http://www.sonarsourc

Re: How can I set the version of maven in a maven job

2013-04-18 Thread Jared Griffith
Does your Maven Installation options under Manage Jenkins -> Configuration look like the following? http://snag.gy/fiyH8.jpg Having those 2 options gives me the following Maven options under Build in all of my jobs. http://snag.gy/cbf84.jpg On Wed, Apr 17, 2013 at 2:25 PM, Peter Miklosko wrote:

Re: Triggering the build from Git tag

2013-04-18 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
The most practical way to do this would be to create the tags in their own namespace in the repository. Something like: $ git tag jenkins/buildA Then when you setup your Jenkins job with the Git plugin, you can use a refspec that only pulls the 'jenkins' namespace from the repository; the job w

Re: Triggering the build from Git tag

2013-04-18 Thread Jared Griffith
Ooh, I like this question. Is there? On Thu, Apr 18, 2013 at 7:10 AM, Vishal Gupta wrote: > I want to trigger the build in Jenkins if a tag in GIT contains some > specific string. > Example : If tag contain string "JENKINS_BUILD" , then jenkins should > trigger the build. > How can we achieve t

RE: How to pass multiple parameters to jenkins cli build

2013-04-18 Thread Stanley, Jason
Yes. java -jar Jenkins-cli.jar -s JENKINS_URL build JOB_NAME -p KEY1=VAL1 -p KEY2=VAL2 -p KEY3=VAL3 From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of mallikarjunece Sent: Thursday, April 18, 2013 8:53 AM To: jenkinsci-users@googlegroups.com Subject: H

How to pass multiple parameters to jenkins cli build

2013-04-18 Thread mallikarjunece
Hi,I want to trigger jenkins build from remote server using jenkins-cli with multiple parameters , likejava -jar jenkins-cli.jar -s JENKINS_URL build JOB_NAME -p KEY1=VAL1 KEY2=VAL2 ...Is it possible ? please let me know.Thanks in advance...Mallikarjuna -- View this message in context: http://j

RE: Continuous Integration

2013-04-18 Thread Mandeville, Rob
Like I said, I don't know those plugins. As far as a complete setup of CI, that's a very broad question that may be answered by the wiki. Sorry, I don't have any more help for you. --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of hamoodh par

Static Code Analysis for C# code

2013-04-18 Thread Vishal Gupta
How can we perform Static Code Analysis for C# code in Jenkins. It should not be a paid tool. -- 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+un

Code Coverage in jenkins

2013-04-18 Thread Vishal Gupta
I want to calculate code coverage for my C# code in Jenkins. I have read that NCover is better for C# , but NCover is not free.. Can anyone please suggest any other way to calculate code coverage for C# project in Jenkins ? Visual Studio 2012 produces *.coverage* file, how can we use this to pu

Triggering the build from Git tag

2013-04-18 Thread Vishal Gupta
I want to trigger the build in Jenkins if a tag in GIT contains some specific string. Example : If tag contain string "JENKINS_BUILD" , then jenkins should trigger the build. How can we achieve this ? -- You received this message because you are subscribed to the Google Groups "Jenkins Users

MSI testing in Virtual Machine via jenkins

2013-04-18 Thread Vishal Gupta
I want to start virtual machine via jenkins,install my MSI on virtual machine via jenkins, run MSTests on it via jenkins, collect the test results and then publish the report in jenkins dashboard. I am new to jenkins. Can anyone please suggest any solution or any alternate for this. -- You re

Re: How can I set the version of maven in a maven job

2013-04-18 Thread Eric Wood
Also, I can see in the console output the following line:     D:\Tools\jdk1.7.0_07/bin/java -cp D:\Tools\Jenkins\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-agent-1.2.jar;D:\Tools\apache-maven-3.0.4\boot\plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main D:\Tools\apache-mave

Re: How can I set the version of maven in a maven job

2013-04-18 Thread Eric Wood
I runnimng jenkins 1.510 aaand looked under the build section of my maven 2/3 job and do not see an option for selecting the version of maven to run, unless it is specifying the settings.xml file for a user installed maven version.  So is the process of selecting your custom install mean you pin

Re: choice parameter and list of values to the script

2013-04-18 Thread Narahari 'n' Savitha
Hi Folks: Is anyone having this requirement of having the need to look at all possible parameters in the shell script ? -Narahari On Tuesday, April 16, 2013 11:24:43 AM UTC-4, Narahari 'n' Savitha wrote: > > Friends: > > If this is already answered please point me there and do not flame me. > >

Re: A couple of Git problems

2013-04-18 Thread Sverre Moe
I can confirm that using a newer version of git solves my first problem. However linux servers usually don't have the latest versions available (I am using SLES 11). I might have to install a newer git version manually. My second problem was solved by, installing git on Jenkins master (yes only

RE: Cleanup after job abort?

2013-04-18 Thread Stanley, Jason
Correct, if you cancel a job in Jenkins, I will still run a post-build task. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mandeville, Rob Sent: Thursday, April 18, 2013 7:19 AM To: 'jenkinsci-users@googlegroups.com' Subject: RE: Cleanup after job a

Re: Continuous Integration

2013-04-18 Thread hamoodh parameswaran
Rob, We have problem with that 2 plugins.. if you have idea about complete setup of CI.. Kindly let us know... Hamoodh On Thursday, 18 April 2013 12:51:57 UTC+5:30, hamoodh parameswaran wrote: > > Hi All, > > I'm new to continuous integration, so i need some clarifications.. > > I'm taking this

RE: Continuous Integration

2013-04-18 Thread Mandeville, Rob
I'm confused about you doing testing before running a build. Is it the other way around? I see you're already using plugins. There are plugins for Gradle and Artifactory as well. I haven't used them, but I suspect that if you install them, you'll get "run Gradle command" as a type of build s

RE: Cleanup after job abort?

2013-04-18 Thread Mandeville, Rob
In other words, aborting a job still allows post-build tasks to run? So I'm wrong below? If you're right, that solves my whole problem. Thanks. --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Stanley, Jason Sent: Wednesday, April 17, 2013 4

Re: How to Install ClearCase plugins without Internet connection

2013-04-18 Thread Chris Selwyn
Maybe it's the browser that you are using to download the plugins. The hpi files are in fact zip files and it maybe that you browser is saving them with the extension .zip rather than .hpi Try just renaming them back to .hpi and then installing them. Chris On 17/04/2013 18:44, Anna wrote: > I

Use of the URL Trigger plugin

2013-04-18 Thread Chris Selwyn
I am looking at starting to use the URL Trigger plugin, However, I have a couple of concerns... The plugin website says that "The plug-in uses only persistence in memory." I assume that this means that, if the URL changes while Jenkins is down, then a build will not be triggered. Correct? How ha

Continuous Integration

2013-04-18 Thread hamoodh parameswaran
Hi All, I'm new to continuous integration, so i need some clarifications.. I'm taking this project as because of my challenges so kindly I need help from you guys... What l'm doing: 1. Using subversion, pulled the job to jenkins. 2. In jenkins, we are doing all kinds of testing using the resp