Re: multiple git repos in one job

2012-07-06 Thread Sami Tikka
Chris Withers kirjoitti 6.7.2012 kello 20.25: > Well, I can't, I don't have the knowledge or experience, but would the > maintainers of the git plugin do this if I raised a bug for it? It doesn't hurt to try. > I wish I could understand what the current multi-repository support in the > plugi

Re: [External] Re: Jenkins ssh and pull (copy) files

2012-07-06 Thread Fred G
Oh, ok. I guess you have a good reason why you are not running a Jenkins slave on this remote machine? It saves a lot of file copying trouble. ;) On Friday, July 6, 2012 5:29:41 PM UTC+2, Ligade, Shailesh [USA] wrote: > > Thanks Fred, > > I guess this would have worked..but I am not deploying t

Re: Copy artifacts failure on Windows

2012-07-06 Thread Chris Withers
On 03/07/2012 09:52, B.Latinville wrote: Have a look at this issue : https://issues.jenkins-ci.org/browse/JENKINS-13515 Downgrading copy artifacts plugin to 1.21 should solve you problem. Yep, that fixed it for me. Chris -- Simplistix - Content Management, Batch Processing & Python Consulti

Re: multiple git repos in one job

2012-07-06 Thread Chris Withers
On 02/07/2012 22:37, Sami Tikka wrote: Your choices are (in no particular order): A) Use git submodules B) Use git subtrees >> More importantly, would changes pushed to any of the submodules cause that repo to issue a request-to-build to the Jenkins server? >> (which is ultimately what I'm aft

Re: Git and build workflow

2012-07-06 Thread Sami Tikka
aditya kirjoitti 6.7.2012 kello 6.22: > Hello, > I am new to Jenkins, so please excuse me for asking very simple question. > > I have a git repository with 2 branches on github (master and develop) > > So what I want to accomplish is this automated work-flow > • When I commit to devel

Re: very similar jobs as separate jobs

2012-07-06 Thread Benjamin Lau
I've dealt with this by having multiple upstream jobs and using the shell to figure out which job triggered the real job and using that to apply the minor tweaks. I do this for a couple of different situations but the most interesting deals with automatic merging of git branches. I needed to have d

Re: The authorization of the Artifactory in Jenkins does not work.

2012-07-06 Thread Noam Y. Tenne
Hi, What version of Maven do you use? Try running within the same environment "*mvn help:effective-settings*" and make sure that the configuration you expect actually applies. -Noam On Thursday, July 5, 2012 9:27:25 PM UTC+3, José Ricardo wrote: > > Hello, > > I´m using Artifactory 2.4.0 and J

Re: How can I configure a different sender email address for each build?

2012-07-06 Thread Aaron Kushner
Here's the answer. Put the following in the pre-send script box. import javax.mail.Message.RecipientType import javax.mail.Address import javax.mail.internet.InternetAddress import javax.mail.internet.MimeMessage msg.setFrom(new InternetAddress("john@server.com"))

Re: very similar jobs as separate jobs

2012-07-06 Thread Sami Tikka
Bram de Jong kirjoitti 6.7.2012 kello 11.00: > On Tue, Jun 19, 2012 at 8:50 PM, Sami Tikka wrote: >> So, you have a number of jobs that are mostly identical but there's a >> little bit that should work differently for them. >> >> To me this sounds like a perfect case of multi-configuration job.

Re: Building the same branch in different repositories/jobs

2012-07-06 Thread Sami Tikka
A pretty pickle you've gotten yourself into. These are the options that come to mind (in no particular order): a) Instead of having the 3 jobs with git branch as parameter, make several sets of 3 jobs. Each set has a fixed branch they build from. If creating the jobs is too much manual work, yo

Re: Problem running slaves

2012-07-06 Thread Sami Tikka
You can specify path to java command in the slave configuration. -- Sami David Mata kirjoitti 6.7.2012 kello 16.09: > The only way to get it that I found was run the slave by using my own script. > Start the slave via SSH option was impossible. > > Thank you > > El jueves, 5 de julio de 2012

Build dependency in jenkins

2012-07-06 Thread sugudheenu
Hi All, We have a bunch of projects that are dependant on each other and they have to be build in a particular order. Each project has "Poll SCM" setup to check if there are any changes. We have upstreams and downstreams setup but what I really want is before I build my child project I want to

multi job plugin

2012-07-06 Thread marathiboy
Hello, I want to use multi job plugin to build all (9) jobs. I would like to build all jobs in parallel in one phase. Next phase will deploy them. I only have 4 executors. So when I kick off my multi job, I starts 3 jobs (plus on for multi job itself). and I can see 5 jobs in queue. So everything

RE: [External] Re: Jenkins ssh and pull (copy) files

2012-07-06 Thread Ligade, Shailesh [USA]
Thanks Fred, I guess this would have worked..but I am not deploying to slave..it is totally different VM, where I run bash script via SSH copy plugin.. All I need is copy few log files back to master Jenkins, if my script determines that deployment was failure, and attach the files to email. T

Re: Triggering build twice for each commit

2012-07-06 Thread Johno Crawford
On 6/07/2012 4:56 PM, Varghese Renny wrote: So how can set it synchronized with my window , linux and svn repo.. any plugin i need to install? Or we can configure it in jenkin itself? Thanks in Advance varghese Is your SVN repo and Jenkins on the same server? Are they configured using the

Re: jenkins stability? (jenkins release too frequently)

2012-07-06 Thread Mark Waite
Your last questions were "jieryn makes mention of Jenkins LTS, how do I get this? How do I stop Jenkins "offering" me new versions of Jenkins which aren't stable or aren't LTS?" Refer to https://wiki.jenkins-ci.org/display/JENKINS/LTS+Release+Line for instructions on how to switch to the long t

RE: Triggering build twice for each commit

2012-07-06 Thread Mandeville, Rob
NTP is far outside the scope of Jenkins. If this is indeed the problem (and I believe it is), then the timestamps on your machines are out of sync. You need to find (or be) a sysadmin, with admin privileges on Windows and root access on Linux. Neither Jenkins nor any plugin can do what you ne

Re: Triggering build twice for each commit

2012-07-06 Thread Varghese Renny
So how can set it synchronized with my window , linux and svn repo.. any plugin i need to install? Or we can configure it in jenkin itself? Thanks in Advance varghese

Re: Triggering build twice for each commit

2012-07-06 Thread Les Mikesell
On Fri, Jul 6, 2012 at 9:45 AM, Varghese Renny wrote: > i don't know about ntp.. NTP is 'Network Time Protocol' and is the standard way to keep all of your computer clocks stay synchronized. Setting it up correctly will depend somewhat on the operating systems involved. -- Les Mikesell

For deploy plugin, content of fields

2012-07-06 Thread Varghese Renny
Hi, For using deploy plugin, i want to know what is context path and tomcat url? Can anyone give an example for it? Thanks in Advance, varghese

Re: Triggering build twice for each commit

2012-07-06 Thread Varghese Renny
i don't know about ntp.. My master is Linux 64 bit. slave is windows.32 bit SVN i am using.. In slave i am putting the workspace for jobs. Thanks in advance varghese

Re: Triggering build twice for each commit

2012-07-06 Thread Les Mikesell
On Fri, Jul 6, 2012 at 9:38 AM, Varghese Renny wrote: > it's synchronised..it has shown as warning message SVN repo is out of sync > with my system. > how to solve? Are they both running ntp? -- Les Mikesell lesmikes...@gmail.com

Re: idle jenkings but constantly very high cpu usage

2012-07-06 Thread Les Mikesell
On Fri, Jul 6, 2012 at 8:07 AM, Corin Langosch wrote: > >>> It's working great so far, but even when idle jenkins constantly consumes >>> 100 - 200% cpu (8 cores). No jobs are running, no polling i happening >>> (nothing configured), no "special" plugins are used... >> >> That sounds like the linu

Re: Triggering build twice for each commit

2012-07-06 Thread Varghese Renny
it's synchronised..it has shown as warning message SVN repo is out of sync with my system. how to solve? Thanks in Advance varghese

Re: Triggering build twice for each commit

2012-07-06 Thread Henk van Voorthuijsen
Have you checked if the clocks on master and slave are in sync? On Jul 6, 2012, at 9:30 AM, Varghese Renny wrote: > > I have commited to repo and it is triggering build twice. My build is going > on slave machine.. > First build will say like no changes > Second build is detecting the changes.

Re: Jenkins ssh and pull (copy) files

2012-07-06 Thread Fred G
Hi, The Copy To Slave Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Copy+To+Slave+Plugin) can copy back files to the master. Currently this is only available as a post-build action, so I'm not sure if the files will be available to send them as attachments. Nevertheless it might still be c

