Re: How to set the git branch as a parameter?

2014-10-23 Thread Ivan Kanis
Hi Ashish, Basically we need to have a job that builds several branches automatically AND be able to run manually with a given branch name as a parameter. Our difficulties is finding how to trigger a specific bit of the git plugin. It's In GitSCM.java in the method determineRevisionToBuild // pa

Re: How to set the git branch as a parameter?

2014-10-23 Thread Ivan Kanis
Hi Mark and Kanstantsin, Mark, the simple approach you give won't work when tracking multiple branches. Next we have tried the plugin you suggested. we was disappointed that it didn't fill the RevisionParameterAction rpa class. If the code exists it must be settable somehow. We then tried Kansta

How to debug Jenkins and a plugin

2014-10-21 Thread Ivan Kanis
Hello, I can debug Jenkins with the following: mvnDebug jenkins-dev:run And I can debug the git plugin with this: mvnDebug hpi:run But how can I do both? I use IntelliJ and don't know much about Java... Ivan -- You need to install an RTFM interface.. -- BOFH excuse #33 -- You receive

How to set the git branch as a parameter?

2014-10-21 Thread Ivan Kanis
Hello, We are trying to specify a git branch on a parameterized build. It seems there are options for CVS and Subversion but not for git. However when we are debugging the git plugin there seems to be support for it. In the function determineRevisionToBuild there is the following code: // param

Re: New feature to specify different workspace per git branches

2014-10-21 Thread Ivan Kanis
October, 20 at 9:22 Jesse Glick wrote: > On Mon, Oct 20, 2014 at 6:04 AM, Ivan Kanis wrote: >> Does the multi branch plugin work with the matrix plugin? > > There was another thread recently on this list on that topic. I did some searching. I can't find it. Do yo

Re: New feature to specify different workspace per git branches

2014-10-20 Thread Ivan Kanis
October, 06 at 18:22 Jesse Glick wrote: > On Mon, Oct 6, 2014 at 6:14 AM, Ivan Kanis wrote: >> Apparently it's not possible with the current Jenkins. > > Probably what you really want is a project based on > multibranch-plugin Hi Jesse, Does the multi branch plugin work

New feature to specify different workspace per git branches

2014-10-06 Thread Ivan Kanis
Fri, Oct 3, 2014 at 3:38 AM, Ivan Kanis > >> wrote: >> >> Hello, >> >> We are trying to have separate workspace directores per git >> branches we >> specify in a job. >> >> We specify the branch in the git plugin. We couldn

Re: typo in wiki

2014-09-01 Thread Ivan Kanis
August, 31 at 22:26 Harald Albers wrote: > Hi Ivan, > >> It should be: >> mvnDebug hudson-dev:run > > jenkins-dev:run is correct. But it only works if you added > org.jenkins-ci.tools as a plugin group to your maven settings.xml file > (as indicated in the Debugging Jenkins section). I have done

typo in wiki

2014-08-29 Thread Ivan Kanis
Hello, There is a typo in the wiki: https://wiki.jenkins-ci.org/display/JENKINS/Building+Jenkins On the debugging Jenkins section, it says: mvnDebug jenkins-dev:run It should be: mvnDebug hudson-dev:run or maybe: mvnDebug jetty:run Ivan -- As for conceit, what man will do any good who is