Re: [integrity] Never ending builds (probably related to long output?)
- From:
- Simon Rozet
- Date:
- 2010-09-01 @ 16:17
Hey, sorry for the delay. Did you solve your problem?
On Fri, Aug 27, 2010 at 11:50 AM, Alberto Perdomo
<alberto.perdomo@gmail.com> wrote:
> Hi,
>
> integrity was working fine for me until recently when I included more
> scenarios in the build. Now the builds stay in the :building state
> forever.
>
> I have read http://github.com/integrity/integrity/issues/issue/16
> which seemed to be related at first but I have been adding some
> logging at the beginning and end of the run method in the builder like
> this:
>
>
> def run
> Integrity.log "ALBERTO: Build #{commit} started running"
>
> cmd = "(cd #{repo.directory} && #{@build.project.command} 2>&1)"
> IO.popen(cmd, "r") { |io| @output = io.read }
> @status = $?.success?
>
> Integrity.log "ALBERTO: Build #{commit} finished running"
> end
>
> The last logging call never really makes it the log.
>
> Any hints why this may be happening?
>
> Cheers!
>
--
github.com/sr
Re: [integrity] Never ending builds (probably related to long output?)
- From:
- Alberto Perdomo
- Date:
- 2010-09-01 @ 16:36
Hi Simon,
On Wed, Sep 1, 2010 at 5:17 PM, Simon Rozet <simon@rozet.name> wrote:
> Hey, sorry for the delay. Did you solve your problem?
i'm stil having the issues... Build remain in :building state forever..
Any kind of help would be highly appreciated.
Cheers!