www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: running lsof from a hudson build
Date Mon, 01 Nov 2010 16:12:17 GMT
Hi,

On Mon, Nov 1, 2010 at 5:58 PM, Sim IJskes - QCG <sim@qcg.nl> wrote:
> Do you allow a build script to call external utilities? It would be nice if
> we could see the bind sockets after a failed bind, with lsof for instance.
> Do you allow it, and if you do, do you have an example?

Yes, a build can execute any command it wants (we trust the job
administrators to do the right thing). See [1] for an incomplete list
of tools that are available in addition to the standard OS
environment.

The easiest way to invoke such external tools is probably to simply
include the calls in your build script. For example an Ant build can
use the <exec/> task for this.

Note that, where possible, it would be good if a CI build used random
port numbers instead of fixed ones to avoid collisions with potential
other builds on the same server.

[1] http://wiki.apache.org/general/Hudson#What_should_I_do_with_the_build_and_test_tools_that_my_project_needs.3F

BR,

Jukka Zitting

Mime
View raw message