Re: Problem running slaves

2012-07-06 Thread David Mata
The only way to get it that I found was run the slave by using my own script. Start the slave via SSH option was impossible. Thank you El jueves, 5 de julio de 2012 21:37:55 UTC+2, David Mata escribió: > > Hello. > > Does anybody know why jenkisn slave cab give this to me? > > Thank you all > >

Re: idle jenkings but constantly very high cpu usage

2012-07-06 Thread Corin Langosch
On 06.07.2012 at 14:56 +0200, Les Mikesell wrote: On Fri, Jul 6, 2012 at 4:58 AM, gucki wrote: It's working great so far, but even when idle jenkins constantly consumes 100 - 200% cpu (8 cores). No jobs are running, no polling i happening (nothing configured), no "special" plugins are u

Re: idle jenkings but constantly very high cpu usage

2012-07-06 Thread Les Mikesell
On Fri, Jul 6, 2012 at 4:58 AM, gucki wrote: > Hi there, > > I'm using a fresh debain squeeze system and just installed latest jenkings > (1.473) using the official debian package. > > It's working great so far, but even when idle jenkins constantly consumes > 100 - 200% cpu (8 cores). No jobs are

RE: [External] Re: Jenkins ssh and pull (copy) files

2012-07-06 Thread Ligade, Shailesh [USA]
Thanks, No this is doable I guess..what I am trying to do is: Using ssh plugin, copy wars to target environment, then I run a script on target environment to deploy those wars. If within the script, I figure out there was error in deployment, I want to get deployment logs back to Jenkins so th

