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 Checking if J

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 Window

how to handle C# project dependencies

2012-09-21 Thread Kenneth
I get this error message when jenkins build c# projects that depend on c# dll, that I've made in another job. In visual studio I've made the project refer the other project, to make it behave in release and debug builds. but it causes jenkins to fail... ... Target ResolveProjectReferences: C:\

Build flow parallel execution issue

2012-09-21 Thread Reuben Gow
Hi, I am utilising the build flow plugin an have noticed an issue (that is also mentioned in the comments on the wiki but has no response). My DSL looks like this: parallel ( > {build( "software_32bit" )}, > {build( "software_64bit" )} > ) > parallel ( > {build( "other_software_that_depends_on

Re: Build flow parallel execution issue

2012-09-21 Thread nicolas de loof
This is not expected. First unstable/failed build in a sequence is supposed to stop the execution. what version of the plugin are you using ? I committed an attempt to sanitize thread-safety in 0.5 what OS is master running on ? 2012/9/21 Reuben Gow > Hi, > > I am utilising the build flow plugin

Re: Build flow parallel execution issue

2012-09-21 Thread Reuben Gow
Master OS: CentOS 6.3 x86_64 Jenkins version: 1.481 Plugin version: 0.5 On Friday, 21 September 2012 09:58:06 UTC+1, Nicolas De loof wrote: > > This is not expected. First unstable/failed build in a sequence is > supposed to stop the execution. > what version of the plugin are you using ? I commi

Re: how to handle C# project dependencies

2012-09-21 Thread Dirk Kuypers
Hi, if I see this right you added a project reference (which is good normally). So you are referencing '..\LimeUtilities\LimeUtilities.csproj'. You shoud add '..\LimeUtilities\LimeUtilities.csproj' to the artifacts to archive, too. I don't know what you want to do, but maybe you could use a di

Re: how to handle C# project dependencies

2012-09-21 Thread Kenneth
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? Target CoreClean: Deleting file "C:\Jenkins\jobs\LimeUtilitiesUnitTests\workspace\obj\Any CPU\LimeUtilitiesUnitTests.csproj && exit %0%\Debug\ResolveAssemblyReference.

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 trie

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 groovy

Re: how to handle C# project dependencies

2012-09-21 Thread Dirk Kuypers
2012/9/21 Kenneth > 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 tests afterwards? Easie

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".

Stale svn tags in config.xml after changing scm to git

2012-09-21 Thread Gayathri Muralidharan
Hi, After migrating from svn to git, i noticed that subversion related tags, source code location are not getting removed from the config.xml. (Git related tags are present properly) If i manually remove the unwanted config, it re-appears once i use the UI (re-save) Did anybody else face thi

Re: Do these features already exist?

2012-09-21 Thread Xavier Nodet
Hi Jacob! >From the 'Roadmap' section in https://wiki.jenkins-ci.org/display/JENKINS/View+Job+Filters, it seems that these features you mention are not yet implemented. On the other hand, you must know what you're talking about, as the maintainer of this plugin... So then it must be me: I didn't

Taking a lot of disk space

2012-09-21 Thread Miguel Almeida
Dear all, I have been using Jenkins for some months now and I am interested in the issue of disk usage. While trying to understand why the 50GB on the server were becoming short, I decided to investigate the size of each job directory under /usr/share/tomcat6/.jenkins/jobs/. To my surprise, this

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/ 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 job conf

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 wrote: > Miguel, > Is the workspace directory under the > /usr/share/tomcat6/.jenkins/jobs/ directories? > It is. But the workspace directly below is only 100 MB large, so it's hardly the problem. Running some "du" commands, I see most spa

Re: Taking a lot of disk space

2012-09-21 Thread Stephen Connolly
Aha! Maven 2 project type strikes again! It auto-archives every build artifact... I think you can disable this setting... but you risk reduced functionality in some use cases On 21 September 2012 15:49, Miguel Almeida wrote: > Hi Marek, > > On Fri, Sep 21, 2012 at 3:36 PM, Marek Gimza wrote: >

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. Befor

Publish Over CIFS plugin + Matrix project

2012-09-21 Thread Masariello
Hi there a quick question: during a promotion, is it possible to copy the artefacts of a specific build within a matrix project with the Publish Over CIFS plugin? Things like $BUILD_URL/ABI=net,CONFIG=release/path/to/deploy/**/* do not seem to work. At the moment I'm having to use the followi

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 t

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 wrote: > Hi there > > a qu

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 ke

Re: Taking a lot of disk space

2012-09-21 Thread Miguel Almeida
Wonderful news James! Would that recursively delete artifacts from old builds if you set it on a job with existing (a few hundred) builds? On Fri, Sep 21, 2012 at 4:28 PM, Nord, James wrote: > Nah – no need to be that drastic – maven2 project type to the rescue! > > > > Just set a different ret

RE: Taking a lot of disk space

2012-09-21 Thread Nord, James
>From memory it does when the next build of that job runs. /James From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Miguel Almeida Sent: 21 September 2012 17:05 To: jenkinsci-users@googlegroups.com Subject: Re: Taking a lot of disk space Wonderful new

RE: Taking a lot of disk space

2012-09-21 Thread Chris_Williams1
Or you can force it to run for all jobs by running this in the script console: jenkins.model.Jenkins.instance.items.each { it.logRotate() } Chris Williams From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Nord, James Sent: Friday, September 21, 2012

Re: PMD plugin breaks with Jenkins 1.456 and up

2012-09-21 Thread jan-ruzicka
Hi Was there resolution to the PMD pluging failing with exception on logging? I'm running into same Exception issue with a Maven job. Jenkins LTS 1.466.2 . Static Analysis Utilities 1.47 PMD plugin 3.32 Jan On Friday, July 27, 2012 8:34:14 AM UTC-4, Kjetil Ødegaard wrote: > >

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. Ano

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 #2