Re: hudson.util.IOException2: remote file operation failed

2013-02-18 Thread Marek Gimza
We had the same problem. After reading through some of the blogs and tickets, we deduced the problem to be in the compatibility of the Java JRE on the slave and master. Try checking the versions of the JAVA that runs the master and slave, as well as makign sure that the jenkins slave agent on the

Re: Jelly script, for email

2013-01-18 Thread Marek Gimza
Jelly scripting is quite powerful. I noticed that it is possible to even open/close file handles with JELLY. It is just a question of learning the concept and the appropriate tags to use in the .jelly script. I think that it is safe to say that you could perform a google or yahoo search on jelly

Re: Advice needed on setting up multiple jobs that build common code

2013-01-08 Thread Marek Gimza
Hi Irwin, We took two approaches to a similar requirement. 1. For common code that are built as libraries, we build separately. As this code does not change too often, we assume that the libraries are available for the other builds/jobs. 2. We used the Multi-Job plugin to 'group' and 'order'

Re: Node priority

2012-12-31 Thread Marek Gimza
This is a good question. I also has been trying to design/implement something with a requirement to prioritize the Nodes/slaves based on local-disk, shared-disk, memory, the number of cores, etc The intent is to be able for Jenkins to choose the best slave based on these criteria. I have

Re: Double slave for job

2012-12-21 Thread Marek Gimza
It may not fit your exact needs, but I configured Jenkins such that all child-jobs spawned/started by a given parent-Job can: 1. Run on any slave 2. Use the same Custom Workspace as set in the parent-Job (has to be on a shared-drive that is accessible to the slaves) 3. Each child-job sends a

Re: convert a shell file

2012-12-21 Thread Marek Gimza
Do you have a linux/unix machine? If so, then either run an instance of Jenkins on that machine to run the shell scripts, OR setup the Linux/unix machine as a slave to run the job. Alternatively, you could call dos2unix as a build-step to do the conversion before running your task(s). I hpe

Re: Need help with parameter passing (want to pass both downstream and upstream)

2012-12-19 Thread Marek Gimza
Haev a look at the Multi-Job plugin. This is essentially what we do as well, and use the Multi-Job plugin Job as the Master . ... Mgimza On Wed, Dec 19, 2012 at 2:28 PM, Ken Beal kenbealimpriv...@gmail.comwrote: Hi,** ** ** I have three jobs. A invokes B, waits for it to complete,

Re: Publish artifacts on web page for download plugin - quick question

2012-12-18 Thread Marek Gimza
If you are only interested in the artifacts and not the build metrics/stats, then my personal opinion would be to have a separate web site that publishes the artifacts. I am intending to use Drupal (drupal.org), but simple html pages with some javascript coding would work. Also, I think that the

Re: Limit simultaneous execution of job by distinct parameters?

2012-12-18 Thread Marek Gimza
One option, I think, would be to use the Node Labels. In the Node Configuration page, you can set the Label field with a space-separated list of text-names (labels) that can be referenced in a Job's configuration page. Now, what I have done for some projects, is to have a String Parameter in the

Re: Report C++ compiling errors in Jenkins

2012-11-16 Thread Marek Gimza
We use the LogParser plugin. http://wiki.hudson-ci.org/display/HUDSON/Log+Parser+Plugin It allows you to specify reg-expressions in a text file that are used when parsing the results of the build steps. Unfortunately this happens at the end of the build and not at the build-step. I hope that

Re: a lot of jobs

2012-11-15 Thread Marek Gimza
Marcin, Do you know about the MultiJob plugin? https://wiki.jenkins-ci.org/display/JENKINS/Multijob+Plugin Regards, Mgimza On Wed, Nov 14, 2012 at 7:39 PM, Marcin Biegan marcin.bie...@gmail.comwrote: Hi, I wanted to ask how do you handle configuring multiple jobs. We have about 10 maven

Re: Jenkins email ext plugin -To Send the file contents as mail

2012-11-14 Thread Marek Gimza
I think that the iframe would work in a jelly script/ There should be enough documentation in the Email Ext plugin's TWIKI page about jelly scripts. My quick summary of what could be done: 1. Create the subdir $JENKINS_HOME/email-templates

Re: dynamic popup memus

2012-11-09 Thread Marek Gimza
James, R U trying to copy and paste contents from the menu list? May I ask what your objective is in performing a copy paste. I think that by explaining your objective and user-case scenario would better help the Jenkins owners understand your frustration. Kind Regards, Mgimza On Fri, Nov

Re: Execute shell failure

2012-11-06 Thread Marek Gimza
Rakesh, Does this directory acutally exist? /Users/rpatel/Documents/MobSources/XX_iOS Can use cd to this dir manually? Kind Regards, Mgimza On Tue, Nov 6, 2012 at 2:13 PM, rakesh rpa...@mobiquityinc.com wrote: I am fairly new user of Jenkins, just installed it on my local mac machine. I

Re: Concurrent builds on dumb slave configuration