Re: websvn url

2012-07-06 Thread Ullrich Hafner
On 07/06/2012 11:11 AM, tcendrowski wrote: > Ok, so websvn folder should be in workspace? repname is buildname? > Path leads to workspace? > No, on your web server. The provided URL should return a result in your browser... You need to replace the word myrepname with your repository name. But jus

Re: Jenkins, Gerrit-trigger and git submodules

2012-07-06 Thread Karsten Dambekalns
Hi Rens. On 02.07.2012, at 20:31, Rens Admiraal wrote: > I'm searching for a while now for a solution to use continues integration in > a good way. I'm using a (base) repository which contains the base structure > for my application, and furthermore a lot of git submodules pointing to > reposi

idle jenkings but constantly very high cpu usage

2012-07-06 Thread gucki
Hi there, I'm using a fresh debain squeeze system and just installed latest jenkings (1.473) using the official debian package. It's working great so far, but even when idle jenkins constantly consumes 100 - 200% cpu (8 cores). No jobs are running, no polling i happening (nothing configured),

Re: websvn url

2012-07-06 Thread tcendrowski
Ok, so websvn folder should be in workspace? repname is buildname? Path leads to workspace? On Tuesday, July 3, 2012 3:05:16 PM UTC+2, Ulli Hafner wrote: > > Just one additional note: I'm using the websvn2 plugin. > > Ulli > > On 07/03/2012 03:02 PM, Ullrich Hafner wrote: > > I'm using somethi

Building the same branch in different repositories/jobs

2012-07-06 Thread Thomas Ferris Nicolaisen
Hi, We have a product which is split into a number of different Git repositories. They are built and released separately, but have dependencies on each other that we track by using the same branch-names and tags in each repository. To illustrate, here are three repositories with three branches

Re: Triggering build twice for each commit

2012-07-06 Thread Varghese Renny
Both are started by SCM changes Later in log One is showing no changes Second is showing changes found Thanks

Re: very similar jobs as separate jobs

2012-07-06 Thread Bram de Jong
On Tue, Jun 19, 2012 at 8:50 PM, Sami Tikka wrote: > So, you have a number of jobs that are mostly identical but there's a > little bit that should work differently for them. > > To me this sounds like a perfect case of multi-configuration job. > https://wiki.jenkins-ci.org/display/JENKINS/Buildin

Triggering build twice for each commit

2012-07-06 Thread Varghese Renny
I have commited to repo and it is triggering build twice. My build is going on slave machine.. First build will say like no changes Second build is detecting the changes. How to solve this problem? Thanks in Advance