[Buildbot-commits] [Buildbot] #2545: dynamic buildsteps/buildstep detection

Buildbot trac trac at buildbot.net
Thu Aug 8 03:25:27 UTC 2013


#2545: dynamic buildsteps/buildstep detection
----------------------+------------------------
Reporter:  vlovich    |       Owner:
    Type:  undecided  |      Status:  new
Priority:  major      |   Milestone:  undecided
 Version:  0.8.7p1    |  Resolution:
Keywords:             |
----------------------+------------------------

Comment (by vlovich):

 A simple approach might be the original run.sh idea, except the buildslave
 will export an environment variable BUILDSLAVE_PIPE with an fd that it had
 opened before spawning the step.  BUILDSLAVE_PIPE is a simple-line
 oriented protocol where run.sh can write things like

 new_step="My Custom build step"
 log_file=<some path>
 step_started="Step name"
 step_finished=OK (or failed)

 Another alternative is for the buildslave to create a directory & export
 the path to it in BUILDSLAVE_STEPS or something like that.  The script
 could then create log files there <some description>.log, <some
 description>.started, <some description>.finished.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2545#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list