Hudson with poll SCM, continuous build questions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Hudson with poll SCM, continuous build questions

Joe Kramer
Hello,

- First question:
We have projects in Subversion that have svn:externals point to to her
projects. Changes in external projects not detected.
E.g.
Project A is some product, Project B is some framework/library.
Project A have snv:externals set to Project B source tree
We want Project A to build when Project B repository is updated.
Hudson is set to "poll SCM" periodically. It uses "svn info" which
does not detect changes in svn:externals.

Any idea how to make automatic build to detect those changes?


- Second
With continuous build process in active project with 3+ developers you
may have 20 or more builds per day.
Very soon Hudson have hundreds of builds on project page.
For development team, only builds from last day are somehow useful information.
Builds from past days are useless, and should be deleted.

Now going to every build and clicking delete is crazy. Is there a way
to configure not to keep builds or to auto-remove them?

Thanks.
Joe.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Hudson with poll SCM, continuous build questions

Vladimir Sizikov
Hi Joe,

On Fri, Dec 22, 2006 at 07:44:49PM +0200, Joe Kramer wrote:

> - Second
> With continuous build process in active project with 3+ developers you
> may have 20 or more builds per day.
> Very soon Hudson have hundreds of builds on project page.
> For development team, only builds from last day are somehow useful
> information.
> Builds from past days are useless, and should be deleted.
>
> Now going to every build and clicking delete is crazy. Is there a way
> to configure not to keep builds or to auto-remove them?

Sure, in job's configuration, you can specify how many builds to keep
and for how many days.

Thanks,
  --Vladimir

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Hudson with poll SCM, continuous build questions

Joe Kramer
On 12/22/06, Vladimir Sizikov <[hidden email]> wrote:
>
> Sure, in job's configuration, you can specify how many builds to keep
> and for how many days.
>

Really? I can't find that. There's only similar option for build
artefacts. I am on Hudson 1.65.

Joe.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Hudson with poll SCM, continuous build questions

Vladimir Sizikov
Hi Joe,

On the Job configuration page, there is a checkbox "Log Rotation",
which is, I guess, quite confusing...

When you select it, you'll see two more options:
- Days to keep records
- Max # of records to keep

So, we have pretty confusing language - "logs", "records", but at the
end, we're talking about good old builds.

Or, maybe I totally misundertood you and you looking for something
completely different!

Thanks,
  --Vladimir

On Fri, Dec 22, 2006 at 10:20:41PM +0200, Joe Kramer wrote:

> On 12/22/06, Vladimir Sizikov <[hidden email]> wrote:
> >
> >Sure, in job's configuration, you can specify how many builds to keep
> >and for how many days.
> >
>
> Really? I can't find that. There's only similar option for build
> artefacts. I am on Hudson 1.65.
>
> Joe.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Hudson with poll SCM, continuous build questions

Joe Kramer
Yes, that worked, thank you.
So, actually "logs" are past builds.

On 12/22/06, Vladimir Sizikov <[hidden email]> wrote:

> Hi Joe,
>
> On the Job configuration page, there is a checkbox "Log Rotation",
> which is, I guess, quite confusing...
>
> When you select it, you'll see two more options:
> - Days to keep records
> - Max # of records to keep
>
> So, we have pretty confusing language - "logs", "records", but at the
> end, we're talking about good old builds.
>
> Or, maybe I totally misundertood you and you looking for something
> completely different!
>
> Thanks,
>   --Vladimir
>
> On Fri, Dec 22, 2006 at 10:20:41PM +0200, Joe Kramer wrote:
> > On 12/22/06, Vladimir Sizikov <[hidden email]> wrote:
> > >
> > >Sure, in job's configuration, you can specify how many builds to keep
> > >and for how many days.
> > >
> >
> > Really? I can't find that. There's only similar option for build
> > artefacts. I am on Hudson 1.65.
> >
> > Joe.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Hudson with poll SCM, continuous build questions

Kohsuke Kawaguchi-2
In reply to this post by Vladimir Sizikov
Vladimir Sizikov wrote:

> Hi Joe,
>
> On the Job configuration page, there is a checkbox "Log Rotation",
> which is, I guess, quite confusing...
>
> When you select it, you'll see two more options:
> - Days to keep records
> - Max # of records to keep
>
> So, we have pretty confusing language - "logs", "records", but at the
> end, we're talking about good old builds.
OK, how about calling it "build logs"? Would that make it clear enough?

In a very recent version of Hudson I also added a mechanism where only
the last 50 or so builds are shown on the left-hand side by default. If
you click "(more...)" you'll get all records loaded.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment