TFS + Jenkins

2013-09-20 Thread pradeep kattekola
Hi friends , I am new to Jenkins. and created simple maven jobs and its successfully gets running in master and node machine. Till now i configured hardcoded source path in Jenkins configure now i want make in centralized. I want to check-in the code in TFS and want to pass the path in Jenkins

Jenkins using wrong JDK

2013-09-20 Thread Farrukh Najmi
Hi Guys, Initially all was well and my Jenkins config.xml was configured for just JDK7. I then added a JDK6 installation to Jenkins config and did a new build manually. The build failed and on examination I realized my project requires JDK7 to build. So I edited my Jenkins config to delete the

Re: Jenkins using wrong JDK

2013-09-20 Thread Ulli Hafner
What values are in your Java Version list box in you job configuration? Which Java Versions are visible in Jenkins global configuration? Please use the UI only... Am 20.09.2013 um 15:39 schrieb Farrukh Najmi : > Hi Guys, > > Initially all was well and my Jenkins config.xml was configured for j

Re: Jenkins using wrong JDK

2013-09-20 Thread Farrukh Najmi
I do not see a Java Version list box in my job config page in UI. I have expanded varios Advanced section in the page but still do not see Java Version list. I am using Jenkins version 1.531. The only Java Version available in Jenkins global config is JDK 7. One odd difference I notice in the l

Re: Jenkins using wrong JDK

2013-09-20 Thread Eric Pyle
I think you have picked up on the solution there. Either always use the full path to the desired Java installation, or alter your path so that 'which java' returns the correct path. Eric On 9/20/2013 10:01 AM, Farrukh Najmi wrote: I do not see a Java Version list box in my job config page in U

Re: TFS + Jenkins

2013-09-20 Thread pradeep kattekola
can any one pls give me the link of congiration. On Friday, September 20, 2013 6:27:01 PM UTC+5:30, pradeep kattekola wrote: > > > Hi friends , > > I am new to Jenkins. and created simple maven jobs and its successfully > gets running in master and node machine. > Till now i configured hardcoded

Re: Jenkins using wrong JDK

2013-09-20 Thread Farrukh Najmi
But I used the GUI option for Jenkins to install JDK from java.sun.com and never specified a fullpath location for JDK in the first place when I added a JDK7 installation. Later I added and removed a JDK 6 installation. All was done via GUI. So I am at a loss as to what went wrong and how I c

Using perforce Workspace name in the perforce plugin

2013-09-20 Thread alok kumar
Hi All, Is there a way to use the Perforce Workspace name in the perforce plugin for jenkins instead of the view. i.e. just give the name of already existing Workspace name in perforce and then use the view already defined in it to get the source code. Thanks, Alok -- You received this message

Re: Jenkins using wrong JDK

2013-09-20 Thread Eric Pyle
When you added the JDK 6 installation, most likely the installer altered your system path to place that installation first on the path. Try creating a new Jenkins job containing a shell script job step with the command "which java". That will tell you where the OS is looking when you call java

RE: Using perforce Workspace name in the perforce plugin

2013-09-20 Thread Ginga, Dick
Yes, just uncheck the Let Jenkins... boxes. Read the help to be sure that does what you want. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of alok kumar Sent: Friday, September 20, 2013 10:14 AM To: jenkinsci-users@googlegroups.com; jenkinsci-...@goo

multi job report

2013-09-20 Thread Tânia Magalhães
Any ideas on how to have a report for multi job builds? A report or something that shows at once the results of all down streaming jobs? If I have a multi job named A with the following configuration job B job D job E job C When the build for A ends, to get the information from the builds for al

Re: Jenkins using wrong JDK

2013-09-20 Thread Ulli Hafner
What job type are you using? I have a JDK Listbox right above the advanced project options section… Am 20.09.2013 um 16:01 schrieb Farrukh Najmi : > I do not see a Java Version list box in my job config page in UI. I have > expanded varios Advanced section in the page but still do not see Java

Re: Jenkins using wrong JDK

2013-09-20 Thread Farrukh Najmi
I am using job type of a maven multi-module project. There is no such JDK List Box that I see. Here is a screenshot of my project config: http://wellfleetsoftware.com/files/tmp/screenshot.png BTW, what determines whether the java command during build uses fully qualified path or not? Thanks

Re: Jenkins using wrong JDK

2013-09-20 Thread Ulli Hafner
Hmm, I have such a list box, for maven and freestyle builds. Am 20.09.2013 um 16:32 schrieb Farrukh Najmi : > I am using job type of a maven multi-module project. There is no such JDK > List Box that I see. Here is a screenshot of my project config: > > http://wellfleetsoftware.com/files/tmp/s

Re: Jenkins using wrong JDK

2013-09-20 Thread Farrukh Najmi
I am coming to the conclusion that something is not working misunderstood by me (or not working correctly) as to how Jenkins sets up its environment variables and specially the PATH and JAVA_HOME env vars. I tried setting key env vars in global config. Here is what it looks like in ~jenkins/co

Re: Jenkins using wrong JDK

