svn selective checkout/update help required

2012-09-21 Thread Anshuman Mor
Hi Guys, I am looking for some help related to a particular situation in Jenkins - I have a repository where there are around 250+ SOA service resides and each directory has got trunk, release and branch as subdirectory, something looks like - ROOT_DIR/Service-1/trunk

Re: Abort job given a parameter value

2012-09-21 Thread Neil Bird
Around about 20/09/12 18:23, Rui Fernando Hayashi typed ... To be more specific. Before performing the project release, the developer must perform a task. I created a parameter that indicates whether the task's been performed. I want that the release only occurs if the developer explicitly says

Windows slave is failing to launch

2012-09-21 Thread David Aldrich
Hi This morning our Windows Jenkins slave has gone offline. It has been working happily for many months. I don't know what has changed that may have caused the problem. I have pasted the log message below. Any suggestions for a fix please? Best regards David Connecting to mywindowspc

RE: Windows slave is failing to launch

2012-09-21 Thread David Aldrich
Sorry, fixed by re-installing JRE locally. David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich Sent: 21 September 2012 08:33 To: jenkinsci-users@googlegroups.com Subject: Windows slave is failing to launch Hi This morning our

Re: Modifying a builds parameters in a system Groovy script

2012-09-21 Thread Reuben Gow
I found a solution to this. You have to get the 'Actions' of the build using the getActions() call, find the ParametersAction and remove it, then create a new set of parameters and then add them as an Action. On Monday, 6 August 2012 11:43:00 UTC+1, Reuben Gow wrote: Hi Chris, I've tried

How to execute a Groovy script file?

2012-09-21 Thread Reuben Gow
Hi, I've been using system groovy commands in my build steps pretty successfully for a while. Now that I have larger number of jobs doing the same commands it would be a good idea to have them all run the same groovy script file. However I can't figure out how to do that. Where does the

Re: how to handle C# project dependencies

2012-09-21 Thread Dirk Kuypers
2012/9/21 Kenneth kenneth.f.niel...@gmail.com Do I need to have both projects in the job? - I dont want to, it will be like 15 projects in each job. how do I handle it? I do not get your question completely. So, what do you want to achieve? You want to compile a unit test project and run its

Re: Multi-configuration project jobs inherit environment variables from the flyweight node

2012-09-21 Thread alef
I've soled using Build Environment instead of Preparing an environment for the job.

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 Miguel Almeida
Hi Marek, On Fri, Sep 21, 2012 at 3:36 PM, Marek Gimza marekgi...@gmail.com wrote: Miguel, Is the workspace directory under the /usr/share/tomcat6/.jenkins/jobs/job-name directories? It is. But the workspace directly below job-name is only 100 MB large, so it's hardly the problem. Running

Re: Abort job given a parameter value

2012-09-21 Thread Rui Fernando Hayashi
You're right, I knew that, but I didn't realize that if a script returns a non-zero exit code, it fails the build. It worked. Tks Rui On Friday, September 21, 2012 3:59:29 AM UTC-3, Neil Bird wrote: Around about 20/09/12 18:23, Rui Fernando Hayashi typed ... To be more specific. Before

RE: Taking a lot of disk space

2012-09-21 Thread Nord, James
Nah - no need to be that drastic - maven2 project type to the rescue! Just set a different retention for artifacts vs builds. Discard Old Builds Days to keep builds if not empty, build records are only kept up to this number of days Max # of builds to keep if not empty, only up

Re: Publish Over CIFS plugin + Matrix project

2012-09-21 Thread Slide
Honestly, I think your solution is better because you can tailor it to your needs. I used to develop the PO-CIFS plugin, but don't have the time to keep it up anymore. Anyone who is willing can take over and improve it. slide On Fri, Sep 21, 2012 at 8:13 AM, Masariello masarie...@gmail.com

Re: Taking a lot of disk space

2012-09-21 Thread Marek Gimza
Ah I C ! Are the log files under each stored builds large? If so, this could mean that the builds are updating the logfiles with too much data. Are there any dirs (containing logfiles) under the builds directory that should have been auto-deleted, based on the job configuration setting to only

Re: How to execute a Groovy script file?

2012-09-21 Thread Vojtech Juranek
Hi, the groovy script has to be available on all slaves where you execute your jobs under same path. You can use e.g. NFS drive mounted to the same location, another (probably better) way is to keep script in the SCM and checkout it into workspace and there are other ways how to achieve it.

Configuration slicer/groovy script for common Gradle tasks?

2012-09-21 Thread jserup
Anyone found a plugin - or have written a script - for Jenkins that makes it possible to specify a list of common gradle tasks (eg. clean --refresh dependencies test install) for a set of jenkins jobs? I have installed the Configuration Slicer plugin and it has this for maven projects but not for

jenkins-maven-android when running throwing the error android-sdk-linux/platforms is not a directory

2012-09-21 Thread sam
start setting up the jenkins-maven-android and i'm facing an issue when running the jenkin job. * My Machine Details $uname -a Linux development2 3.0.0-12-virtual #20-Ubuntu SMP Fri Oct 7 18:19:02 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux * Steps to install the Android SDK in Ubuntu

Re: jenkins-maven-android when running throwing the error android-sdk-linux/platforms is not a directory

2012-09-21 Thread sam
paste bin http://pastebin.com/Dwe7hjXm On Saturday, September 22, 2012 11:31:02 AM UTC+9:30, sam wrote: start setting up the jenkins-maven-android and i'm facing an issue when running the jenkin job. * My Machine Details $uname -a Linux development2 3.0.0-12-virtual #20-Ubuntu