[git plugin] Jobs triggered only by changes in certain subdirectories?

2012-03-22 Thread Dave Ohlsson
Hi, Suppose we have a git repository that contains these subdirectories: * common * module_a * module_b Both module_a and module_b use code in common. We have two jobs: * job_a builds and tests module_a, * job_b builds and tests module_b. With the git plugin, you can configure both jobs to be t

Re: ${BUILD_LOG_REGEX} stopped working in latest jenkins 1.425

2012-03-22 Thread Vadim Ippolitov
You should now use syntax with var=value, as follows: ${BUILD_LOG_REGEX, regex="^>", linesBefore=5, linesAfter=2} On Monday, August 15, 2011 10:27:38 PM UTC+7, Eyal Edri wrote: > > Hi, > > I noticed that when using ${BUILD_LOG_REGEX, "^>", 5, 2} in email extended > plugin, > It stopped printing

Re: Jenkins: How to run a job independent of the job workflow

2012-03-22 Thread Fred G
Hi, The Conditional Build Step Plugin might be what you're looking for: https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin . It let's you execute or skip a build step depending on a condition, which could be a boolean parameter in your usecase. HTH, Fred On Thursday, M

Change svn check-out strategy for automatic/manuel build

2012-03-22 Thread chitech
When an user schedule a build we would like to use svn check-out strategy: ‘Emulate clean checkout by first deleting unversioned/ignored files, then 'svn update'’ But for nightly build we would like to use this strategy: Clean workspace and then checkout We want this because the build time will b

Re: Jobs triggered only by changes in certain subdirectories?

2012-03-22 Thread B.Latinville
Hi Dave, You should be able to do this with the "Included Regions" field from git plugin. You get it by clicking on advanced below "branches to build". BR, Bertrand. On Mar 22, 10:46 am, Dave Ohlsson wrote: > Hi, > > Suppose we have a git repository that contains these subdirectories: > * com

Re: Change svn check-out strategy for automatic/manuel build

2012-03-22 Thread Didier Durand
Hi, I guess that you have to create 2 jobs: - daily: with trigger on each change and simple svn update - nightly: with time scheduling and and fresh svn checkout That means that you'll have a separate workspace for each of those jobs regards didier Le jeudi 22 mars 2012 13:34:16 UTC+1,

Re: Change svn check-out strategy for automatic/manuel build

2012-03-22 Thread Jan Seidel
Hi Chitech, I must fully agree Didier. It would be possibile to achieve your idea with dirty hacks but the effort is in no releation the benefit. Copy and modifiy the job is done within a few seconds. take care Jan On 22 Mrz., 14:44, Didier Durand wrote: > Hi, > > I guess that you have to creat

Job compilation error with jenkins

2012-03-22 Thread nl44
Hello all, I use svn as source code management and mingw for compiler. In my job configuration, I select multiple location with the option "use svn update as much as possible with 'svn revert' before update". Sometimes, my job failed with the error "internal compiler error: Segmentation fault".

Re: copy artifacts - pick from two upstream jobs

2012-03-22 Thread Nicky Ramone
Where is that "Upstream build that triggered this job"-functionality of the Copy-Artifacts-Plugin ? On Tue, Feb 21, 2012 at 12:23 PM, Fred G wrote: > Hi Chris, > > You can use the "Upstream build that triggered this job"-functionality of > the Copy-Artifacts-Plugin. > Unfortunately you still ne

Re: copy artifacts - pick from two upstream jobs

2012-03-22 Thread Nicky Ramone
Nevermind, I found it. On Thu, Mar 22, 2012 at 11:17 AM, Nicky Ramone wrote: > Where is that "Upstream build that triggered this job"-functionality of > the Copy-Artifacts-Plugin ? > > > On Tue, Feb 21, 2012 at 12:23 PM, Fred G wrote: > >> Hi Chris, >> >> You can use the "Upstream build that t

Re: jUnit xml test reports not being completely parsed

2012-03-22 Thread Kevin Bond
I just tried this exact job on the LTS and it worked as expected... On Wednesday, 21 March 2012 13:48:22 UTC-4, Kevin Bond wrote: > > I recently updated jenkins to 1.456 and noticed that my test count > dropped significantly. > > Looking into it further I see that each of my junit xml report fil

Distributed build with git

2012-03-22 Thread Albert Callarisa
Hi all, I am creating a distributed build using multiconfiguration project. Basically I have an axis with a environment variable like 1, 2, 3... up to 40, so it creates 40 builds. In a script of the build, I split the files to test in 40 parts and each build setup runs one of those parts. Also

Build Pipeline Plugin: Not possible to rebuild?

2012-03-22 Thread Nicky Ramone
Hi It looks like that plugin does not allow you to rebuild a specific stage of the pipeline after it has succeeded. The downside of this is that if, for example, you had a stage for deploying, you wouldn't be able to redeploy if needed. Has anyone else found this to be an inconvenient? Cheers.

multi configuration job with cmake and windows sdk

2012-03-22 Thread Simon Haegler
hi jenkins user i have a multi configuration job using the cmake plugin running on linux/osx/windows slaves. what is the best way to get cmake to run inside a windows sdk shell (i.e. by calling setenv.cmd) on the windows slaves? currently, cmake cannot find the compiler/linker because the cmak

Re: Distributed build with git

2012-03-22 Thread Sami Tikka
Build it once and use the build artifacts in the 40 tests. Maybe the tests also need to be build artifacts. If the nodes you have have multiple executors, you can save by having a clone of the git repo somewhere on the node disk. Git plugin can utilize git --reference option which saves space

Re: No more scripts in View/Dashboard description

2012-03-22 Thread Christopher Orr
Kohsuke also recently wrote the "Anything Goes" plugin for markup: https://wiki.jenkins-ci.org/pages/viewpage.action?pageId=60915753 Regards, Chris On 03/21/2012 08:40 PM, John Vacz wrote: You can try Page Markup Plugin: https://software.sandia.gov/trac/fast/wiki/PageMarkup With this plugin y

Re: EnvInject: injecting environment variables from URL

2012-03-22 Thread John Vacz
I have form submission problem on the shared objects configure page when I access Jenkins through a local proxy (ssl tunneling). I got a "server not found" page when I click the "save" button, Jenkins was trying to submit/redirect to https://real-server-name/jenkins//manage, instead of (my gue

Re: Jobs triggered only by changes in certain subdirectories?

2012-03-22 Thread Dave Ohlsson
Hi, I could not find any "Included Regions" field, but there is an "Excluded Regions" field, and that should be just as good. Thank you for your help. -- dave On Mar 22, 3:25 pm, "B.Latinville" wrote: > Hi Dave, > > You should be able to do this with the "Included Regions" field from > git plu