2013-09-20 Thread Farrukh Najmi
What version of jenkins are you running? I am running Jenkins 1.531. On 09/20/2013 11:30 AM, Ulli Hafner wrote: Hmm, I have such a list box, for maven and freestyle builds. Am 20.09.2013 um 16:32 schrieb Farrukh Najmi >: I am using job type of a maven multi-mod

Re: Jenkins using wrong JDK

2013-09-20 Thread Geoff Cummings
You will only see the JDK list box in the job config if you have more than one JDK installation configured in your main jenkins config page On 20 Sep 2013, at 17:16, Les Mikesell wrote: On Fri, Sep 20, 2013 at 8:39 AM, Farrukh Najmi wrote: > Hi Guys, > > Initially all was well and my Jenkins co

Re: Jenkins using wrong JDK [solved]

2013-09-20 Thread Farrukh Najmi
On 09/20/2013 12:16 PM, Les Mikesell wrote: On Fri, Sep 20, 2013 at 8:39 AM, Farrukh Najmi wrote: Hi Guys, Initially all was well and my Jenkins config.xml was configured for just JDK7. I then added a JDK6 installation to Jenkins config and did a new build manually. The build failed and on exa

Re: Jenkins Node Hanging on OS X Slave

2013-09-20 Thread schoeler
Sorry here is an updated link to the heap dump https://www.dropbox.com/s/fm7h3b4h1sht09m/heapdump%20%281%29.hprof On Friday, September 20, 2013 12:38:38 PM UTC-4, scho...@vt.edu wrote: > > Hi all, > > We have a Jenkins node on OS X hanging. I have included both the > ThreadDump and the jmap hea

Re: Jenkins using wrong JDK

2013-09-20 Thread Daniel Beck
Known issue: https://issues.jenkins-ci.org/browse/JENKINS-17373 On 20.09.2013, at 18:31, Geoff Cummings wrote: > You will only see the JDK list box in the job config if you have more > than one JDK installation configured in your main jenkins config page > > On 20 Sep 2013, at 17:16, Les Mikese

Jenkins Node Hanging on OS X Slave

2013-09-20 Thread schoeler
Hi all, We have a Jenkins node on OS X hanging. I have included both the ThreadDump and the jmap heap dump. The hangs seems to happen after a couple of jobs have run successfully, and then it simply stops working. The console output freezes during execution. This has happened both through

Re: Jenkins using wrong JDK

2013-09-20 Thread Les Mikesell
On Fri, Sep 20, 2013 at 8:39 AM, Farrukh Najmi wrote: > Hi Guys, > > Initially all was well and my Jenkins config.xml was configured for just > JDK7. > I then added a JDK6 installation to Jenkins config and did a new build > manually. > The build failed and on examination I realized my project req

Re: Jenkins using wrong JDK

2013-09-20 Thread Farrukh Najmi
I think the following issue is closer to this thread: https://issues.jenkins-ci.org/browse/JENKINS-755 Thanks for the terrific help! Jenkins community rocks! On Friday, September 20, 2013 12:48:18 PM UTC-4, Daniel Beck wrote: > > Known issue: https://issues.jenkins-ci.org/browse/JENKINS-17373

Re: Jenkins using wrong JDK

2013-09-20 Thread Ulli Hafner
I'm on 1.531 too. I have no environment variables set, just 3 JDK configurations in Jenkins. Maybe that is different… Are you running the build on a slave? Ulli Am 20.09.2013 um 18:00 schrieb Farrukh Najmi : > What version of jenkins are you running? I am running Jenkins 1.531. > > On 09/20/2

Re: multi job report

2013-09-20 Thread Curtis Kline
I haven't tried this plugin, but it might be useful for you: https://wiki.jenkins-ci.org/display/JENKINS/Simple+Parameterized+Builds+Report+plugin Curtis Kline Evernote Corp. Redwood City, CA On Fri, Sep 20, 2013 at 7:17 AM, Tânia Magalhães wrote: > Any ideas on how to have a report for multi

Re: Build Flow Plugin and artifacts management in the DSL

2013-09-20 Thread Les Mikesell
On Thu, Sep 19, 2013 at 3:21 PM, Daniel Beck wrote: > >> it's just about using the adequate jenkins API >> Jenkins.instance.getItemByFullName("job").scheduleBuild(...) > > Let's make this into a real example. Execution of two other jobs (in parallel > even) below, plus copying their artifacts, al

Jenkins incorrect remote

2013-09-20 Thread Keith Zantow
I have a very strange problem, I'm sure is configuration related but I can't figure out what to change to fix it. I have a Jenkins server (Linux) pushing builds to a Jenkins slave (Windows). The windows slave has been configured a number of ways, but currently is configured using "Let Jenkins c

How to Skip Sonar and Unit tests

2013-09-20 Thread Jean Paul Manjarres Correal
Hi, I have a Jenkins installation with Sonar, and I have it also configured to deploy to Artifactory. In some cases, I want to build a lot of projects Skipping Sonar and Unit tests, all that I want is to build and deploy to artifactory. Currently, I have to go on each job and add the maven prope