2012-10-23 Thread Marek Gimza
Meiring, May I ask what is your objective ? Unfortunately I do not see the thread of your previous emails to be able to appropriately respond and help. Thanks, Mgimza On Tue, Oct 23, 2012 at 4:47 AM, Hendrik Meiring hmeir...@gmail.com wrote: Any input on this? Am I misinterpreting how the

Re: Can I restart a job automatically if it fails ?

2012-10-16 Thread Marek Gimza
Steve, Yes this is possible. The plugin you want is : Centralized Job(Re)Actionhttp://wiki.jenkins-ci.org/display/JENKINS/Centralized+Job%28Re%29Action+Plugin Centralized configuration to restart jobs when a pattern occurs in the job console output. It may not be ideal, but definitely helps!

Re: Accessing file on slave node from email-ext script (groovy)

2012-10-16 Thread Marek Gimza
Bryan, FYI ... have you tried to achieve the same result using JELLY scripting? .. Mgimza On Mon, Oct 15, 2012 at 8:48 PM, Slide slide.o@gmail.com wrote: You probably want to look at the FilePath [1] documentation and use that in the script. As for modifying the subject, you will need

Re: 答复: How can jenkins master share slave nodes.

2012-10-16 Thread Marek Gimza
Mikesell, Sorry for responding a bit late, but it is better than not at all! We have a setup where: 1. The Nodes/Slaves are chosen from the master by Node-Label. 2. We use the MultiJob plugin to start all jobs from the master. 3. The WORKSPACE is determined by the parent JOB/BUILD on the master,

Re: Automatic reconnect after manual disconnect.

2012-10-15 Thread Marek Gimza
Pawel, As an interim solution, you could have a build step that runs either a groovy script or the Jenkins-cli to disconnect-node and connect-node . This is not an ideal solution! Strange that Jenkins does not know which nodes are disconnected and tries to re-connect. Kind Regards, Mgimza On

Re: Jenkins Database Envy - is it just me?

2012-10-12 Thread Marek Gimza
My thoughts on the discussion I have also tried to work with Jenkins which have the same requirement: I want to be able to read from and write to the database of builds and build results without HTTPing through the server. I’d also like to not have everything in core all the time Though, do

Re: What is the difference between multi configuration job and matrix based job?.

2012-10-11 Thread Marek Gimza
I hope that the following makes sense: Multi configuration Job: Allows you to create separate jobs to run sequentially or concurrently as build steps. Each Job will be its own Job. Matrix: You have the same 1 job that needs to be run on different machines. I think that the best thing to do is

Re: Jenkins + Email-ext - How to configure per-project settings?

2012-10-05 Thread Marek Gimza
I have noticed the same problem with other plugins on former versions of Jenkins/Hudson. With some plugins, the configuration web page may work in Firefox, but not in IExplorer ... and visa verca. I have had to un-install and install different versions of Hudson/Jenkins to get things to properly

Re: Perforce Plugin and PATH

2012-10-01 Thread Marek Gimza
Thanks for the reply Rob. After some thinking over the weekend, over an earlier reply, the options to get around this problem would be to escape the '@' or using the relative path to the files using the P4_CLIENT view. I will try to modify my setup to reference the files in the P4 command using

Re: 'Even Load Strategy' Plugin

2012-09-25 Thread Marek Gimza
David, We are also looking into this. One option that I am considering is to create a plugin that will utilize the Hudson.model.queue.MappingWorksheet and Hudson.model.Queue classes to determine the best slave. At present, it seems that the system will choose the last slave that was used for

Re: 'Even Load Strategy' Plugin

2012-09-25 Thread Marek Gimza
Nicolas, Will the CloudBees plugins installed on my local jenkins allow me to utilize my own machines and resources? Thanks, Mgimza On Tue, Sep 25, 2012 at 11:33 AM, nicolas de loof nicolas.del...@gmail.comwrote: 2012/9/25 David Aldrich david.aldr...@emea.nec.com Hi ** ** That

Re: forcing a job to run on a variety of slaves

2012-09-24 Thread Marek Gimza
Another option is to use the build-matrix. If you are performing the same job, but from different machines, then the Matrix may be a good choice: https://wiki.jenkins-ci.org/display/JENKINS/Building+a+matrix+project I hope that this helps. Mgimza On Mon, Sep 24, 2012 at 10:48 AM, Mark Waite

Re: Taking a lot of disk space

2012-09-21 Thread Marek Gimza
Miguel, Is the workspace directory under the /usr/share/tomcat6/.jenkins/jobs/job-name directories? This could be the reason for the disk usage. The workspace is the directory to which jenkins will sync and perform your build-steps. You could take advantage of the customWorkspace field in the

Re: Taking a lot of disk space

2012-09-21 Thread Marek Gimza
keep a certain number of builds? I hope that my questions may lead to resolving your problem. Kind Regards, Marek On Fri, Sep 21, 2012 at 10:49 AM, Miguel Almeida migueldealme...@gmail.comwrote: Hi Marek, On Fri, Sep 21, 2012 at 3:36 PM, Marek Gimza marekgi...@gmail.com wrote: Miguel